/user/managers/get
Get managers list.
Parameters
Name |
Type |
Required |
Example |
Description |
clientId |
string(40) |
yes |
04f78...9f9f3 |
Client id is a unique user identifier provided by GatherUp. |
email |
string |
no |
test@ |
Search by email token. |
hash |
string(64) |
yes |
bd13a40...303f3c5 |
Hash is a digital request signature. Learn how to generate hash here. |
page |
integer |
no |
1 |
Page. |
aggregateResponse |
integer |
no |
1 |
It will return an array with results of numbered items. |
Request
POST https://app.gatherup.com/api/user/managers/get
[Content-Type: application/json]
{
"clientId":"80338307b78b8d84c8b4d40e63e235cc312fcebe",
"hash":"3b288032e87d12c08c95dc8a96128f19ec1ec207af383328413d18f9e0aaf1fd"
}
Response
{
"page":1,
"pages":1,
"userId1":"46316",
"userEmail1":"demo@demo.com",
"userFirstName1":"demo",
"userLastName1":"demo",
"userId2":"46317",
"userEmail2":"demo2@demo.com",
"userFirstName2":"demo first name",
"userLastName2":"demo last name",
"count":2,
"perPage":100,
"errorCode":0,
"errorMessage":"Success"
}
Errors
errorCode |
errorMessage |
-1 |
Unknown error |
1 |
Invalid hash sign |
2 |
Invalid clientId |
3 |
Server error - please contact support |