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": [ "942524e1-6158-4583-837f-e488abaef1b2", "4d5fd659-f113-403b-a7a8-d5007f0e1d13" ], "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>942524e1-6158-4583-837f-e488abaef1b2</d2p1:guid> <d2p1:guid>4d5fd659-f113-403b-a7a8-d5007f0e1d13</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/07/11 22:54:42", "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>