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": [ "f109f7fc-6df7-49ec-a877-0f6aa5e5adc9", "56e2b601-bbc3-4738-917f-2d382e5a61ac" ], "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>f109f7fc-6df7-49ec-a877-0f6aa5e5adc9</d2p1:guid> <d2p1:guid>56e2b601-bbc3-4738-917f-2d382e5a61ac</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/06/25 20:16: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>