GET api/Forecast/GetSupportLogisticsForecastChannelsByCode?channelCode={channelCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| channelCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseResultOfListOfLogisticsForecastModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": [
{
"CompanyCode": "sample string 1",
"Channels": [
{
"ChannelCode": "sample string 1",
"ChannelName": "sample string 2",
"IsSupportLogisticsForecast": true,
"IsSupportSubmitLogisticsForecast": true,
"SupportSubmitLogisticsForecastSmtCode": "sample string 5"
},
{
"ChannelCode": "sample string 1",
"ChannelName": "sample string 2",
"IsSupportLogisticsForecast": true,
"IsSupportSubmitLogisticsForecast": true,
"SupportSubmitLogisticsForecastSmtCode": "sample string 5"
}
],
"IsSupportLogisticsForecast": true,
"IsSupportSubmitLogisticsForecast": true
},
{
"CompanyCode": "sample string 1",
"Channels": [
{
"ChannelCode": "sample string 1",
"ChannelName": "sample string 2",
"IsSupportLogisticsForecast": true,
"IsSupportSubmitLogisticsForecast": true,
"SupportSubmitLogisticsForecastSmtCode": "sample string 5"
},
{
"ChannelCode": "sample string 1",
"ChannelName": "sample string 2",
"IsSupportLogisticsForecast": true,
"IsSupportSubmitLogisticsForecast": true,
"SupportSubmitLogisticsForecastSmtCode": "sample string 5"
}
],
"IsSupportLogisticsForecast": true,
"IsSupportSubmitLogisticsForecast": true
}
]
}
application/xml, text/xml
Sample:
<ResponseResultOfArrayOfLogisticsForecastModelxFxt7IpK 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.LogisticsForecast">
<d2p1:LogisticsForecastModel>
<d2p1:Channels>
<d2p1:LogisticsForecastChannel>
<d2p1:ChannelCode>sample string 1</d2p1:ChannelCode>
<d2p1:ChannelName>sample string 2</d2p1:ChannelName>
<d2p1:IsSupportLogisticsForecast>true</d2p1:IsSupportLogisticsForecast>
<d2p1:IsSupportSubmitLogisticsForecast>true</d2p1:IsSupportSubmitLogisticsForecast>
<d2p1:SupportSubmitLogisticsForecastSmtCode>sample string 5</d2p1:SupportSubmitLogisticsForecastSmtCode>
</d2p1:LogisticsForecastChannel>
<d2p1:LogisticsForecastChannel>
<d2p1:ChannelCode>sample string 1</d2p1:ChannelCode>
<d2p1:ChannelName>sample string 2</d2p1:ChannelName>
<d2p1:IsSupportLogisticsForecast>true</d2p1:IsSupportLogisticsForecast>
<d2p1:IsSupportSubmitLogisticsForecast>true</d2p1:IsSupportSubmitLogisticsForecast>
<d2p1:SupportSubmitLogisticsForecastSmtCode>sample string 5</d2p1:SupportSubmitLogisticsForecastSmtCode>
</d2p1:LogisticsForecastChannel>
</d2p1:Channels>
<d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
<d2p1:IsSupportLogisticsForecast>true</d2p1:IsSupportLogisticsForecast>
<d2p1:IsSupportSubmitLogisticsForecast>true</d2p1:IsSupportSubmitLogisticsForecast>
</d2p1:LogisticsForecastModel>
<d2p1:LogisticsForecastModel>
<d2p1:Channels>
<d2p1:LogisticsForecastChannel>
<d2p1:ChannelCode>sample string 1</d2p1:ChannelCode>
<d2p1:ChannelName>sample string 2</d2p1:ChannelName>
<d2p1:IsSupportLogisticsForecast>true</d2p1:IsSupportLogisticsForecast>
<d2p1:IsSupportSubmitLogisticsForecast>true</d2p1:IsSupportSubmitLogisticsForecast>
<d2p1:SupportSubmitLogisticsForecastSmtCode>sample string 5</d2p1:SupportSubmitLogisticsForecastSmtCode>
</d2p1:LogisticsForecastChannel>
<d2p1:LogisticsForecastChannel>
<d2p1:ChannelCode>sample string 1</d2p1:ChannelCode>
<d2p1:ChannelName>sample string 2</d2p1:ChannelName>
<d2p1:IsSupportLogisticsForecast>true</d2p1:IsSupportLogisticsForecast>
<d2p1:IsSupportSubmitLogisticsForecast>true</d2p1:IsSupportSubmitLogisticsForecast>
<d2p1:SupportSubmitLogisticsForecastSmtCode>sample string 5</d2p1:SupportSubmitLogisticsForecastSmtCode>
</d2p1:LogisticsForecastChannel>
</d2p1:Channels>
<d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
<d2p1:IsSupportLogisticsForecast>true</d2p1:IsSupportLogisticsForecast>
<d2p1:IsSupportSubmitLogisticsForecast>true</d2p1:IsSupportSubmitLogisticsForecast>
</d2p1:LogisticsForecastModel>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfArrayOfLogisticsForecastModelxFxt7IpK>