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": "9ebc0399-ee62-499a-87bf-2bae2f4e4e97",
"IdNetwork": "9114441c-b471-41d9-aef6-75d2f96f9944",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "8f4bc5a2-dc58-40f5-8a81-e8980832f2dc",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "8f4bc5a2-dc58-40f5-8a81-e8980832f2dc",
"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>9ebc0399-ee62-499a-87bf-2bae2f4e4e97</Id>
<IdNetwork>9114441c-b471-41d9-aef6-75d2f96f9944</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>8f4bc5a2-dc58-40f5-8a81-e8980832f2dc</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>8f4bc5a2-dc58-40f5-8a81-e8980832f2dc</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": "fbae1011-d83c-43cf-a492-878fd7f0e164",
"IdNetwork": "96747472-8789-4809-8e8a-eda3e25ae237",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "7454d807-4dda-4b58-a578-3dfe87a014f9",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "7454d807-4dda-4b58-a578-3dfe87a014f9",
"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>fbae1011-d83c-43cf-a492-878fd7f0e164</Id>
<IdNetwork>96747472-8789-4809-8e8a-eda3e25ae237</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>7454d807-4dda-4b58-a578-3dfe87a014f9</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>7454d807-4dda-4b58-a578-3dfe87a014f9</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>