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": "4104d96c-1b05-4121-b471-0c35a3aa9c09",
"Price": 5,
"Quantity": 4,
"UnitSysID": "b7d26c99-aab7-4a2e-b88f-3fc456c60215",
"VendorSysID": "4fbc2223-dff5-4249-a90e-ab6f0e46f624"
}
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>4104d96c-1b05-4121-b471-0c35a3aa9c09</MaterialSysID> <Price>5</Price> <Quantity>4</Quantity> <UnitSysID>b7d26c99-aab7-4a2e-b88f-3fc456c60215</UnitSysID> <VendorSysID>4fbc2223-dff5-4249-a90e-ab6f0e46f624</VendorSysID> </mlVendorMaterialMapping>
response Information
Resource description
ApiResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
Required |
|
| failure | MlError |
None. |
|
| success | MlSuccess |
None. |