POST api/supplier/{id}/transportCompanies
Save supplier transport companies
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Supplier identifier |
globally unique identifier |
Required |
Body Parameters
Supplier Transport Company model
SupplierPrimaryTransportCompany| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| SupplierGuid | Collection of byte |
None. |
|
| SupplierIdentifierGuid | globally unique identifier |
None. |
|
| TransportCompanyGuid | Collection of byte |
None. |
|
| TransportCompanyIdentifierGuid | globally unique identifier |
None. |
|
| StoreID | integer |
None. |
|
| StoreName | string |
None. |
|
| TransportCompanyName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"supplierGuid": "m6YjsTczBUyRIemT2HmLwQ==",
"supplierIdentifierGuid": "b123a69b-3337-4c05-9121-e993d8798bc1",
"transportCompanyGuid": "3v7Ma0J74kyEHLbRRwVvXA==",
"transportCompanyIdentifierGuid": "6bccfede-7b42-4ce2-841c-b6d147056f5c",
"storeID": 2,
"storeName": "sample string 3",
"transportCompanyName": "sample string 4"
}
application/xml, text/xml
Sample:
<SupplierPrimaryTransportCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Suppliers"> <ID>1</ID> <StoreID>2</StoreID> <StoreName>sample string 3</StoreName> <SupplierGuid>m6YjsTczBUyRIemT2HmLwQ==</SupplierGuid> <SupplierIdentifierGuid>b123a69b-3337-4c05-9121-e993d8798bc1</SupplierIdentifierGuid> <TransportCompanyGuid>3v7Ma0J74kyEHLbRRwVvXA==</TransportCompanyGuid> <TransportCompanyIdentifierGuid>6bccfede-7b42-4ce2-841c-b6d147056f5c</TransportCompanyIdentifierGuid> <TransportCompanyName>sample string 4</TransportCompanyName> </SupplierPrimaryTransportCompany>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.