POST api/ERPNextPurchaseOrder/UpdateChildPurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
UpdateChildPurchaseOrderName | Description | Type | Additional information |
---|---|---|---|
OrderId | integer |
None. |
|
ReferenceIds | Collection of globally unique identifier |
None. |
|
PONumber | string |
None. |
|
UserId | integer |
None. |
|
BusinessId | integer |
None. |
|
PaymentTermsTemplate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderId": 1, "ReferenceIds": [ "c12d4d75-7e0d-4a17-9439-7a0b93a81dbc", "9cc4d4e5-1767-4710-bcda-80ca3eef0099" ], "PONumber": "sample string 2", "UserId": 3, "BusinessId": 4, "PaymentTermsTemplate": "sample string 5" }
application/xml, text/xml
Sample:
<UpdateChildPurchaseOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessId>4</BusinessId> <OrderId>1</OrderId> <PONumber>sample string 2</PONumber> <PaymentTermsTemplate>sample string 5</PaymentTermsTemplate> <ReferenceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>c12d4d75-7e0d-4a17-9439-7a0b93a81dbc</d2p1:guid> <d2p1:guid>9cc4d4e5-1767-4710-bcda-80ca3eef0099</d2p1:guid> </ReferenceIds> <UserId>3</UserId> </UpdateChildPurchaseOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/05/02 19:42:11", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>