GET api/utlAirportCode/{id}
Return a single value from the AirportCodes table using the primary key as ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The AirportCodes Primary Key. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
utlAirportCodeDb| Name | Description | Type | Additional information |
|---|---|---|---|
| AirportID | integer |
None. |
|
| AirportCode | string |
Required Max length: 3 |
|
| City | string |
Required Max length: 50 |
|
| StateProvinceCode | string |
Max length: 2 |
|
| CountryCode | string |
Required Max length: 3 |
|
| IsActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| CSC | string |
None. |
|
| results | Collection of ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"results": null,
"AirportID": 1,
"AirportCode": "sample string 2",
"City": "sample string 3",
"StateProvinceCode": "sample string 4",
"CountryCode": "sample string 5",
"IsActive": true,
"CreatedBy": 7,
"CreatedDate": "2025-12-06T23:39:19.8190723+00:00",
"UpdatedBy": 9,
"UpdatedDate": "2025-12-06T23:39:19.8190723+00:00",
"CSC": "sample string 11"
}
application/xml, text/xml
Sample:
<utlAirportCodeDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
<AirportCode>sample string 2</AirportCode>
<AirportID>1</AirportID>
<CSC>sample string 11</CSC>
<City>sample string 3</City>
<CountryCode>sample string 5</CountryCode>
<CreatedBy>7</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:39:19.8190723Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<IsActive>true</IsActive>
<StateProvinceCode>sample string 4</StateProvinceCode>
<UpdatedBy>9</UpdatedBy>
<UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:39:19.8190723Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</UpdatedDate>
</utlAirportCodeDb>