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": "7fd0d8a4-fcf2-4370-b06b-6d82c57e13ae",
"IdNetwork": "42032ebb-7bcc-44f9-91a3-fc5228cc1312",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "6b81ba38-e92d-4383-a0c9-93cabf4cb1a0",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "6b81ba38-e92d-4383-a0c9-93cabf4cb1a0",
"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>7fd0d8a4-fcf2-4370-b06b-6d82c57e13ae</Id>
<IdNetwork>42032ebb-7bcc-44f9-91a3-fc5228cc1312</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>6b81ba38-e92d-4383-a0c9-93cabf4cb1a0</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>6b81ba38-e92d-4383-a0c9-93cabf4cb1a0</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": "14d96671-db59-4329-90bc-b4959f29e7a8",
"IdNetwork": "8f2566f0-cb40-4fc0-b325-b4a1955049d5",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "c724b9e9-30bf-4ca0-a7a3-be4a4dbea9bb",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "c724b9e9-30bf-4ca0-a7a3-be4a4dbea9bb",
"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>14d96671-db59-4329-90bc-b4959f29e7a8</Id>
<IdNetwork>8f2566f0-cb40-4fc0-b325-b4a1955049d5</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>c724b9e9-30bf-4ca0-a7a3-be4a4dbea9bb</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>c724b9e9-30bf-4ca0-a7a3-be4a4dbea9bb</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>