POST Attendants
Creates a new attendant.
Request Information
URI Parameters
None.
Body Parameters
The data of the attendant.
AttendantDtoName | 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": "cf8e497f-a62c-4e38-a8f2-d7d1d99e0111", "IdNetwork": "ac9c83f4-f503-466e-9947-bfa07d2b6919", "Code": "sample string 3", "Name": "sample string 4", "SitesList": [ { "Id": "5f9e2f94-8fd1-426e-af5a-d6ac0478eddd", "Code": "sample string 2", "Name": "sample string 3", "ShortName": "sample string 4" }, { "Id": "5f9e2f94-8fd1-426e-af5a-d6ac0478eddd", "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>cf8e497f-a62c-4e38-a8f2-d7d1d99e0111</Id> <IdNetwork>ac9c83f4-f503-466e-9947-bfa07d2b6919</IdNetwork> <Name>sample string 4</Name> <SitesList> <AttendantSiteDto> <Code>sample string 2</Code> <Id>5f9e2f94-8fd1-426e-af5a-d6ac0478eddd</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> <AttendantSiteDto> <Code>sample string 2</Code> <Id>5f9e2f94-8fd1-426e-af5a-d6ac0478eddd</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.
AttendantDtoName | 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": "4856a5a3-3269-4b5e-b144-bc200fe26bbf", "IdNetwork": "a9b62f2d-77f4-44cd-8d19-acfdf041fe89", "Code": "sample string 3", "Name": "sample string 4", "SitesList": [ { "Id": "57bb5916-671d-4489-ae5c-d5dce03f84f3", "Code": "sample string 2", "Name": "sample string 3", "ShortName": "sample string 4" }, { "Id": "57bb5916-671d-4489-ae5c-d5dce03f84f3", "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>4856a5a3-3269-4b5e-b144-bc200fe26bbf</Id> <IdNetwork>a9b62f2d-77f4-44cd-8d19-acfdf041fe89</IdNetwork> <Name>sample string 4</Name> <SitesList> <AttendantSiteDto> <Code>sample string 2</Code> <Id>57bb5916-671d-4489-ae5c-d5dce03f84f3</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> <AttendantSiteDto> <Code>sample string 2</Code> <Id>57bb5916-671d-4489-ae5c-d5dce03f84f3</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> </SitesList> </AttendantDto>