POST api/CreateInvoice
Request Information
URI Parameters
None.
Body Parameters
RequestCreateInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
None. |
|
| HeaderName | string |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| IsUserID | boolean |
None. |
|
| IsHeaderName | boolean |
None. |
|
| InvoiceName | string |
None. |
|
| InvoiceType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"HeaderName": "sample string 2",
"Month": 1,
"Year": 1,
"IsUserID": true,
"IsHeaderName": true,
"InvoiceName": "sample string 5",
"InvoiceType": "sample string 6"
}
application/xml, text/xml
Sample:
<RequestCreateInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMS.Controllers.InvoiceTracking"> <HeaderName>sample string 2</HeaderName> <InvoiceName>sample string 5</InvoiceName> <InvoiceType>sample string 6</InvoiceType> <IsHeaderName>true</IsHeaderName> <IsUserID>true</IsUserID> <Month>1</Month> <UserID>sample string 1</UserID> <Year>1</Year> </RequestCreateInvoice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultCreateInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | string |
None. |
|
| ResultDesc | string |
None. |
|
| TotalHeader | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": "sample string 1",
"ResultDesc": "sample string 2",
"TotalHeader": 3
}
application/xml, text/xml
Sample:
<ResultCreateInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMS.Controllers.InvoiceTracking"> <ResultCode>sample string 1</ResultCode> <ResultDesc>sample string 2</ResultDesc> <TotalHeader>3</TotalHeader> </ResultCreateInvoice>