Returns a list of Transactions which match the supplied filter (JSON encoded).

Currently supported filters:

  • reference_number (string)
  • check_in (boolean) true=check-in, false=check-out, null=add media
  • damage (boolean)
  • created_at (time, time range) May be a time (in ISO 8601 format), in which case only Transactions at or after that time will be returned. It may also be a range of times, expressed as an array.
  • user_id (string)
  • location_id (string)
  • group_id (string) Group of inspections in checkout-update-checkin transaction cycle
  • extended (object) Matches field(s) in the extended data. Supports dot notation to match nested objects and arrays.

Examples

    $ curl -i \
      -H "Accept: application/json; version=1" \
      -H "Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQyLCJpYXQiOjE0NjM2OTQ4MjN9.k48v-R-un93KdIXqp9Zi12JOGJCu8uibtrWjscFCTqc" \
      "https://api.record360.com/api/transactions?after_id=41&limit=2"

    HTTP/1.1 200 OK
    Content-Type: application/json; charset=utf-8
    Cache-Control: max-age=0, private, must-revalidate

{
   "transactions":[
      {
         "id":"42",
         "external_id":"242-940-1217 x898",
         "check_in":true,
         "notations":{

         },
         "email_sent_to":[

         ],
         "damage_cost":0.0,
         "user":{
            "id":"4",
            "username":"macy@@domain.example",
            "first_name":"Macy",
            "last_name":"Metova"
         },
         "location":{
            "id":"4",
            "name":"Main Office"
         },
         "transaction":{
            "id":"8",
            "check_in":true,
            "draft":false,
            "email_sent_to":[

            ],
            "created_at":"2014-02-19T06:46:33.000Z",
            "workflow_modules":[
               "RC2",
               "LB1",
               "LB2",
               "M1",
               "N2",
               "F01",
               "E1",
               "C2"
            ],
            "archive_status":"archived",
            "workflow_id":"4099",
            "group_id":"68",
            "view_url":"https://dashboard.record360.com/dashboard/inspections/8",
            "asset":{
               "id":"42",
               "external_id":"242-940-1217 x898"
            },
            "user":{
               "id":"4",
               "username":"macy@@domain.example",
               "first_name":"Macy",
               "last_name":"Metova"
            },
            "location":{
               "id":"4",
               "name":"Main Office"
            },
            "photos":[
               {
                  "id":"15",
                  "created_at":"2014-02-19T06:46:33.000Z",
                  "url":"https://app.record360.com/m/JqS0",
                  "instruction_id":"front-fender"
               },
               {
                  "id":"16",
                  "created_at":"2014-02-19T06:46:33.000Z",
                  "url":"https://app.record360.com/m/bASE",
                  "instruction_id":"odometer"
               }
            ],
            "videos":[
               {
                  "id":"15",
                  "created_at":"2014-02-19T06:46:33.000Z",
                  "byte_size":0,
                  "url":"https://app.record360.com/m/b1Hb",
                  "duration":0.0
               },
               {
                  "id":"16",
                  "created_at":"2014-02-19T06:46:33.000Z",
                  "byte_size":0,
                  "url":"https://app.record360.com/m/68H1",
                  "duration":0.0
               }
            ],
            "signatures":[
               {
                  "id":"8",
                  "url":"https://app.record360.com/m/EBsQ",
                  "created_at":"2014-02-19T06:46:33.000Z"
               }
            ],
            "ident_docs":[

            ],
            "files":[

            ]
         },
         "drafts":[

         ],
         "photos":[

         ],
         "videos":[

         ],
         "signatures":[

         ],
         "damages":[

         ],
         "extended":{
            "fleet_id":4279
         }
      },
      {
         "id":"43",
         "external_id":"606-565-5874",
         "check_in":false,
         "notations":{

         },
         "email_sent_to":[

         ],
         "damage_cost":0.0,
         "user":{
            "id":"5",
            "username":"pleb1@@domain.example",
            "first_name":"plebian",
            "last_name":"one"
         },
         "transaction":{
            "id":"9",
            "check_in":false,
            "draft":false,
            "email_sent_to":[

            ],
            "created_at":"2014-02-19T06:46:34.000Z",
            "archive_status":"active",
            "view_url":"https://dashboard.record360.com/dashboard/inspections/9",
            "asset":{
               "id":"43",
               "external_id":"606-565-5874"
            },
            "user":{
               "id":"5",
               "username":"pleb1@@domain.example",
               "first_name":"plebian",
               "last_name":"one"
            },
            "photos":[
               {
                  "id":"17",
                  "created_at":"2014-02-19T06:46:33.000Z",
                  "url":"https://app.record360.com/m/6GSV"
               },
               {
                  "id":"18",
                  "created_at":"2014-02-19T06:46:33.000Z",
                  "url":"https://app.record360.com/m/88Se"
               }
            ],
            "videos":[
               {
                  "id":"17",
                  "created_at":"2014-02-19T06:46:33.000Z",
                  "byte_size":0,
                  "url":"https://app.record360.com/m/8EHD",
                  "duration":0.0
               },
               {
                  "id":"18",
                  "created_at":"2014-02-19T06:46:34.000Z",
                  "byte_size":0,
                  "url":"https://app.record360.com/m/77H7",
                  "duration":0.0
               }
            ],
            "signatures":[
               {
                  "id":"9",
                  "url":"https://app.record360.com/m/PWsK",
                  "created_at":"2014-02-19T06:46:34.000Z"
               }
            ],
            "ident_docs":[

            ],
            "files":[

            ]
         },
         "drafts":[

         ],
         "photos":[

         ],
         "videos":[
            {
               "id":"17",
               "duration":0.0,
               "created_at":"2014-02-19T06:46:33.000Z",
               "byte_size":0,
               "url":"https://app.record360.com/m/8EHD"
            },
            {
               "id":"18",
               "duration":0.0,
               "created_at":"2014-02-19T06:46:34.000Z",
               "byte_size":0,
               "url":"https://app.record360.com/m/77H7"
            }
         ],
         "signatures":[
            {
               "id":"9",
               "url":"https://app.record360.com/m/PWsK",
               "created_at":"2014-02-19T06:46:34.000Z"
            }
         ],
         "damages":[
            {
               "id":"17",
               "photos":[
                  {
                     "id":"17",
                     "created_at":"2014-02-19T06:46:33.000Z",
                     "byte_size":0,
                     "url":"https://app.record360.com/m/6GSV"
                  }
               ]
            },
            {
               "id":"18",
               "photos":[
                  {
                     "id":"18",
                     "created_at":"2014-02-19T06:46:33.000Z",
                     "byte_size":0,
                     "url":"https://app.record360.com/m/88Se"
                  }
               ]
            }
         ],
         "extended":{
            "fleet_id":4280
         }
      }
   ],
   "links":{
      "prev":"https://api.record360.com/api/transactions?before_id=42&limit=2",
      "next":"https://api.record360.com/api/transactions?after_id=43&limit=2"
   }
}

Params

Param name Description
before_id
optional

Return Transactions before the specified ID

Validations:

  • Must be a String

after_id
optional

Return Transactions after the specified ID

Validations:

  • Must be a String

limit
optional

Limit the number of Transactions to return (max: 50)

Validations:

  • Must be a number.

filter
optional

Filter results by attribute (JSON encoded)

Validations:

  • Must be a String