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": "f7461d02-87ea-4253-8202-96a2b98f2199",
"IdNetwork": "3058cfab-a284-4995-b24a-0a897f198a1f",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "7a27ec7f-96b2-4367-9304-2f5ebf4e89ff",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "7a27ec7f-96b2-4367-9304-2f5ebf4e89ff",
"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>f7461d02-87ea-4253-8202-96a2b98f2199</Id>
<IdNetwork>3058cfab-a284-4995-b24a-0a897f198a1f</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>7a27ec7f-96b2-4367-9304-2f5ebf4e89ff</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>7a27ec7f-96b2-4367-9304-2f5ebf4e89ff</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>