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": "749948ac-36cf-410c-9950-e6b0b5aa9fbf",
"IdNetwork": "5593a7d4-c1b4-44fb-960d-0458b2ad786d",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "3fe510af-fcdb-442c-a61b-2daee205f1ab",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "3fe510af-fcdb-442c-a61b-2daee205f1ab",
"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>749948ac-36cf-410c-9950-e6b0b5aa9fbf</Id>
<IdNetwork>5593a7d4-c1b4-44fb-960d-0458b2ad786d</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>3fe510af-fcdb-442c-a61b-2daee205f1ab</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>3fe510af-fcdb-442c-a61b-2daee205f1ab</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": "68b993a1-133c-49dc-b0b5-b0d7c8d9b72b",
"IdNetwork": "3aeb792b-d360-4204-b000-e8b8935b6bb6",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "07ae60b7-7247-448e-8837-2ceecf772071",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "07ae60b7-7247-448e-8837-2ceecf772071",
"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>68b993a1-133c-49dc-b0b5-b0d7c8d9b72b</Id>
<IdNetwork>3aeb792b-d360-4204-b000-e8b8935b6bb6</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>07ae60b7-7247-448e-8837-2ceecf772071</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>07ae60b7-7247-448e-8837-2ceecf772071</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>