DELETE api/customers/accountsreceivable?customerNumber={customerNumber}

Deletes customer accounts receivable

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerNumber

Customer number of the customer where customer accounts receivable will be deleted

integer

Required

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

CustomerAccountsReceivableDeleteResponse
NameDescriptionTypeAdditional information
Success

Returns true if customer accounts receivable is deleted

boolean

None.

Errors

List of errors when deleting an customer accounts receivable

Collection of DeleteCustomerAccountsReceivableError

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Errors": [
    {
      "ErrorCode": 1,
      "ErrorMessage": "sample string 1"
    },
    {
      "ErrorCode": 1,
      "ErrorMessage": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerAccountsReceivableDeleteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
  <Errors>
    <DeleteCustomerAccountsReceivableError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </DeleteCustomerAccountsReceivableError>
    <DeleteCustomerAccountsReceivableError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </DeleteCustomerAccountsReceivableError>
  </Errors>
  <Success>true</Success>
</CustomerAccountsReceivableDeleteResponse>