GET api/LogisticsCompany/GetChannels/{Id}?companyCode={companyCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
|
| Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseResultOfListOfChannel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | Collection of Channel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": [
{
"A4PrintCode": "sample string 1",
"A4PrintName": "sample string 2",
"CanPrint": false,
"Code": "sample string 3",
"MaxWeight": 4.1,
"Name": "sample string 5",
"PrintCode": "sample string 6",
"PrintName": "sample string 7",
"ProductType": 0,
"RealChannel": "sample string 8"
},
{
"A4PrintCode": "sample string 1",
"A4PrintName": "sample string 2",
"CanPrint": false,
"Code": "sample string 3",
"MaxWeight": 4.1,
"Name": "sample string 5",
"PrintCode": "sample string 6",
"PrintName": "sample string 7",
"ProductType": 0,
"RealChannel": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<ResponseResultOfArrayOfChannel4NsPrM7z xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MS.LPS.Model.Channel">
<d2p1:Channel>
<d2p1:A4PrintCode>sample string 1</d2p1:A4PrintCode>
<d2p1:A4PrintName>sample string 2</d2p1:A4PrintName>
<d2p1:Code>sample string 3</d2p1:Code>
<d2p1:MaxWeight>4.1</d2p1:MaxWeight>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:PrintCode>sample string 6</d2p1:PrintCode>
<d2p1:PrintName>sample string 7</d2p1:PrintName>
<d2p1:ProductType>None</d2p1:ProductType>
<d2p1:RealChannel>sample string 8</d2p1:RealChannel>
</d2p1:Channel>
<d2p1:Channel>
<d2p1:A4PrintCode>sample string 1</d2p1:A4PrintCode>
<d2p1:A4PrintName>sample string 2</d2p1:A4PrintName>
<d2p1:Code>sample string 3</d2p1:Code>
<d2p1:MaxWeight>4.1</d2p1:MaxWeight>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:PrintCode>sample string 6</d2p1:PrintCode>
<d2p1:PrintName>sample string 7</d2p1:PrintName>
<d2p1:ProductType>None</d2p1:ProductType>
<d2p1:RealChannel>sample string 8</d2p1:RealChannel>
</d2p1:Channel>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfArrayOfChannel4NsPrM7z>