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": "67469122-7f3d-44ae-8fd2-7df611771b09",
"IdNetwork": "87d2a0f5-4d2b-41d7-8ac3-ed1137f1999c",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "1688f2b6-d3c4-43ed-914b-bd2674a133a2",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "1688f2b6-d3c4-43ed-914b-bd2674a133a2",
"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>67469122-7f3d-44ae-8fd2-7df611771b09</Id>
<IdNetwork>87d2a0f5-4d2b-41d7-8ac3-ed1137f1999c</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>1688f2b6-d3c4-43ed-914b-bd2674a133a2</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>1688f2b6-d3c4-43ed-914b-bd2674a133a2</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": "c902064c-b5a1-4ff1-a2ae-b17deb47c236",
"IdNetwork": "222aeeef-09b6-49ca-9e48-2c3d6dd835e3",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "ed62ed7d-aa77-40d1-afea-893c61759639",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "ed62ed7d-aa77-40d1-afea-893c61759639",
"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>c902064c-b5a1-4ff1-a2ae-b17deb47c236</Id>
<IdNetwork>222aeeef-09b6-49ca-9e48-2c3d6dd835e3</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>ed62ed7d-aa77-40d1-afea-893c61759639</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>ed62ed7d-aa77-40d1-afea-893c61759639</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>