GET api/CheckList/GetCheckListByTransaction?apiKey={apiKey}&agreementID={agreementID}&replacementID={replacementID}&type={type}&status={status}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

agreementID

globally unique identifier

Required

replacementID

globally unique identifier

Required

type

integer

Required

status

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VehicleCheckList
NameDescriptionTypeAdditional information
VehicleCheckListID

globally unique identifier

None.

Name

string

None.

CheckOutCheckInStatus

CheckOutCheckInStatus

None.

VehicleCheckListIDs

Collection of globally unique identifier

None.

CheckInStatus

boolean

None.

CheckOutStatus

boolean

None.

TransactionID

globally unique identifier

None.

TransactionType

TransactionType

None.

ReplacementID

globally unique identifier

None.

VehicleID

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VehicleCheckListID": "a6b71835-5c9e-4ff3-92ca-5a5f8736059f",
    "Name": "sample string 2",
    "CheckOutCheckInStatus": 1,
    "VehicleCheckListIDs": [
      "00c0b8ea-0aa2-4996-be32-9b9b9404ae83",
      "dec2a7c6-ad7b-45eb-8858-7d51c0f10973"
    ],
    "CheckInStatus": true,
    "CheckOutStatus": true,
    "TransactionID": "f57cfc78-6e1c-40c3-b923-fdd12f502e5f",
    "TransactionType": 0,
    "ReplacementID": "7de49437-db98-493c-8e3a-0a1939748d8e",
    "VehicleID": "9b71487b-9886-4169-8e53-5a8d79d5e211"
  },
  {
    "VehicleCheckListID": "a6b71835-5c9e-4ff3-92ca-5a5f8736059f",
    "Name": "sample string 2",
    "CheckOutCheckInStatus": 1,
    "VehicleCheckListIDs": [
      "00c0b8ea-0aa2-4996-be32-9b9b9404ae83",
      "dec2a7c6-ad7b-45eb-8858-7d51c0f10973"
    ],
    "CheckInStatus": true,
    "CheckOutStatus": true,
    "TransactionID": "f57cfc78-6e1c-40c3-b923-fdd12f502e5f",
    "TransactionType": 0,
    "ReplacementID": "7de49437-db98-493c-8e3a-0a1939748d8e",
    "VehicleID": "9b71487b-9886-4169-8e53-5a8d79d5e211"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleCheckList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Vehicles">
  <VehicleCheckList>
    <CheckInStatus>true</CheckInStatus>
    <CheckOutCheckInStatus>CheckOut</CheckOutCheckInStatus>
    <CheckOutStatus>true</CheckOutStatus>
    <Name>sample string 2</Name>
    <ReplacementID>7de49437-db98-493c-8e3a-0a1939748d8e</ReplacementID>
    <TransactionID>f57cfc78-6e1c-40c3-b923-fdd12f502e5f</TransactionID>
    <TransactionType>None</TransactionType>
    <VehicleCheckListID>a6b71835-5c9e-4ff3-92ca-5a5f8736059f</VehicleCheckListID>
    <VehicleCheckListIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>00c0b8ea-0aa2-4996-be32-9b9b9404ae83</d3p1:guid>
      <d3p1:guid>dec2a7c6-ad7b-45eb-8858-7d51c0f10973</d3p1:guid>
    </VehicleCheckListIDs>
    <VehicleID>9b71487b-9886-4169-8e53-5a8d79d5e211</VehicleID>
  </VehicleCheckList>
  <VehicleCheckList>
    <CheckInStatus>true</CheckInStatus>
    <CheckOutCheckInStatus>CheckOut</CheckOutCheckInStatus>
    <CheckOutStatus>true</CheckOutStatus>
    <Name>sample string 2</Name>
    <ReplacementID>7de49437-db98-493c-8e3a-0a1939748d8e</ReplacementID>
    <TransactionID>f57cfc78-6e1c-40c3-b923-fdd12f502e5f</TransactionID>
    <TransactionType>None</TransactionType>
    <VehicleCheckListID>a6b71835-5c9e-4ff3-92ca-5a5f8736059f</VehicleCheckListID>
    <VehicleCheckListIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>00c0b8ea-0aa2-4996-be32-9b9b9404ae83</d3p1:guid>
      <d3p1:guid>dec2a7c6-ad7b-45eb-8858-7d51c0f10973</d3p1:guid>
    </VehicleCheckListIDs>
    <VehicleID>9b71487b-9886-4169-8e53-5a8d79d5e211</VehicleID>
  </VehicleCheckList>
</ArrayOfVehicleCheckList>