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": "ce237024-db57-4251-97bb-578dede38388",
"IdNetwork": "72a82ed5-7acc-44ad-8504-5f7e9bb2c858",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "16ff0d15-3424-4272-81f0-6b9bddec94ce",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "16ff0d15-3424-4272-81f0-6b9bddec94ce",
"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>ce237024-db57-4251-97bb-578dede38388</Id>
<IdNetwork>72a82ed5-7acc-44ad-8504-5f7e9bb2c858</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>16ff0d15-3424-4272-81f0-6b9bddec94ce</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>16ff0d15-3424-4272-81f0-6b9bddec94ce</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": "1db56e93-6fdb-4763-a95b-1d8f99082aa1",
"IdNetwork": "78094039-1287-46bd-8819-3ce0e95d0689",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "f55df18b-4cf3-4484-8cf6-d77d7a4d0c8e",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "f55df18b-4cf3-4484-8cf6-d77d7a4d0c8e",
"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>1db56e93-6fdb-4763-a95b-1d8f99082aa1</Id>
<IdNetwork>78094039-1287-46bd-8819-3ce0e95d0689</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>f55df18b-4cf3-4484-8cf6-d77d7a4d0c8e</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>f55df18b-4cf3-4484-8cf6-d77d7a4d0c8e</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>