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": "7ffc1965-1273-4c5c-8848-c3aaaf098e69",
"IdNetwork": "da62afdb-b705-45df-afe2-23e74e30837c",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "a1c489f4-ffa8-4deb-baf4-19ca4b04e252",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "a1c489f4-ffa8-4deb-baf4-19ca4b04e252",
"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>7ffc1965-1273-4c5c-8848-c3aaaf098e69</Id>
<IdNetwork>da62afdb-b705-45df-afe2-23e74e30837c</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>a1c489f4-ffa8-4deb-baf4-19ca4b04e252</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>a1c489f4-ffa8-4deb-baf4-19ca4b04e252</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": "f0b1bd34-54c7-48be-8202-d5a704f3e7b0",
"IdNetwork": "2ecdd00d-ae25-4e91-b9c2-7196ae1f91be",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "a2040fcf-f9d0-4099-b13c-3722e8d488f8",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "a2040fcf-f9d0-4099-b13c-3722e8d488f8",
"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>f0b1bd34-54c7-48be-8202-d5a704f3e7b0</Id>
<IdNetwork>2ecdd00d-ae25-4e91-b9c2-7196ae1f91be</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>a2040fcf-f9d0-4099-b13c-3722e8d488f8</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>a2040fcf-f9d0-4099-b13c-3722e8d488f8</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>