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": "221a0dcf-4db4-4a79-a030-16ea774f304d",
"IdNetwork": "537462fb-7bdc-48d4-8d8d-ccf45b991125",
"Code": "sample string 3",
"Name": "sample string 4",
"SitesList": [
{
"Id": "f70be175-9538-43d3-8f89-95b13713e480",
"Code": "sample string 2",
"Name": "sample string 3",
"ShortName": "sample string 4"
},
{
"Id": "f70be175-9538-43d3-8f89-95b13713e480",
"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>221a0dcf-4db4-4a79-a030-16ea774f304d</Id>
<IdNetwork>537462fb-7bdc-48d4-8d8d-ccf45b991125</IdNetwork>
<Name>sample string 4</Name>
<SitesList>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>f70be175-9538-43d3-8f89-95b13713e480</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
<AttendantSiteDto>
<Code>sample string 2</Code>
<Id>f70be175-9538-43d3-8f89-95b13713e480</Id>
<Name>sample string 3</Name>
<ShortName>sample string 4</ShortName>
</AttendantSiteDto>
</SitesList>
</AttendantDto>