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.
AttendantDtoName | 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": "1551f811-2eb6-4166-8905-82a796341055", "IdNetwork": "7c96ee62-be5b-4b81-af73-ed2d5d01f591", "Code": "sample string 3", "Name": "sample string 4", "SitesList": [ { "Id": "ed47e0dc-284d-4018-aa1e-cc6d8fa45170", "Code": "sample string 2", "Name": "sample string 3", "ShortName": "sample string 4" }, { "Id": "ed47e0dc-284d-4018-aa1e-cc6d8fa45170", "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>1551f811-2eb6-4166-8905-82a796341055</Id> <IdNetwork>7c96ee62-be5b-4b81-af73-ed2d5d01f591</IdNetwork> <Name>sample string 4</Name> <SitesList> <AttendantSiteDto> <Code>sample string 2</Code> <Id>ed47e0dc-284d-4018-aa1e-cc6d8fa45170</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> <AttendantSiteDto> <Code>sample string 2</Code> <Id>ed47e0dc-284d-4018-aa1e-cc6d8fa45170</Id> <Name>sample string 3</Name> <ShortName>sample string 4</ShortName> </AttendantSiteDto> </SitesList> </AttendantDto>