Usuários
List the users for the filtered company
POST
-> /graphql
query {
allUsers(company: "Q29tcGFueU5vZGU6MQ==", orderBy: ["name"]) {
edges {
node {
id
email
totalApproved
}
cursor
}
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
}
}
Response
{
"data": {
"allUsers": {
"edges": [
{
"cursor": "YXJyYXljb25uZWN0aW9uOjA=",
"node": {
"email": "steve@zagapp.com.br",
"id": "VXNlck5vZGU6MTQ=",
"totalApproved": 0.0
}
},
{
"cursor": "YXJyYXljb25uZWN0aW9uOjE=",
"node": {
"email": "jobs@zagapp.com.br",
"id": "VXNlck5vZGU6MTY5MDQ=",
"totalApproved": 0.0
}
}
],
"pageInfo": {
"endCursor": "YXJyYXljb25uZWN0aW9uOjk5",
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "YXJyYXljb25uZWN0aW9uOjA="
}
}
}
}