POST api/FuelReport/Generate_Fuel_Ticket

Request Information

URI Parameters

None.

Body Parameters

Generate_Ticket_Input
NameDescriptionTypeAdditional information
DEPT_ID

integer

None.

User_ID

integer

None.

Entry_DateTime

string

None.

Vehicle_ID

integer

None.

Trip_ID

integer

None.

Case_ID

integer

None.

Odometer_Last

string

None.

Odometer_Base

string

None.

Odometer

string

None.

Odometer_Back_At_Base

string

None.

Fuel_Station_Name

string

None.

Quantity

decimal number

None.

Unit_Price

decimal number

None.

Mode_Of_Payment

integer

None.

Payment_Ref_No

string

None.

Bill_No

string

None.

Doc_Odometer

string

None.

Doc_Odometer_Name

string

None.

Doc_Bill

string

None.

Doc_Bill_Name

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Device_Regn_ID

string

None.

IMEI_Number

string

None.

Os_Version

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DEPT_ID": 1,
  "User_ID": 2,
  "Entry_DateTime": "sample string 3",
  "Vehicle_ID": 4,
  "Trip_ID": 5,
  "Case_ID": 6,
  "Odometer_Last": "sample string 7",
  "Odometer_Base": "sample string 8",
  "Odometer": "sample string 9",
  "Odometer_Back_At_Base": "sample string 10",
  "Fuel_Station_Name": "sample string 11",
  "Quantity": 12.0,
  "Unit_Price": 13.0,
  "Mode_Of_Payment": 14,
  "Payment_Ref_No": "sample string 15",
  "Bill_No": "sample string 16",
  "Doc_Odometer": "sample string 17",
  "Doc_Odometer_Name": "sample string 18",
  "Doc_Bill": "sample string 19",
  "Doc_Bill_Name": "sample string 20",
  "Latitude": 21.1,
  "Longitude": 22.1,
  "Device_Regn_ID": "sample string 23",
  "IMEI_Number": "sample string 24",
  "Os_Version": "sample string 25"
}

multipart/form-data

Sample:
{"DEPT_ID":1,"User_ID":2,"Entry_DateTime":"sample string 3","Vehicle_ID":4,"Trip_ID":5,"Case_ID":6,"Odometer_Last":"sample string 7","Odometer_Base":"sample string 8","Odometer":"sample string 9","Odometer_Back_At_Base":"sample string 10","Fuel_Station_Name":"sample string 11","Quantity":12.0,"Unit_Price":13.0,"Mode_Of_Payment":14,"Payment_Ref_No":"sample string 15","Bill_No":"sample string 16","Doc_Odometer":"sample string 17","Doc_Odometer_Name":"sample string 18","Doc_Bill":"sample string 19","Doc_Bill_Name":"sample string 20","Latitude":21.1,"Longitude":22.1,"Device_Regn_ID":"sample string 23","IMEI_Number":"sample string 24","Os_Version":"sample string 25"}

application/xml, text/xml

Sample:
<Generate_Ticket_Input xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DEPT_ID>1</DEPT_ID>
  <User_ID>2</User_ID>
  <Entry_DateTime>sample string 3</Entry_DateTime>
  <Vehicle_ID>4</Vehicle_ID>
  <Trip_ID>5</Trip_ID>
  <Case_ID>6</Case_ID>
  <Odometer_Last>sample string 7</Odometer_Last>
  <Odometer_Base>sample string 8</Odometer_Base>
  <Odometer>sample string 9</Odometer>
  <Odometer_Back_At_Base>sample string 10</Odometer_Back_At_Base>
  <Fuel_Station_Name>sample string 11</Fuel_Station_Name>
  <Quantity>12</Quantity>
  <Unit_Price>13</Unit_Price>
  <Mode_Of_Payment>14</Mode_Of_Payment>
  <Payment_Ref_No>sample string 15</Payment_Ref_No>
  <Bill_No>sample string 16</Bill_No>
  <Doc_Odometer>sample string 17</Doc_Odometer>
  <Doc_Odometer_Name>sample string 18</Doc_Odometer_Name>
  <Doc_Bill>sample string 19</Doc_Bill>
  <Doc_Bill_Name>sample string 20</Doc_Bill_Name>
  <Latitude>21.1</Latitude>
  <Longitude>22.1</Longitude>
  <Device_Regn_ID>sample string 23</Device_Regn_ID>
  <IMEI_Number>sample string 24</IMEI_Number>
  <Os_Version>sample string 25</Os_Version>
</Generate_Ticket_Input>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.