POST api/Invoice/GenerateInvoice
Request Information
URI Parameters
None.
Body Parameters
Invoice| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceID | integer |
None. |
|
| InvoiceNo | integer |
None. |
|
| MobileID | string |
None. |
|
| SignaturePath | string |
None. |
|
| CompanyLogoPath | string |
None. |
|
| ClientDB | string |
None. |
|
| ClientID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvoiceID": 1,
"InvoiceNo": 2,
"MobileID": "sample string 3",
"SignaturePath": "sample string 4",
"CompanyLogoPath": "sample string 5",
"ClientDB": "sample string 6",
"ClientID": "sample string 7"
}
application/xml, text/xml
Sample:
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NHAWK_FLEET_API.Models"> <ClientDB>sample string 6</ClientDB> <ClientID>sample string 7</ClientID> <CompanyLogoPath>sample string 5</CompanyLogoPath> <InvoiceID>1</InvoiceID> <InvoiceNo>2</InvoiceNo> <MobileID>sample string 3</MobileID> <SignaturePath>sample string 4</SignaturePath> </Invoice>
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. |