POST api/FuelModelsApi/PostFuelModel

Request Information

URI Parameters

None.

Body Parameters

Collection of FuelModelsApi
NameDescriptionTypeAdditional information
ID

integer

None.

DateTime

date

None.

DriverID

integer

None.

DriverName

string

None.

OwnerID

integer

None.

OwnerName

string

None.

TruckID

integer

None.

TruckName

string

None.

TSNumber

string

None.

Name

string

None.

City

string

None.

State

string

None.

DiselGallon

decimal number

None.

DiselAmount

decimal number

None.

ReeferGallon

decimal number

None.

ReeferAmount

decimal number

None.

Discount

decimal number

None.

CalDiscount

decimal number

None.

NetPPU

decimal number

None.

Rebate

decimal number

None.

Cash

decimal number

None.

Misc

decimal number

None.

Invoice

decimal number

None.

CalInvoice

decimal number

None.

CreatedDateTime

date

None.

ModifiedDateTime

date

None.

Closed

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "DateTime": "2023-11-28T09:58:52.5902505+00:00",
    "DriverID": 3,
    "DriverName": "sample string 4",
    "OwnerID": 5,
    "OwnerName": "sample string 6",
    "TruckID": 7,
    "TruckName": "sample string 8",
    "TSNumber": "sample string 9",
    "Name": "sample string 10",
    "City": "sample string 11",
    "State": "sample string 12",
    "DiselGallon": 13.1,
    "DiselAmount": 14.1,
    "ReeferGallon": 15.1,
    "ReeferAmount": 16.1,
    "Discount": 17.1,
    "CalDiscount": 18.1,
    "NetPPU": 19.1,
    "Rebate": 20.1,
    "Cash": 21.1,
    "Misc": 22.1,
    "Invoice": 23.1,
    "CalInvoice": 24.1,
    "CreatedDateTime": "2023-11-28T09:58:52.5902505+00:00",
    "ModifiedDateTime": "2023-11-28T09:58:52.5902505+00:00",
    "Closed": true
  },
  {
    "ID": 1,
    "DateTime": "2023-11-28T09:58:52.5902505+00:00",
    "DriverID": 3,
    "DriverName": "sample string 4",
    "OwnerID": 5,
    "OwnerName": "sample string 6",
    "TruckID": 7,
    "TruckName": "sample string 8",
    "TSNumber": "sample string 9",
    "Name": "sample string 10",
    "City": "sample string 11",
    "State": "sample string 12",
    "DiselGallon": 13.1,
    "DiselAmount": 14.1,
    "ReeferGallon": 15.1,
    "ReeferAmount": 16.1,
    "Discount": 17.1,
    "CalDiscount": 18.1,
    "NetPPU": 19.1,
    "Rebate": 20.1,
    "Cash": 21.1,
    "Misc": 22.1,
    "Invoice": 23.1,
    "CalInvoice": 24.1,
    "CreatedDateTime": "2023-11-28T09:58:52.5902505+00:00",
    "ModifiedDateTime": "2023-11-28T09:58:52.5902505+00:00",
    "Closed": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfFuelModelsApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <FuelModelsApi>
    <ID>1</ID>
    <DateTime>2023-11-28T09:58:52.5902505+00:00</DateTime>
    <DriverID>3</DriverID>
    <DriverName>sample string 4</DriverName>
    <OwnerID>5</OwnerID>
    <OwnerName>sample string 6</OwnerName>
    <TruckID>7</TruckID>
    <TruckName>sample string 8</TruckName>
    <TSNumber>sample string 9</TSNumber>
    <Name>sample string 10</Name>
    <City>sample string 11</City>
    <State>sample string 12</State>
    <DiselGallon>13.1</DiselGallon>
    <DiselAmount>14.1</DiselAmount>
    <ReeferGallon>15.1</ReeferGallon>
    <ReeferAmount>16.1</ReeferAmount>
    <Discount>17.1</Discount>
    <CalDiscount>18.1</CalDiscount>
    <NetPPU>19.1</NetPPU>
    <Rebate>20.1</Rebate>
    <Cash>21.1</Cash>
    <Misc>22.1</Misc>
    <Invoice>23.1</Invoice>
    <CalInvoice>24.1</CalInvoice>
    <CreatedDateTime>2023-11-28T09:58:52.5902505+00:00</CreatedDateTime>
    <ModifiedDateTime>2023-11-28T09:58:52.5902505+00:00</ModifiedDateTime>
    <Closed>true</Closed>
  </FuelModelsApi>
  <FuelModelsApi>
    <ID>1</ID>
    <DateTime>2023-11-28T09:58:52.5902505+00:00</DateTime>
    <DriverID>3</DriverID>
    <DriverName>sample string 4</DriverName>
    <OwnerID>5</OwnerID>
    <OwnerName>sample string 6</OwnerName>
    <TruckID>7</TruckID>
    <TruckName>sample string 8</TruckName>
    <TSNumber>sample string 9</TSNumber>
    <Name>sample string 10</Name>
    <City>sample string 11</City>
    <State>sample string 12</State>
    <DiselGallon>13.1</DiselGallon>
    <DiselAmount>14.1</DiselAmount>
    <ReeferGallon>15.1</ReeferGallon>
    <ReeferAmount>16.1</ReeferAmount>
    <Discount>17.1</Discount>
    <CalDiscount>18.1</CalDiscount>
    <NetPPU>19.1</NetPPU>
    <Rebate>20.1</Rebate>
    <Cash>21.1</Cash>
    <Misc>22.1</Misc>
    <Invoice>23.1</Invoice>
    <CalInvoice>24.1</CalInvoice>
    <CreatedDateTime>2023-11-28T09:58:52.5902505+00:00</CreatedDateTime>
    <ModifiedDateTime>2023-11-28T09:58:52.5902505+00:00</ModifiedDateTime>
    <Closed>true</Closed>
  </FuelModelsApi>
</ArrayOfFuelModelsApi>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.