參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

Validations:

  • Must be a Integer

search
選填

Search string

Validations:

  • Must be a String

page
選填

頁數,從 1 開始

Validations:

  • Must be a number.

per_page
選填

每頁要傳回的結果數量

Validations:

  • Must be a number.

order
選填

Sort field and order, e.g. 'name DESC'

Validations:

  • Must be a String

sort
選填

Hash version of 'order' param

Validations:

  • Must be a Hash

sort[by]
選填

Field to sort the results on

Validations:

  • Must be a String

sort[order]
選填

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • Must be a String