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
SupplierPrimaryTransportCompanyName | 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": "CS7LB3Bt2kCjd+soNCK8rg==", "supplierIdentifierGuid": "07cb2e09-6d70-40da-a377-eb283422bcae", "transportCompanyGuid": "6ayPQoWnEUa3NK3qna+ggQ==", "transportCompanyIdentifierGuid": "428face9-a785-4611-b734-adea9dafa081", "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>CS7LB3Bt2kCjd+soNCK8rg==</SupplierGuid> <SupplierIdentifierGuid>07cb2e09-6d70-40da-a377-eb283422bcae</SupplierIdentifierGuid> <TransportCompanyGuid>6ayPQoWnEUa3NK3qna+ggQ==</TransportCompanyGuid> <TransportCompanyIdentifierGuid>428face9-a785-4611-b734-adea9dafa081</TransportCompanyIdentifierGuid> <TransportCompanyName>sample string 4</TransportCompanyName> </SupplierPrimaryTransportCompany>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.