Skip to content

Get user related to cost centers

get
https://api.mercadoe.com/v1/users/{userId}/cost-centers

Get a list of all cost centers assigned to a specific user.

Request

Path Parameters

userId
int32
required
the user id

Query Parameters

pageNumber
int32
the page number must be an integer greater than or equal to 1
default: 1
pageSize
int32
the page size must be an integer greater than or equal to 1
default: 10

Responses

200
404
OK

Body

application/json
data
array of object
hits
int32 | null
next
string | null