POST API/Vehicle/GetVehicleServiceForExpenses

Request Information

URI Parameters

None.

Body Parameters

SendForExpensM
NameDescriptionTypeAdditional information
dtS

date

None.

dtE

date

None.

ID

globally unique identifier

None.

VehicleService_ID

globally unique identifier

None.

Department_ID

integer

None.

Stock_ID

globally unique identifier

None.

UnitOfMeasurement

integer

None.

Quantity

integer

None.

InventoryNumber

integer

None.

Price

integer

None.

Sum

integer

None.

CreateDate

date

None.

UpdatePerson_ID

globally unique identifier

None.

UpdateDate

date

None.

StockIncoming_ID

globally unique identifier

None.

Stock

StockM

None.

Request Formats

application/json, text/json

Sample:
{
  "dtS": "2026-05-17T04:15:55.0714755+05:00",
  "dtE": "2026-05-17T04:15:55.0714755+05:00",
  "ID": "1d474188-e868-473f-86ba-78a17aaf4219",
  "VehicleService_ID": "a2e76df2-0734-4fcf-bfae-51073517a7dc",
  "Department_ID": 3,
  "Stock_ID": "b90a205f-228c-4593-b1fa-a0f0c1db8285",
  "UnitOfMeasurement": 5,
  "Quantity": 6,
  "InventoryNumber": 7,
  "Price": 8,
  "Sum": 9,
  "CreateDate": "2026-05-17T04:15:55.0714755+05:00",
  "UpdatePerson_ID": "b2f84d99-344b-4f43-ac62-45565ed6d5b7",
  "UpdateDate": "2026-05-17T04:15:55.0714755+05:00",
  "StockIncoming_ID": "222a8880-f7e0-4d33-98de-43b51ed10440",
  "Stock": {
    "ID": "327438cd-62e6-4b22-b221-32e19590ee43",
    "Code": 2,
    "Name": "sample string 3",
    "CreateDate": "2026-05-17T04:15:55.0714755+05:00"
  }
}

application/xml, text/xml

Sample:
<SendForExpensM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Basic">
  <CreateDate>2026-05-17T04:15:55.0714755+05:00</CreateDate>
  <Department_ID>3</Department_ID>
  <ID>1d474188-e868-473f-86ba-78a17aaf4219</ID>
  <InventoryNumber>7</InventoryNumber>
  <Price>8</Price>
  <Quantity>6</Quantity>
  <Stock>
    <Code>2</Code>
    <CreateDate>2026-05-17T04:15:55.0714755+05:00</CreateDate>
    <ID>327438cd-62e6-4b22-b221-32e19590ee43</ID>
    <Name>sample string 3</Name>
  </Stock>
  <StockIncoming_ID>222a8880-f7e0-4d33-98de-43b51ed10440</StockIncoming_ID>
  <Stock_ID>b90a205f-228c-4593-b1fa-a0f0c1db8285</Stock_ID>
  <Sum>9</Sum>
  <UnitOfMeasurement>5</UnitOfMeasurement>
  <UpdateDate>2026-05-17T04:15:55.0714755+05:00</UpdateDate>
  <UpdatePerson_ID>b2f84d99-344b-4f43-ac62-45565ed6d5b7</UpdatePerson_ID>
  <VehicleService_ID>a2e76df2-0734-4fcf-bfae-51073517a7dc</VehicleService_ID>
  <dtE>2026-05-17T04:15:55.0714755+05:00</dtE>
  <dtS>2026-05-17T04:15:55.0714755+05:00</dtS>
</SendForExpensM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>