POST api/ERPNextPurchaseOrder/UpdateChildPurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
UpdateChildPurchaseOrder| Name | 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": [
"4520c7fc-e99b-4a87-8d3e-5ad8f5475361",
"c298cba9-b1ff-4f7a-9df2-508f32a437a6"
],
"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>4520c7fc-e99b-4a87-8d3e-5ad8f5475361</d2p1:guid>
<d2p1:guid>c298cba9-b1ff-4f7a-9df2-508f32a437a6</d2p1:guid>
</ReferenceIds>
<UserId>3</UserId>
</UpdateChildPurchaseOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | 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": "2026/06/22 19:02:49",
"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>