GET channel-couriers/{channelCourierID}/service-codes
Get all service codes under this ChannelCourier
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
channelCourierID | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Get all service codes under this ChannelCourier
Collection of CourierServiceCodeDtoName | Description | Type | Additional information |
---|---|---|---|
AccountSpecificCourierServiceID | integer | None. | |
CourierServiceCodeTypeID | integer | None. | |
CourierServiceCodeID | integer | None. | |
Text | string | None. | |
Value | string | None. | |
ShowImage | boolean | None. | |
ImageURL | string | None. | |
Code | string | None. | |
IsReturnService | boolean | None. |
Response Formats
application/json, text/json
Sample:
[ { "AccountSpecificCourierServiceID": 1, "CourierServiceCodeTypeID": 1, "CourierServiceCodeID": 2, "Text": "sample string 3", "Value": "sample string 4", "ShowImage": true, "ImageURL": "sample string 5", "Code": "sample string 6", "IsReturnService": true }, { "AccountSpecificCourierServiceID": 1, "CourierServiceCodeTypeID": 1, "CourierServiceCodeID": 2, "Text": "sample string 3", "Value": "sample string 4", "ShowImage": true, "ImageURL": "sample string 5", "Code": "sample string 6", "IsReturnService": true } ]
application/xml, text/xml
Sample:
<ArrayOfCourierServiceCodeDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CourierServiceCodeDto> <AccountSpecificCourierServiceId>1</AccountSpecificCourierServiceId> <CourierServiceCodeTypeId>1</CourierServiceCodeTypeId> <CourierServiceCodeId>2</CourierServiceCodeId> <Text>sample string 3</Text> <Value>sample string 4</Value> <ShowImage>true</ShowImage> <ImageUrl>sample string 5</ImageUrl> <Code>sample string 6</Code> <IsReturnService>true</IsReturnService> </CourierServiceCodeDto> <CourierServiceCodeDto> <AccountSpecificCourierServiceId>1</AccountSpecificCourierServiceId> <CourierServiceCodeTypeId>1</CourierServiceCodeTypeId> <CourierServiceCodeId>2</CourierServiceCodeId> <Text>sample string 3</Text> <Value>sample string 4</Value> <ShowImage>true</ShowImage> <ImageUrl>sample string 5</ImageUrl> <Code>sample string 6</Code> <IsReturnService>true</IsReturnService> </CourierServiceCodeDto> </ArrayOfCourierServiceCodeDto>