GET Attendants/{id}
Gets an attendant by it's ID, represented as AttendantDto.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the attendant. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The attendant data.
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": "0578dd0c-d079-4a77-bdb0-6749670578f3",
"IdNetwork": "c00c0b05-1919-4c0c-97c4-2d1ba2865db2",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "e5cd9c6e-b0ca-4b51-ba38-e8f0d2a457fa",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "e5cd9c6e-b0ca-4b51-ba38-e8f0d2a457fa",
"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>0578dd0c-d079-4a77-bdb0-6749670578f3</Id>
<IdNetwork>c00c0b05-1919-4c0c-97c4-2d1ba2865db2</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>e5cd9c6e-b0ca-4b51-ba38-e8f0d2a457fa</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>e5cd9c6e-b0ca-4b51-ba38-e8f0d2a457fa</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>