GET api/SeaPorts/GetByID?Id={Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SeaPorts| Name | Description | Type | Additional information |
|---|---|---|---|
| PostState | boolean |
None. |
|
| EntryDate | date |
None. |
|
| ModifyDate | date |
None. |
|
| PostDate | date |
None. |
|
| CompanyId | integer |
None. |
|
| CountryId | integer |
None. |
|
| EntryUser | integer |
None. |
|
| Id | integer |
None. |
|
| ModifyUser | integer |
None. |
|
| OrganizationId | integer |
None. |
|
| PostUser | integer |
None. |
|
| PortName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PostState": true,
"EntryDate": "2025-10-29T13:18:06.041314+05:00",
"ModifyDate": "2025-10-29T13:18:06.041314+05:00",
"PostDate": "2025-10-29T13:18:06.041314+05:00",
"CompanyId": 5,
"CountryId": 6,
"EntryUser": 7,
"Id": 8,
"ModifyUser": 9,
"OrganizationId": 10,
"PostUser": 11,
"PortName": "sample string 12"
}
application/xml, text/xml
Sample:
<SeaPorts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory"> <CompanyId>5</CompanyId> <CountryId>6</CountryId> <EntryDate>2025-10-29T13:18:06.041314+05:00</EntryDate> <EntryUser>7</EntryUser> <Id>8</Id> <ModifyDate>2025-10-29T13:18:06.041314+05:00</ModifyDate> <ModifyUser>9</ModifyUser> <OrganizationId>10</OrganizationId> <PortName>sample string 12</PortName> <PostDate>2025-10-29T13:18:06.041314+05:00</PostDate> <PostState>true</PostState> <PostUser>11</PostUser> </SeaPorts>