POST api/DispatchApi/GetTaxUnitExpenseUnitList

Request Information

URI Parameters

None.

Body Parameters

CommonApiPara
NameDescriptionTypeAdditional information
DriverId

integer

None.

DeviceId

string

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DriverId": 1,
  "DeviceId": "sample string 2",
  "CompanyId": 3
}

text/html

Sample:
{"DriverId":1,"DeviceId":"sample string 2","CompanyId":3}

application/xml, text/xml

Sample:
<CommonApiPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <CompanyId>3</CompanyId>
  <DeviceId>sample string 2</DeviceId>
  <DriverId>1</DriverId>
</CommonApiPara>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CommonApiPara'.

Response Information

Resource Description

CustomReturnOfListOfBillItemsDetail
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

Collection of BillItemsDetail

None.

lstData

Collection of Collection of BillItemsDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": [
    {
      "CompanyTaxDetailsJson": "sample string 1",
      "UnitTypeListJson": "sample string 2",
      "ItemCodeListJson": "sample string 3",
      "ExpenseListJson": "sample string 4",
      "TruckListJson": "sample string 5"
    },
    {
      "CompanyTaxDetailsJson": "sample string 1",
      "UnitTypeListJson": "sample string 2",
      "ItemCodeListJson": "sample string 3",
      "ExpenseListJson": "sample string 4",
      "TruckListJson": "sample string 5"
    }
  ],
  "lstData": [
    [
      {
        "CompanyTaxDetailsJson": "sample string 1",
        "UnitTypeListJson": "sample string 2",
        "ItemCodeListJson": "sample string 3",
        "ExpenseListJson": "sample string 4",
        "TruckListJson": "sample string 5"
      },
      {
        "CompanyTaxDetailsJson": "sample string 1",
        "UnitTypeListJson": "sample string 2",
        "ItemCodeListJson": "sample string 3",
        "ExpenseListJson": "sample string 4",
        "TruckListJson": "sample string 5"
      }
    ],
    [
      {
        "CompanyTaxDetailsJson": "sample string 1",
        "UnitTypeListJson": "sample string 2",
        "ItemCodeListJson": "sample string 3",
        "ExpenseListJson": "sample string 4",
        "TruckListJson": "sample string 5"
      },
      {
        "CompanyTaxDetailsJson": "sample string 1",
        "UnitTypeListJson": "sample string 2",
        "ItemCodeListJson": "sample string 3",
        "ExpenseListJson": "sample string 4",
        "TruckListJson": "sample string 5"
      }
    ]
  ]
}

text/html

Sample:
{"Status":true,"Message":"sample string 2","Data":[{"CompanyTaxDetailsJson":"sample string 1","UnitTypeListJson":"sample string 2","ItemCodeListJson":"sample string 3","ExpenseListJson":"sample string 4","TruckListJson":"sample string 5"},{"CompanyTaxDetailsJson":"sample string 1","UnitTypeListJson":"sample string 2","ItemCodeListJson":"sample string 3","ExpenseListJson":"sample string 4","TruckListJson":"sample string 5"}],"lstData":[[{"CompanyTaxDetailsJson":"sample string 1","UnitTypeListJson":"sample string 2","ItemCodeListJson":"sample string 3","ExpenseListJson":"sample string 4","TruckListJson":"sample string 5"},{"CompanyTaxDetailsJson":"sample string 1","UnitTypeListJson":"sample string 2","ItemCodeListJson":"sample string 3","ExpenseListJson":"sample string 4","TruckListJson":"sample string 5"}],[{"CompanyTaxDetailsJson":"sample string 1","UnitTypeListJson":"sample string 2","ItemCodeListJson":"sample string 3","ExpenseListJson":"sample string 4","TruckListJson":"sample string 5"},{"CompanyTaxDetailsJson":"sample string 1","UnitTypeListJson":"sample string 2","ItemCodeListJson":"sample string 3","ExpenseListJson":"sample string 4","TruckListJson":"sample string 5"}]]}

application/xml, text/xml

Sample:
<CustomReturnOfArrayOfBillItemsDetailkdKmGoqn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <Data>
    <BillItemsDetail>
      <CompanyTaxDetailsJson>sample string 1</CompanyTaxDetailsJson>
      <ExpenseListJson>sample string 4</ExpenseListJson>
      <ItemCodeListJson>sample string 3</ItemCodeListJson>
      <TruckListJson>sample string 5</TruckListJson>
      <UnitTypeListJson>sample string 2</UnitTypeListJson>
    </BillItemsDetail>
    <BillItemsDetail>
      <CompanyTaxDetailsJson>sample string 1</CompanyTaxDetailsJson>
      <ExpenseListJson>sample string 4</ExpenseListJson>
      <ItemCodeListJson>sample string 3</ItemCodeListJson>
      <TruckListJson>sample string 5</TruckListJson>
      <UnitTypeListJson>sample string 2</UnitTypeListJson>
    </BillItemsDetail>
  </Data>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <lstData>
    <ArrayOfBillItemsDetail>
      <BillItemsDetail>
        <CompanyTaxDetailsJson>sample string 1</CompanyTaxDetailsJson>
        <ExpenseListJson>sample string 4</ExpenseListJson>
        <ItemCodeListJson>sample string 3</ItemCodeListJson>
        <TruckListJson>sample string 5</TruckListJson>
        <UnitTypeListJson>sample string 2</UnitTypeListJson>
      </BillItemsDetail>
      <BillItemsDetail>
        <CompanyTaxDetailsJson>sample string 1</CompanyTaxDetailsJson>
        <ExpenseListJson>sample string 4</ExpenseListJson>
        <ItemCodeListJson>sample string 3</ItemCodeListJson>
        <TruckListJson>sample string 5</TruckListJson>
        <UnitTypeListJson>sample string 2</UnitTypeListJson>
      </BillItemsDetail>
    </ArrayOfBillItemsDetail>
    <ArrayOfBillItemsDetail>
      <BillItemsDetail>
        <CompanyTaxDetailsJson>sample string 1</CompanyTaxDetailsJson>
        <ExpenseListJson>sample string 4</ExpenseListJson>
        <ItemCodeListJson>sample string 3</ItemCodeListJson>
        <TruckListJson>sample string 5</TruckListJson>
        <UnitTypeListJson>sample string 2</UnitTypeListJson>
      </BillItemsDetail>
      <BillItemsDetail>
        <CompanyTaxDetailsJson>sample string 1</CompanyTaxDetailsJson>
        <ExpenseListJson>sample string 4</ExpenseListJson>
        <ItemCodeListJson>sample string 3</ItemCodeListJson>
        <TruckListJson>sample string 5</TruckListJson>
        <UnitTypeListJson>sample string 2</UnitTypeListJson>
      </BillItemsDetail>
    </ArrayOfBillItemsDetail>
  </lstData>
</CustomReturnOfArrayOfBillItemsDetailkdKmGoqn>