POST api/v1/GenerateFactoryInvoice
Request Information
URI Parameters
None.
Body Parameters
FactoryInvoiceSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceID | integer |
None. |
|
| Mode | string |
None. |
|
| list | string |
None. |
|
| InvoiceDate | date |
None. |
|
| OutletID | integer |
None. |
|
| CompID | integer |
None. |
|
| OrderID | integer |
None. |
|
| OrderNo | string |
None. |
|
| OrderDate | date |
None. |
|
| InvoiceNo | string |
None. |
|
| Remarks | string |
None. |
|
| ModeOfTransport | string |
None. |
|
| VehicleNo | string |
None. |
|
| SupplyDate | date |
None. |
|
| EWBNo | string |
None. |
|
| VendorID | decimal number |
None. |
|
| OrderType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvoiceID": 1,
"Mode": "sample string 2",
"list": "sample string 3",
"InvoiceDate": "2026-07-09T16:04:24.1330002+05:30",
"OutletID": 5,
"CompID": 6,
"OrderID": 7,
"OrderNo": "sample string 8",
"OrderDate": "2026-07-09T16:04:24.1330002+05:30",
"InvoiceNo": "sample string 9",
"Remarks": "sample string 10",
"ModeOfTransport": "sample string 11",
"VehicleNo": "sample string 12",
"SupplyDate": "2026-07-09T16:04:24.1330002+05:30",
"EWBNo": "sample string 14",
"VendorID": 15.0,
"OrderType": "sample string 16"
}
application/xml, text/xml
Sample:
<FactoryInvoiceSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <CompID>6</CompID> <EWBNo>sample string 14</EWBNo> <InvoiceDate>2026-07-09T16:04:24.1330002+05:30</InvoiceDate> <InvoiceID>1</InvoiceID> <InvoiceNo>sample string 9</InvoiceNo> <Mode>sample string 2</Mode> <ModeOfTransport>sample string 11</ModeOfTransport> <OrderDate>2026-07-09T16:04:24.1330002+05:30</OrderDate> <OrderID>7</OrderID> <OrderNo>sample string 8</OrderNo> <OrderType>sample string 16</OrderType> <OutletID>5</OutletID> <Remarks>sample string 10</Remarks> <SupplyDate>2026-07-09T16:04:24.1330002+05:30</SupplyDate> <VehicleNo>sample string 12</VehicleNo> <VendorID>15</VendorID> <list>sample string 3</list> </FactoryInvoiceSaveInput>
application/x-www-form-urlencoded
Sample:
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. |