POST api/OnTheGo/DVIR/PostDVIRDefectObservation

Request Information

URI Parameters

None.

Body Parameters

PostDVIRDefectObservationApiRequest
NameDescriptionTypeAdditional information
LogID

integer

None.

ChecklistItemID

integer

None.

ClientObservationId

string

Required

String length: inclusive between 0 and 200

UtcRecorded

date

None.

OperatorName

string

String length: inclusive between 0 and 500

Outcome

string

Required

String length: inclusive between 0 and 50

Safe

boolean

None.

Note

string

String length: inclusive between 0 and 2000

Request Formats

application/json, text/json

Sample:
{
  "LogID": 1,
  "ChecklistItemID": 2,
  "ClientObservationId": "sample string 3",
  "UtcRecorded": "2026-08-07T18:56:55.945Z",
  "OperatorName": "sample string 5",
  "Outcome": "sample string 6",
  "Safe": true,
  "Note": "sample string 7"
}

application/xml, text/xml

Sample:
<DVIRModel.PostDVIRDefectObservationApiRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appsvc.rapidappsinc.com.Areas.OnTheGo.Models">
  <ChecklistItemID>2</ChecklistItemID>
  <ClientObservationId>sample string 3</ClientObservationId>
  <LogID>1</LogID>
  <Note>sample string 7</Note>
  <OperatorName>sample string 5</OperatorName>
  <Outcome>sample string 6</Outcome>
  <Safe>true</Safe>
  <UtcRecorded>2026-08-07T18:56:55.9451912+00:00</UtcRecorded>
</DVIRModel.PostDVIRDefectObservationApiRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.