POST api/material/materialmapping
Vendor Material mapping
Request Information
URI Parameters
None.
Body Parameters
mlVendorMaterialMapping| Name | description | Type | Additional information |
|---|---|---|---|
| VendorSysID | globally unique identifier |
None. |
|
| MaterialSysID | globally unique identifier |
None. |
|
| UnitSysID | globally unique identifier |
None. |
|
| Quantity | integer |
None. |
|
| Price | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"MaterialSysID": "b207e818-442b-4184-a169-6ea477feda60",
"Price": 5,
"Quantity": 4,
"UnitSysID": "839fda1a-72c6-4339-a041-e86fe52b5f4e",
"VendorSysID": "5a127813-f3f5-441c-afc7-50444ed85c9d"
}
application/xml, text/xml
Sample:
<mlVendorMaterialMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Material"> <MaterialSysID>b207e818-442b-4184-a169-6ea477feda60</MaterialSysID> <Price>5</Price> <Quantity>4</Quantity> <UnitSysID>839fda1a-72c6-4339-a041-e86fe52b5f4e</UnitSysID> <VendorSysID>5a127813-f3f5-441c-afc7-50444ed85c9d</VendorSysID> </mlVendorMaterialMapping>
response Information
Resource description
ApiResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
Required |
|
| failure | MlError |
None. |
|
| success | MlSuccess |
None. |