Rentals

GET rental activities

Changed on

Get a list of activities for a rental. The activities include most major things in a rentals life cycle - both confirmed things that have already happened, as well as anticipated future activities.

get/rentals/{rental_id}/activities

Request

  • Base URL
    https://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

rental_id, integer required

The ID of the rental to get activities for.

Query parameters

state, string[]

Only return activities in this state.

end, integer

Only return activities happening before this timestamp.

start, integer

Only return activities happening after this timestamp.

market_id, integer[]

Only return activities happening in this market/branch (or list of markets/branches, several are allowed).

type, string[]

Only return activities of this type.

Response

RentalActivityResponse[] required
data, object

Additional data related to the rental activity.

date, string required

Timestamp of when the activity occurred or is expected to occur.

rental_id, integer required

ID of the rental.

state, string required

State of the rental activity.

type, string required

Type of the rental activity.

Changes