GET api/travel/day/authorizedadult/{id}
Retrieves a specific authorized adult by its unique identifier. Authorized adults are persons authorized to pick up or drop off children at bus stops.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the authorized adult to retrieve. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns HTTP 200 (OK) with the AuthorizedAdult object.
AuthorizedAdult| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| LastName | string |
None. |
|
| FirstName | string |
None. |
|
| NickName | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| DOB | date |
None. |
|
| Gender | Gender |
None. |
|
| AvatarFileName | string |
None. |
|
| Notes | string |
None. |
|
| ReleaseCode | string |
None. |
|
| ChildIDList | Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"LastName": "sample string 2",
"FirstName": "sample string 3",
"NickName": "sample string 4",
"Email": "sample string 5",
"Phone": "sample string 6",
"DOB": "2026-09-08T15:29:16.9427419-06:00",
"Gender": 0,
"AvatarFileName": "sample string 7",
"Notes": "sample string 8",
"ReleaseCode": "sample string 9",
"ChildIDList": [
1,
2
]
}
application/javascript
Sample:
{"ID":1,"LastName":"sample string 2","FirstName":"sample string 3","NickName":"sample string 4","Email":"sample string 5","Phone":"sample string 6","DOB":"2026-09-08T15:29:16.9427419-06:00","Gender":0,"AvatarFileName":"sample string 7","Notes":"sample string 8","ReleaseCode":"sample string 9","ChildIDList":[1,2]}
application/xml, text/xml
Sample:
<AuthorizedAdult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID>1</ID>
<LastName>sample string 2</LastName>
<FirstName>sample string 3</FirstName>
<NickName>sample string 4</NickName>
<Email>sample string 5</Email>
<Phone>sample string 6</Phone>
<DOB>2026-09-08T15:29:16.9427419-06:00</DOB>
<Gender>Female</Gender>
<AvatarFileName>sample string 7</AvatarFileName>
<Notes>sample string 8</Notes>
<ReleaseCode>sample string 9</ReleaseCode>
<ChildIDList>
<int>1</int>
<int>2</int>
</ChildIDList>
</AuthorizedAdult>