POST Attendants
Creates a new attendant.
Request Information
URI Parameters
None.
Body Parameters
The data of the attendant.
AttendantDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdNetwork | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| SitesList | Collection of AttendantSiteDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b72f1761-987f-4828-aeae-fbe68803dd64",
"IdNetwork": "0876e487-cfe0-44fe-83a7-bb5c8554b6a3",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "4be24041-e681-4cbd-b1be-9d202658dc81",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "4be24041-e681-4cbd-b1be-9d202658dc81",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<AttendantDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<Code>sample string 3</Code>
<Id>b72f1761-987f-4828-aeae-fbe68803dd64</Id>
<IdNetwork>0876e487-cfe0-44fe-83a7-bb5c8554b6a3</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>4be24041-e681-4cbd-b1be-9d202658dc81</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>4be24041-e681-4cbd-b1be-9d202658dc81</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the attendant as Attendant and the link to the attendant.
AttendantDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdNetwork | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| SitesList | Collection of AttendantSiteDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "20a0e9e5-4ba3-402f-9de7-607a9d07d4fd",
"IdNetwork": "cef86d6b-329a-48bf-b52e-7a9b4e58b6af",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "6a97f8a7-8cc1-4e18-a3ee-5af65d83840e",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "6a97f8a7-8cc1-4e18-a3ee-5af65d83840e",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<AttendantDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<Code>sample string 3</Code>
<Id>20a0e9e5-4ba3-402f-9de7-607a9d07d4fd</Id>
<IdNetwork>cef86d6b-329a-48bf-b52e-7a9b4e58b6af</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>6a97f8a7-8cc1-4e18-a3ee-5af65d83840e</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>6a97f8a7-8cc1-4e18-a3ee-5af65d83840e</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>