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": [
"35d08fee-0a62-4639-93fd-1812dbd8d1b4",
"ef915b1b-bc6a-4525-8999-848e03360c08"
],
"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>35d08fee-0a62-4639-93fd-1812dbd8d1b4</d2p1:guid>
<d2p1:guid>ef915b1b-bc6a-4525-8999-848e03360c08</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": "2025/11/03 16:00:30",
"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>