GET
/
suppliers
/
{id}
/
resources
curl --request GET \
  --url https://api.zivio.net/api/v3/suppliers/{id}/resources \
  --header 'X-API-Key: <api-key>' \
  --header 'zivio-tenant-id: <api-key>'
{
  "id": "77",
  "name": "Doe, John",
  "resourceable_type": "Worker",
  "resourceable_id": "15",
  "archived_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required
zivio-tenant-id
string
header
required

Path Parameters

id
string
required

Query Parameters

q
string

Query string, search in name.

created
string

Date range [2020-01-01+TO+2020-01-30] to search based on created timestamp for object.

updated
string

Date range [2020-01-01+TO+2020-01-30] to search based on updated timestamp for object.

sort
string

Results are sorted by created desc as default. Ordering may be specified, available options are ['created', 'updated'], which can be combined in a comma separated list, e.g. updated:desc,created:asc

limit
integer

Number of results returned per request

page
integer

Paginate results when number of results exceeds limit

Response

200
*/*
ok
id
integer
Example:

"77"

name
string
Example:

"Doe, John"

resourceable_type
string
Example:

"Worker"

resourceable_id
integer
Example:

"15"

archived_at
string
created_at
string
updated_at
string