POST api/SDKLogisticsCompany/AddPlatformLogistics
Request Information
URI Parameters
None.
Body Parameters
AddPlatformLogisticsReq| Name | Description | Type | Additional information |
|---|---|---|---|
| PlatformType | PlatformType |
None. |
|
| shopAccount | string |
None. |
|
| ShippingProviderId | string |
None. |
|
| ShippingProviderName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PlatformType": 0,
"shopAccount": "sample string 1",
"ShippingProviderId": "sample string 2",
"ShippingProviderName": "sample string 3"
}
application/xml, text/xml
Sample:
<AddPlatformLogisticsReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.LPS.Model.Logistics"> <PlatformType>AliExpress</PlatformType> <ShippingProviderId>sample string 2</ShippingProviderId> <ShippingProviderName>sample string 3</ShippingProviderName> <shopAccount>sample string 1</shopAccount> </AddPlatformLogisticsReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": true
}
application/xml, text/xml
Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common"> <Data>true</Data> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <Status>true</Status> </ResponseResultOfboolean>