POST api/material/approvepurchasebatch
To Approve Purchase Request Batch
Request Information
URI Parameters
None.
Body Parameters
mlApprovePurchaseRequest| Name | description | Type | Additional information |
|---|---|---|---|
| ProjectSysID | globally unique identifier |
None. |
|
| RequestDetails | Collection of mlApprovePurchaseRequestDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjectSysID": "96d200de-ff27-4b6c-aa39-01775a7f924a",
"RequestDetails": [
{
"MaterialMappingSysID": "4cd5462b-02ef-4d38-8d75-3817301cfca0",
"OrderTransSysID": "314ca7df-1cc1-408d-8ca4-ae3b435efe20",
"Quantity": 3
},
{
"MaterialMappingSysID": "4cd5462b-02ef-4d38-8d75-3817301cfca0",
"OrderTransSysID": "314ca7df-1cc1-408d-8ca4-ae3b435efe20",
"Quantity": 3
}
]
}
application/xml, text/xml
Sample:
<mlApprovePurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Material">
<ProjectSysID>96d200de-ff27-4b6c-aa39-01775a7f924a</ProjectSysID>
<RequestDetails>
<mlApprovePurchaseRequestDetails>
<MaterialMappingSysID>4cd5462b-02ef-4d38-8d75-3817301cfca0</MaterialMappingSysID>
<OrderTransSysID>314ca7df-1cc1-408d-8ca4-ae3b435efe20</OrderTransSysID>
<Quantity>3</Quantity>
</mlApprovePurchaseRequestDetails>
<mlApprovePurchaseRequestDetails>
<MaterialMappingSysID>4cd5462b-02ef-4d38-8d75-3817301cfca0</MaterialMappingSysID>
<OrderTransSysID>314ca7df-1cc1-408d-8ca4-ae3b435efe20</OrderTransSysID>
<Quantity>3</Quantity>
</mlApprovePurchaseRequestDetails>
</RequestDetails>
</mlApprovePurchaseRequest>
response Information
Resource description
ApiResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
Required |
|
| failure | MlError |
None. |
|
| success | MlSuccess |
None. |