POST api/ERPNextPurchaseOrder/CancelCloseChildPurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
CancelCloseChildPurchaseOrder| Name | Description | Type | Additional information | 
|---|---|---|---|
| ChildPONumber | string | None. | |
| Status | string | None. | |
| ModifiedBy | integer | None. | |
| BusinessId | integer | None. | |
| OrderId | integer | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "ChildPONumber": "sample string 1",
  "Status": "sample string 2",
  "ModifiedBy": 3,
  "BusinessId": 4,
  "OrderId": 5
}
        application/xml, text/xml
            Sample:
        <CancelCloseChildPurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ChildPONumber>sample string 1</ChildPONumber> <Status>sample string 2</Status> <ModifiedBy>3</ModifiedBy> <BusinessId>4</BusinessId> <OrderId>5</OrderId> </CancelCloseChildPurchaseOrder>
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/10/31 18:20:55",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>