POST api/v1/purchaseorder/changepurchaseorderaction
Change the action of a purchase order
Request Information
URI Parameters
None.
Body Parameters
ChangePurchaseOrderActionParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| IdentifierV1 | PurchaseOrderIdentifierV1 |
None. |
|
| NewPurchaseOrderActionName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdentifierV1": null,
"NewPurchaseOrderActionName": "sample string 1"
}
application/xml, text/xml
Sample:
<ChangePurchaseOrderActionParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://promotionaloffice.promidata.com/2012/08/08"> <IdentifierV1 i:nil="true" /> <NewPurchaseOrderActionName>sample string 1</NewPurchaseOrderActionName> </ChangePurchaseOrderActionParameter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ChangePurchaseOrderActionResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IdentifierV1 | PurchaseOrderIdentifierV1 |
None. |
|
| Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdentifierV1": null,
"Error": "sample string 1"
}
application/xml, text/xml
Sample:
<ChangePurchaseOrderActionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://promotionaloffice.promidata.com/2012/08/08"> <Error>sample string 1</Error> <IdentifierV1 i:nil="true" /> </ChangePurchaseOrderActionResult>