GET api/OnTheGo/DVIR/GetDVIRLog?LogID={LogID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LogID

integer

Required

Body Parameters

None.

Response Information

Resource Description

DVIRInfo
NameDescriptionTypeAdditional information
LogID

integer

None.

EmployeeID

integer

Required

ReportPerson

string

None.

UnitID

string

Required

UTCTimeStamp

date

Required

IsPreTrip

boolean

None.

Status

Status

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Odometer

integer

None.

EngineHours

decimal number

None.

Location

string

None.

Signature

string

None.

Comments

string

None.

UTCCreatedOn

date

None.

UTCDateRepair

date

None.

RepairBy

integer

None.

RepairPerson

string

None.

CommentsRepair

string

None.

SignatureRepair

string

None.

UTCDateCertify

date

None.

CertifyBy

integer

None.

CertifyPerson

string

None.

CommentsCertify

string

None.

SignatureCertify

string

None.

IsSafe

boolean

None.

DVIRAttachments

Collection of BlobDetails

None.

DVIRAttachmentsRepair

Collection of BlobDetails

None.

DVIRAttachmentsCertify

Collection of BlobDetails

None.

DVIRItems

Collection of DVIRItem

None.

Response Formats

application/json, text/json

Sample:
{
  "LogID": 1,
  "EmployeeID": 1,
  "ReportPerson": "sample string 2",
  "UnitID": "sample string 3",
  "UTCTimeStamp": "2025-05-02T12:20:45.622Z",
  "IsPreTrip": true,
  "Status": 3101,
  "Latitude": 1.0,
  "Longitude": 1.0,
  "Odometer": 1,
  "EngineHours": 1.1,
  "Location": "sample string 6",
  "Signature": "sample string 7",
  "Comments": "sample string 8",
  "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
  "UTCDateRepair": "2025-05-02T12:20:45.622Z",
  "RepairBy": 1,
  "RepairPerson": "sample string 9",
  "CommentsRepair": "sample string 10",
  "SignatureRepair": "sample string 11",
  "UTCDateCertify": "2025-05-02T12:20:45.622Z",
  "CertifyBy": 1,
  "CertifyPerson": "sample string 12",
  "CommentsCertify": "sample string 13",
  "SignatureCertify": "sample string 14",
  "IsSafe": true,
  "DVIRAttachments": [
    {
      "Id": 1,
      "FkeyId": 2,
      "BlobKey": "sample string 3",
      "BlobName": "sample string 4",
      "Title": "sample string 5",
      "Description": "sample string 6",
      "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
      "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
      "MetaData": {
        "Width": 1,
        "Height": 1,
        "Latitude": 1.0,
        "Longitude": 1.0,
        "Direction": "sample string 1",
        "Altitude": "sample string 2",
        "Speed": "sample string 3"
      },
      "AllowWrite": true,
      "AllowDelete": true
    },
    {
      "Id": 1,
      "FkeyId": 2,
      "BlobKey": "sample string 3",
      "BlobName": "sample string 4",
      "Title": "sample string 5",
      "Description": "sample string 6",
      "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
      "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
      "MetaData": {
        "Width": 1,
        "Height": 1,
        "Latitude": 1.0,
        "Longitude": 1.0,
        "Direction": "sample string 1",
        "Altitude": "sample string 2",
        "Speed": "sample string 3"
      },
      "AllowWrite": true,
      "AllowDelete": true
    }
  ],
  "DVIRAttachmentsRepair": [
    {
      "Id": 1,
      "FkeyId": 2,
      "BlobKey": "sample string 3",
      "BlobName": "sample string 4",
      "Title": "sample string 5",
      "Description": "sample string 6",
      "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
      "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
      "MetaData": {
        "Width": 1,
        "Height": 1,
        "Latitude": 1.0,
        "Longitude": 1.0,
        "Direction": "sample string 1",
        "Altitude": "sample string 2",
        "Speed": "sample string 3"
      },
      "AllowWrite": true,
      "AllowDelete": true
    },
    {
      "Id": 1,
      "FkeyId": 2,
      "BlobKey": "sample string 3",
      "BlobName": "sample string 4",
      "Title": "sample string 5",
      "Description": "sample string 6",
      "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
      "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
      "MetaData": {
        "Width": 1,
        "Height": 1,
        "Latitude": 1.0,
        "Longitude": 1.0,
        "Direction": "sample string 1",
        "Altitude": "sample string 2",
        "Speed": "sample string 3"
      },
      "AllowWrite": true,
      "AllowDelete": true
    }
  ],
  "DVIRAttachmentsCertify": [
    {
      "Id": 1,
      "FkeyId": 2,
      "BlobKey": "sample string 3",
      "BlobName": "sample string 4",
      "Title": "sample string 5",
      "Description": "sample string 6",
      "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
      "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
      "MetaData": {
        "Width": 1,
        "Height": 1,
        "Latitude": 1.0,
        "Longitude": 1.0,
        "Direction": "sample string 1",
        "Altitude": "sample string 2",
        "Speed": "sample string 3"
      },
      "AllowWrite": true,
      "AllowDelete": true
    },
    {
      "Id": 1,
      "FkeyId": 2,
      "BlobKey": "sample string 3",
      "BlobName": "sample string 4",
      "Title": "sample string 5",
      "Description": "sample string 6",
      "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
      "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
      "MetaData": {
        "Width": 1,
        "Height": 1,
        "Latitude": 1.0,
        "Longitude": 1.0,
        "Direction": "sample string 1",
        "Altitude": "sample string 2",
        "Speed": "sample string 3"
      },
      "AllowWrite": true,
      "AllowDelete": true
    }
  ],
  "DVIRItems": [
    {
      "Id": 1,
      "Title": "sample string 2",
      "Description": "sample string 3",
      "DVIRItemID": 4,
      "DVIRItemAttachments": [
        {
          "Id": 1,
          "FkeyId": 2,
          "BlobKey": "sample string 3",
          "BlobName": "sample string 4",
          "Title": "sample string 5",
          "Description": "sample string 6",
          "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
          "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
          "MetaData": {
            "Width": 1,
            "Height": 1,
            "Latitude": 1.0,
            "Longitude": 1.0,
            "Direction": "sample string 1",
            "Altitude": "sample string 2",
            "Speed": "sample string 3"
          },
          "AllowWrite": true,
          "AllowDelete": true
        },
        {
          "Id": 1,
          "FkeyId": 2,
          "BlobKey": "sample string 3",
          "BlobName": "sample string 4",
          "Title": "sample string 5",
          "Description": "sample string 6",
          "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
          "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
          "MetaData": {
            "Width": 1,
            "Height": 1,
            "Latitude": 1.0,
            "Longitude": 1.0,
            "Direction": "sample string 1",
            "Altitude": "sample string 2",
            "Speed": "sample string 3"
          },
          "AllowWrite": true,
          "AllowDelete": true
        }
      ]
    },
    {
      "Id": 1,
      "Title": "sample string 2",
      "Description": "sample string 3",
      "DVIRItemID": 4,
      "DVIRItemAttachments": [
        {
          "Id": 1,
          "FkeyId": 2,
          "BlobKey": "sample string 3",
          "BlobName": "sample string 4",
          "Title": "sample string 5",
          "Description": "sample string 6",
          "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
          "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
          "MetaData": {
            "Width": 1,
            "Height": 1,
            "Latitude": 1.0,
            "Longitude": 1.0,
            "Direction": "sample string 1",
            "Altitude": "sample string 2",
            "Speed": "sample string 3"
          },
          "AllowWrite": true,
          "AllowDelete": true
        },
        {
          "Id": 1,
          "FkeyId": 2,
          "BlobKey": "sample string 3",
          "BlobName": "sample string 4",
          "Title": "sample string 5",
          "Description": "sample string 6",
          "UTCCreatedOn": "2025-05-02T12:20:45.622Z",
          "UTCUploadedOn": "2025-05-02T12:20:45.622Z",
          "MetaData": {
            "Width": 1,
            "Height": 1,
            "Latitude": 1.0,
            "Longitude": 1.0,
            "Direction": "sample string 1",
            "Altitude": "sample string 2",
            "Speed": "sample string 3"
          },
          "AllowWrite": true,
          "AllowDelete": true
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<DVIRModel.DVIRInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appsvc.rapidappsinc.com.Areas.OnTheGo.Models">
  <CertifyBy>1</CertifyBy>
  <CertifyPerson>sample string 12</CertifyPerson>
  <Comments>sample string 8</Comments>
  <CommentsCertify>sample string 13</CommentsCertify>
  <CommentsRepair>sample string 10</CommentsRepair>
  <DVIRAttachments>
    <DVIRModel.BlobDetails>
      <AllowDelete>true</AllowDelete>
      <AllowWrite>true</AllowWrite>
      <BlobKey>sample string 3</BlobKey>
      <BlobName>sample string 4</BlobName>
      <Description>sample string 6</Description>
      <FkeyId>2</FkeyId>
      <Id>1</Id>
      <MetaData>
        <Altitude>sample string 2</Altitude>
        <Direction>sample string 1</Direction>
        <Height>1</Height>
        <Latitude>1</Latitude>
        <Longitude>1</Longitude>
        <Speed>sample string 3</Speed>
        <Width>1</Width>
      </MetaData>
      <Title>sample string 5</Title>
      <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
      <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
    </DVIRModel.BlobDetails>
    <DVIRModel.BlobDetails>
      <AllowDelete>true</AllowDelete>
      <AllowWrite>true</AllowWrite>
      <BlobKey>sample string 3</BlobKey>
      <BlobName>sample string 4</BlobName>
      <Description>sample string 6</Description>
      <FkeyId>2</FkeyId>
      <Id>1</Id>
      <MetaData>
        <Altitude>sample string 2</Altitude>
        <Direction>sample string 1</Direction>
        <Height>1</Height>
        <Latitude>1</Latitude>
        <Longitude>1</Longitude>
        <Speed>sample string 3</Speed>
        <Width>1</Width>
      </MetaData>
      <Title>sample string 5</Title>
      <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
      <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
    </DVIRModel.BlobDetails>
  </DVIRAttachments>
  <DVIRAttachmentsCertify>
    <DVIRModel.BlobDetails>
      <AllowDelete>true</AllowDelete>
      <AllowWrite>true</AllowWrite>
      <BlobKey>sample string 3</BlobKey>
      <BlobName>sample string 4</BlobName>
      <Description>sample string 6</Description>
      <FkeyId>2</FkeyId>
      <Id>1</Id>
      <MetaData>
        <Altitude>sample string 2</Altitude>
        <Direction>sample string 1</Direction>
        <Height>1</Height>
        <Latitude>1</Latitude>
        <Longitude>1</Longitude>
        <Speed>sample string 3</Speed>
        <Width>1</Width>
      </MetaData>
      <Title>sample string 5</Title>
      <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
      <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
    </DVIRModel.BlobDetails>
    <DVIRModel.BlobDetails>
      <AllowDelete>true</AllowDelete>
      <AllowWrite>true</AllowWrite>
      <BlobKey>sample string 3</BlobKey>
      <BlobName>sample string 4</BlobName>
      <Description>sample string 6</Description>
      <FkeyId>2</FkeyId>
      <Id>1</Id>
      <MetaData>
        <Altitude>sample string 2</Altitude>
        <Direction>sample string 1</Direction>
        <Height>1</Height>
        <Latitude>1</Latitude>
        <Longitude>1</Longitude>
        <Speed>sample string 3</Speed>
        <Width>1</Width>
      </MetaData>
      <Title>sample string 5</Title>
      <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
      <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
    </DVIRModel.BlobDetails>
  </DVIRAttachmentsCertify>
  <DVIRAttachmentsRepair>
    <DVIRModel.BlobDetails>
      <AllowDelete>true</AllowDelete>
      <AllowWrite>true</AllowWrite>
      <BlobKey>sample string 3</BlobKey>
      <BlobName>sample string 4</BlobName>
      <Description>sample string 6</Description>
      <FkeyId>2</FkeyId>
      <Id>1</Id>
      <MetaData>
        <Altitude>sample string 2</Altitude>
        <Direction>sample string 1</Direction>
        <Height>1</Height>
        <Latitude>1</Latitude>
        <Longitude>1</Longitude>
        <Speed>sample string 3</Speed>
        <Width>1</Width>
      </MetaData>
      <Title>sample string 5</Title>
      <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
      <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
    </DVIRModel.BlobDetails>
    <DVIRModel.BlobDetails>
      <AllowDelete>true</AllowDelete>
      <AllowWrite>true</AllowWrite>
      <BlobKey>sample string 3</BlobKey>
      <BlobName>sample string 4</BlobName>
      <Description>sample string 6</Description>
      <FkeyId>2</FkeyId>
      <Id>1</Id>
      <MetaData>
        <Altitude>sample string 2</Altitude>
        <Direction>sample string 1</Direction>
        <Height>1</Height>
        <Latitude>1</Latitude>
        <Longitude>1</Longitude>
        <Speed>sample string 3</Speed>
        <Width>1</Width>
      </MetaData>
      <Title>sample string 5</Title>
      <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
      <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
    </DVIRModel.BlobDetails>
  </DVIRAttachmentsRepair>
  <DVIRItems>
    <DVIRModel.DVIRItem>
      <DVIRItemAttachments>
        <DVIRModel.BlobDetails>
          <AllowDelete>true</AllowDelete>
          <AllowWrite>true</AllowWrite>
          <BlobKey>sample string 3</BlobKey>
          <BlobName>sample string 4</BlobName>
          <Description>sample string 6</Description>
          <FkeyId>2</FkeyId>
          <Id>1</Id>
          <MetaData>
            <Altitude>sample string 2</Altitude>
            <Direction>sample string 1</Direction>
            <Height>1</Height>
            <Latitude>1</Latitude>
            <Longitude>1</Longitude>
            <Speed>sample string 3</Speed>
            <Width>1</Width>
          </MetaData>
          <Title>sample string 5</Title>
          <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
          <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
        </DVIRModel.BlobDetails>
        <DVIRModel.BlobDetails>
          <AllowDelete>true</AllowDelete>
          <AllowWrite>true</AllowWrite>
          <BlobKey>sample string 3</BlobKey>
          <BlobName>sample string 4</BlobName>
          <Description>sample string 6</Description>
          <FkeyId>2</FkeyId>
          <Id>1</Id>
          <MetaData>
            <Altitude>sample string 2</Altitude>
            <Direction>sample string 1</Direction>
            <Height>1</Height>
            <Latitude>1</Latitude>
            <Longitude>1</Longitude>
            <Speed>sample string 3</Speed>
            <Width>1</Width>
          </MetaData>
          <Title>sample string 5</Title>
          <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
          <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
        </DVIRModel.BlobDetails>
      </DVIRItemAttachments>
      <DVIRItemID>4</DVIRItemID>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <Title>sample string 2</Title>
    </DVIRModel.DVIRItem>
    <DVIRModel.DVIRItem>
      <DVIRItemAttachments>
        <DVIRModel.BlobDetails>
          <AllowDelete>true</AllowDelete>
          <AllowWrite>true</AllowWrite>
          <BlobKey>sample string 3</BlobKey>
          <BlobName>sample string 4</BlobName>
          <Description>sample string 6</Description>
          <FkeyId>2</FkeyId>
          <Id>1</Id>
          <MetaData>
            <Altitude>sample string 2</Altitude>
            <Direction>sample string 1</Direction>
            <Height>1</Height>
            <Latitude>1</Latitude>
            <Longitude>1</Longitude>
            <Speed>sample string 3</Speed>
            <Width>1</Width>
          </MetaData>
          <Title>sample string 5</Title>
          <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
          <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
        </DVIRModel.BlobDetails>
        <DVIRModel.BlobDetails>
          <AllowDelete>true</AllowDelete>
          <AllowWrite>true</AllowWrite>
          <BlobKey>sample string 3</BlobKey>
          <BlobName>sample string 4</BlobName>
          <Description>sample string 6</Description>
          <FkeyId>2</FkeyId>
          <Id>1</Id>
          <MetaData>
            <Altitude>sample string 2</Altitude>
            <Direction>sample string 1</Direction>
            <Height>1</Height>
            <Latitude>1</Latitude>
            <Longitude>1</Longitude>
            <Speed>sample string 3</Speed>
            <Width>1</Width>
          </MetaData>
          <Title>sample string 5</Title>
          <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
          <UTCUploadedOn>2025-05-02T12:20:45.622049+00:00</UTCUploadedOn>
        </DVIRModel.BlobDetails>
      </DVIRItemAttachments>
      <DVIRItemID>4</DVIRItemID>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <Title>sample string 2</Title>
    </DVIRModel.DVIRItem>
  </DVIRItems>
  <EmployeeID>1</EmployeeID>
  <EngineHours>1.1</EngineHours>
  <IsPreTrip>true</IsPreTrip>
  <IsSafe>true</IsSafe>
  <Latitude>1</Latitude>
  <Location>sample string 6</Location>
  <LogID>1</LogID>
  <Longitude>1</Longitude>
  <Odometer>1</Odometer>
  <RepairBy>1</RepairBy>
  <RepairPerson>sample string 9</RepairPerson>
  <ReportPerson>sample string 2</ReportPerson>
  <Signature>sample string 7</Signature>
  <SignatureCertify>sample string 14</SignatureCertify>
  <SignatureRepair>sample string 11</SignatureRepair>
  <Status>NeedsRepair</Status>
  <UTCCreatedOn>2025-05-02T12:20:45.622049+00:00</UTCCreatedOn>
  <UTCDateCertify>2025-05-02T12:20:45.622049+00:00</UTCDateCertify>
  <UTCDateRepair>2025-05-02T12:20:45.622049+00:00</UTCDateRepair>
  <UTCTimeStamp>2025-05-02T12:20:45.622049+00:00</UTCTimeStamp>
  <UnitID>sample string 3</UnitID>
</DVIRModel.DVIRInfo>