POST api/Voiture/AddVehicleDailyCheck

Request Information

URI Parameters

None.

Body Parameters

VehicleDailyCheckAddDto
NameDescriptionTypeAdditional information
FCompID

integer

None.

FCompName

string

None.

FSectionId

integer

None.

FSectionName

string

None.

DriverID

integer

None.

EscortID

integer

None.

CheckerID

integer

None.

VehicleID

integer

None.

CheckDate

date

None.

Checker

string

None.

FOptID

integer

None.

FOptName

string

None.

Details

Collection of CheckDetailSubmitDto

None.

GasCount5KG

integer

None.

GasCount11KG

integer

None.

GasCount13KG

integer

None.

GasCount50KG

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FCompID": 1,
  "FCompName": "sample string 2",
  "FSectionId": 1,
  "FSectionName": "sample string 3",
  "DriverID": 1,
  "EscortID": 1,
  "CheckerID": 1,
  "VehicleID": 1,
  "CheckDate": "2026-11-25 09:46:52",
  "Checker": "sample string 5",
  "FOptID": 1,
  "FOptName": "sample string 6",
  "Details": [
    {
      "ItemKey": 1,
      "Result": 2,
      "Remark": "sample string 3"
    },
    {
      "ItemKey": 1,
      "Result": 2,
      "Remark": "sample string 3"
    }
  ],
  "GasCount5KG": 7,
  "GasCount11KG": 8,
  "GasCount13KG": 9,
  "GasCount50KG": 10
}

application/xml, text/xml

Sample:
<VehicleDailyCheckAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <CheckDate>2026-11-25T09:46:52.4550052+08:00</CheckDate>
  <Checker>sample string 5</Checker>
  <CheckerID>1</CheckerID>
  <Details>
    <CheckDetailSubmitDto>
      <ItemKey>1</ItemKey>
      <Remark>sample string 3</Remark>
      <Result>2</Result>
    </CheckDetailSubmitDto>
    <CheckDetailSubmitDto>
      <ItemKey>1</ItemKey>
      <Remark>sample string 3</Remark>
      <Result>2</Result>
    </CheckDetailSubmitDto>
  </Details>
  <DriverID>1</DriverID>
  <EscortID>1</EscortID>
  <FCompID>1</FCompID>
  <FCompName>sample string 2</FCompName>
  <FOptID>1</FOptID>
  <FOptName>sample string 6</FOptName>
  <FSectionId>1</FSectionId>
  <FSectionName>sample string 3</FSectionName>
  <GasCount11KG>8</GasCount11KG>
  <GasCount13KG>9</GasCount13KG>
  <GasCount50KG>10</GasCount50KG>
  <GasCount5KG>7</GasCount5KG>
  <VehicleID>1</VehicleID>
</VehicleDailyCheckAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModelOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Msg

string

None.

Response

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Success": true,
  "Msg": "sample string 3",
  "Response": 4
}

application/xml, text/xml

Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
  <Msg>sample string 3</Msg>
  <Response>4</Response>
  <Status>200</Status>
  <Success>true</Success>
</MessageModelOfint>