POST api/Payment/CancelInvoice
Request Information
URI Parameters
None.
Body Parameters
CancelInvoiceRequestVMName | Description | Type | Additional information |
---|---|---|---|
InvoiceId | string |
Required |
|
ParentAccountId | string |
Required |
|
Reason | BillingInvoiceCancelledReason |
Required |
|
AdminUserId | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "InvoiceId": "sample string 1", "ParentAccountId": "sample string 2", "Reason": "AccountDeleted", "AdminUserId": "sample string 3" }
application/xml, text/xml
Sample:
<CancelInvoiceRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Payment.Models"> <AdminUserId>sample string 3</AdminUserId> <InvoiceId>sample string 1</InvoiceId> <ParentAccountId>sample string 2</ParentAccountId> <Reason>AccountDeleted</Reason> </CancelInvoiceRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.