Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagenone
curl --location 'https://devdemo.tireconnect.ca/api/account/v2/location/connection-request/list' \
--header 'accept: application/json' \
--header 'token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJwYXJ0bmVyIjoiM2I5YzM3N2YtOGJlNi00NjljLWI0MGEtM2ZkMzg1ZDMzZTIxIiwiZXhwIjoxNzIwNTIxNzAwfQ.BlXxKXe5wT3TEtynlFNaPdcpUs82l1ZXTIO7fRmy-KyZrpHHTUbLW3oG3HWucvz0ZzhMTxm-XffCky5A2bjmYo1oCDPPYjfOeuI1vT-ddhSgtnsnXZacfuBK_2E0lSktTdQNllUZB14VGqCcv0vVSJ567_CFT6WaguSjBaYRK40' \
--header 'Content-Type: application/json' \
--data '{
   "location_id":1,
   "filter":{
      "status":[
         "approveapproved",
         "pending",
         "rejectrejected"
      ],
      "connection_request_id":[
         1,
         2
      ],
      "created_at":{
         "from":"2024-01-01 00:00:00",
         "to":"2025-01-01 23:59:59"
      },
      "updated_at":{
         "from":"2024-01-01 00:00:00",
         "to":"2025-01-01 23:59:59"
      }
   },
   "limit":10,
   "offset":0,
   "sort_by":"created_at",
   "sort_how":"desc"
}'

...

location_id
int

Location id

required

filter
object

An object of filters

Available values:
filterstatus
connection_request_id
created_at
updated_at

optional

limit
int

Limit

optional

offset
int

Offset

optional

sort_by
string

Sort by

optional

sort_how
string

Sort how

optional

...