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": "g64TbYuM20CD0h1z2vGdOQ==", "supplierIdentifierGuid": "6d13ae83-8c8b-40db-83d2-1d73daf19d39", "transportCompanyGuid": "iUrnCKw/50i1Bp1UpHZsbg==", "transportCompanyIdentifierGuid": "08e74a89-3fac-48e7-b506-9d54a4766c6e", "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>g64TbYuM20CD0h1z2vGdOQ==</SupplierGuid> <SupplierIdentifierGuid>6d13ae83-8c8b-40db-83d2-1d73daf19d39</SupplierIdentifierGuid> <TransportCompanyGuid>iUrnCKw/50i1Bp1UpHZsbg==</TransportCompanyGuid> <TransportCompanyIdentifierGuid>08e74a89-3fac-48e7-b506-9d54a4766c6e</TransportCompanyIdentifierGuid> <TransportCompanyName>sample string 4</TransportCompanyName> </SupplierPrimaryTransportCompany>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.