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": "b1ad0e83-b36f-4480-b3bf-1225b0cb6be2",
"Price": 5,
"Quantity": 4,
"UnitSysID": "d1e53ab1-68d3-4f6e-b8d7-59541e28d190",
"VendorSysID": "1a1d8984-c55b-47b9-96fc-d961f3f1e775"
}
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>b1ad0e83-b36f-4480-b3bf-1225b0cb6be2</MaterialSysID> <Price>5</Price> <Quantity>4</Quantity> <UnitSysID>d1e53ab1-68d3-4f6e-b8d7-59541e28d190</UnitSysID> <VendorSysID>1a1d8984-c55b-47b9-96fc-d961f3f1e775</VendorSysID> </mlVendorMaterialMapping>
response Information
Resource description
ApiResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
Required |
|
| failure | MlError |
None. |
|
| success | MlSuccess |
None. |