Parameter | Type | Default | Description |
---|---|---|---|
per_page | integer | 100 | Number of results to be returned per request (100 is the maximum) |
page_no | integer | 1 | Number of results page |
search_query | string | null | If provided, only Resources that have any of their attribute values matching the provided string are returned |
resource_type | string | null | If provided, only Resources that belong to the resource type of provided name are returned |
resource_type_kind | string | null | If provided, only Resources that belong to the resource type of provided kind are returned |
campaign_type | array[string] | null | If provided, only Resources with the provided campaign types are returned |
state | array[string] | null | If provided, only Resources with the provided states are returned |
{
"resources": [], // List of resources - see 'Resource model'
"pagination_info": {} // Pagination info - see 'Pagination info'
}
curl --location --request GET 'https://api.mpc.dev.placewise.com/v1/users/me/operations/resources' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Store-Id;'
{}