GET api/CourierService/{auth}/{CourierID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| auth | string |
Required |
|
| CourierID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CourierServiceResp| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| Services | Collection of CourierServiceItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"ErrorMessage": "sample string 2",
"Services": [
{
"CourierServiceID": 1,
"CourierID": 2,
"ServiceCode": "sample string 3",
"Name": "sample string 4",
"Description": "sample string 5",
"IsDefault": true,
"InsertUserID": 7,
"InsertDateTime": "2025-10-24T22:46:02.6567188+00:00",
"DeletedUserID": 1,
"DeletedDateTime": "2025-10-24T22:46:02.6567188+00:00",
"AlwaysAvailable": true
},
{
"CourierServiceID": 1,
"CourierID": 2,
"ServiceCode": "sample string 3",
"Name": "sample string 4",
"Description": "sample string 5",
"IsDefault": true,
"InsertUserID": 7,
"InsertDateTime": "2025-10-24T22:46:02.6567188+00:00",
"DeletedUserID": 1,
"DeletedDateTime": "2025-10-24T22:46:02.6567188+00:00",
"AlwaysAvailable": true
}
]
}
application/xml, text/xml
Sample:
<CourierServiceResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
<ErrorMessage>sample string 2</ErrorMessage>
<IsSuccessful>true</IsSuccessful>
<Services>
<CourierServiceItem>
<AlwaysAvailable>true</AlwaysAvailable>
<CourierID>2</CourierID>
<CourierServiceID>1</CourierServiceID>
<DeletedDateTime>2025-10-24T22:46:02.6567188+00:00</DeletedDateTime>
<DeletedUserID>1</DeletedUserID>
<Description>sample string 5</Description>
<InsertDateTime>2025-10-24T22:46:02.6567188+00:00</InsertDateTime>
<InsertUserID>7</InsertUserID>
<IsDefault>true</IsDefault>
<Name>sample string 4</Name>
<ServiceCode>sample string 3</ServiceCode>
</CourierServiceItem>
<CourierServiceItem>
<AlwaysAvailable>true</AlwaysAvailable>
<CourierID>2</CourierID>
<CourierServiceID>1</CourierServiceID>
<DeletedDateTime>2025-10-24T22:46:02.6567188+00:00</DeletedDateTime>
<DeletedUserID>1</DeletedUserID>
<Description>sample string 5</Description>
<InsertDateTime>2025-10-24T22:46:02.6567188+00:00</InsertDateTime>
<InsertUserID>7</InsertUserID>
<IsDefault>true</IsDefault>
<Name>sample string 4</Name>
<ServiceCode>sample string 3</ServiceCode>
</CourierServiceItem>
</Services>
</CourierServiceResp>