POST API/Vehicle/SetSendForExpens?Details_ID={Details_ID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Details_ID

globally unique identifier

Required

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-01-17T05:34:18.7495245+05:00",
  "dtE": "2026-01-17T05:34:18.7495245+05:00",
  "ID": "4fc266c1-a24e-4a5a-a2a1-c7cc2c947f7a",
  "VehicleService_ID": "7116da58-71f1-463c-84ee-962960935f3c",
  "Department_ID": 3,
  "Stock_ID": "2d45758a-68bc-4db0-9f7c-5c390832b129",
  "UnitOfMeasurement": 5,
  "Quantity": 6,
  "InventoryNumber": 7,
  "Price": 8,
  "Sum": 9,
  "CreateDate": "2026-01-17T05:34:18.7495245+05:00",
  "UpdatePerson_ID": "f5e5f687-4ab8-48f6-ad19-32c6bec42e78",
  "UpdateDate": "2026-01-17T05:34:18.7495245+05:00",
  "StockIncoming_ID": "f211ccdb-1b00-45cb-96ed-dd5281b8b92f",
  "Stock": {
    "ID": "7049810e-284b-4973-a223-d745c02cb09f",
    "Code": 2,
    "Name": "sample string 3",
    "CreateDate": "2026-01-17T05:34:18.7495245+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-01-17T05:34:18.7495245+05:00</CreateDate>
  <Department_ID>3</Department_ID>
  <ID>4fc266c1-a24e-4a5a-a2a1-c7cc2c947f7a</ID>
  <InventoryNumber>7</InventoryNumber>
  <Price>8</Price>
  <Quantity>6</Quantity>
  <Stock>
    <Code>2</Code>
    <CreateDate>2026-01-17T05:34:18.7495245+05:00</CreateDate>
    <ID>7049810e-284b-4973-a223-d745c02cb09f</ID>
    <Name>sample string 3</Name>
  </Stock>
  <StockIncoming_ID>f211ccdb-1b00-45cb-96ed-dd5281b8b92f</StockIncoming_ID>
  <Stock_ID>2d45758a-68bc-4db0-9f7c-5c390832b129</Stock_ID>
  <Sum>9</Sum>
  <UnitOfMeasurement>5</UnitOfMeasurement>
  <UpdateDate>2026-01-17T05:34:18.7495245+05:00</UpdateDate>
  <UpdatePerson_ID>f5e5f687-4ab8-48f6-ad19-32c6bec42e78</UpdatePerson_ID>
  <VehicleService_ID>7116da58-71f1-463c-84ee-962960935f3c</VehicleService_ID>
  <dtE>2026-01-17T05:34:18.7495245+05:00</dtE>
  <dtS>2026-01-17T05:34:18.7495245+05:00</dtS>
</SendForExpensM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommonResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Interaction">
  <message>sample string 2</message>
  <success>true</success>
</CommonResponse>