POST api/SDKLogisticsCompany/SaveAuthCofig
Request Information
URI Parameters
None.
Body Parameters
SubAuthCofigModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyCode | string |
None. |
|
| AccountName | string |
None. |
|
| Id | integer |
None. |
|
| Configs | Collection of ConfigInfoModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyCode": "sample string 1",
"AccountName": "sample string 2",
"Id": 3,
"Configs": [
{
"ConfigValue": "sample string 1",
"Identity": "sample string 2"
},
{
"ConfigValue": "sample string 1",
"Identity": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<SubAuthCofigModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.LPS.Model">
<AccountName>sample string 2</AccountName>
<CompanyCode>sample string 1</CompanyCode>
<Configs>
<ConfigInfoModel>
<ConfigValue>sample string 1</ConfigValue>
<Identity>sample string 2</Identity>
</ConfigInfoModel>
<ConfigInfoModel>
<ConfigValue>sample string 1</ConfigValue>
<Identity>sample string 2</Identity>
</ConfigInfoModel>
</Configs>
<Id>3</Id>
</SubAuthCofigModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfInt64| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": 4
}
application/xml, text/xml
Sample:
<ResponseResultOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common"> <Data>4</Data> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <Status>true</Status> </ResponseResultOflong>