POST api/Invoice/CanceledTransInvoice
Request Information
URI Parameters
None.
Body Parameters
PostTrnsInvApprovals| Name | Description | Type | Additional information |
|---|---|---|---|
| INV_ID | integer |
None. |
|
| IN_CP_ID | integer |
None. |
|
| IN_PROGRAM_ID | string |
None. |
|
| IN_CREATED_BY | integer |
None. |
|
| IN_STATUS | string |
None. |
|
| IN_REJECT_REASON | string |
None. |
|
| DOC_NUMBER | string |
None. |
|
| IN_TYPE | string |
None. |
|
| IN_DOCUMENT_NUMBER | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"INV_ID": 1,
"IN_CP_ID": 1,
"IN_PROGRAM_ID": "sample string 1",
"IN_CREATED_BY": 1,
"IN_STATUS": "sample string 2",
"IN_REJECT_REASON": "sample string 3",
"DOC_NUMBER": "sample string 4",
"IN_TYPE": "sample string 5",
"IN_DOCUMENT_NUMBER": "sample string 6"
}
application/xml, text/xml
Sample:
<PostTrnsInvApprovals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <DOC_NUMBER>sample string 4</DOC_NUMBER> <INV_ID>1</INV_ID> <IN_CP_ID>1</IN_CP_ID> <IN_CREATED_BY>1</IN_CREATED_BY> <IN_DOCUMENT_NUMBER>sample string 6</IN_DOCUMENT_NUMBER> <IN_PROGRAM_ID>sample string 1</IN_PROGRAM_ID> <IN_REJECT_REASON>sample string 3</IN_REJECT_REASON> <IN_STATUS>sample string 2</IN_STATUS> <IN_TYPE>sample string 5</IN_TYPE> </PostTrnsInvApprovals>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |