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": "52fa0f1a-eb33-476c-af2f-7bc4408ca9f4", "IdNetwork": "5eea6932-9233-49c7-8383-5130abf2c5fa", "Code": "sample string 3", "Name": "sample string 4", "SitesList": [ { "Id": "983dc550-bdf9-4697-b7b2-f06de9a1f49e", "Code": "sample string 2", "Name": "sample string 3", "ShortName": "sample string 4" }, { "Id": "983dc550-bdf9-4697-b7b2-f06de9a1f49e", "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>52fa0f1a-eb33-476c-af2f-7bc4408ca9f4</Id> <IdNetwork>5eea6932-9233-49c7-8383-5130abf2c5fa</IdNetwork> <Name>sample string 4</Name> <SitesList> <AttendantSiteDto> <Code>sample string 2</Code> <Id>983dc550-bdf9-4697-b7b2-f06de9a1f49e</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> <AttendantSiteDto> <Code>sample string 2</Code> <Id>983dc550-bdf9-4697-b7b2-f06de9a1f49e</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": "ac99e19c-1ca5-4f29-b188-36cb0f0b314d", "IdNetwork": "26b5b995-17d4-4682-b0f3-28662d140f4b", "Code": "sample string 3", "Name": "sample string 4", "SitesList": [ { "Id": "9d353c35-2ca7-4248-9ecf-e41413f96237", "Code": "sample string 2", "Name": "sample string 3", "ShortName": "sample string 4" }, { "Id": "9d353c35-2ca7-4248-9ecf-e41413f96237", "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>ac99e19c-1ca5-4f29-b188-36cb0f0b314d</Id> <IdNetwork>26b5b995-17d4-4682-b0f3-28662d140f4b</IdNetwork> <Name>sample string 4</Name> <SitesList> <AttendantSiteDto> <Code>sample string 2</Code> <Id>9d353c35-2ca7-4248-9ecf-e41413f96237</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> <AttendantSiteDto> <Code>sample string 2</Code> <Id>9d353c35-2ca7-4248-9ecf-e41413f96237</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> </SitesList> </AttendantDto>