Authorization: Bearer ********************
curl --location -g --request GET 'https://mock.apidog.com/m1/463678-0-default/users?page&pagination&email&name&surname&phone&exists[deletedAt]&fields[]=fields[]=id&rolesCollection.id[]=rolesCollection.id[]=2'
{
"data": [
{
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"departmentCode": {
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"code": "string"
},
"position": {
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"title": "string"
},
"group": {
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"title": "string"
},
"codes": [
{
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"code": "string"
}
],
"roles": [
{
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"title": "string",
"allServices": true,
"services": [
{
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"title": "string",
"departureCountry": {
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"title": "string"
},
"departureCity": {
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"title": "string",
"country": {
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"title": "string"
}
},
"isForwarding": false
}
]
}
],
"partner": {
"id": "string",
"name": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [],
"roles": [],
"partner": {
"id": "string",
"name": "string"
}
},
"updatedBy": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [],
"roles": [],
"partner": {
"id": "string",
"name": "string"
}
},
"parent": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [],
"roles": [],
"partner": {
"id": "string",
"name": "string"
}
},
"isAdmin": false
}
],
"pagination": {
"first": 1,
"current": 1,
"last": 1,
"previous": 1,
"next": 1,
"total": 0
}
}