Skip to main content

cURL

Example of a cURL request to the GraphQL endpoint.

curl -i -X POST https://datamart.visma.net/graphql \
-H "Authorization: Bearer <your access token>" \
-d '{
"query": "query GetBudgets ($pageSize: Int){ budgets(pageSize: $pageSize) { companyId\n id\n } } ",
"variables": {"pageSize": 5000},
"operationName": "GetBudgets"
}'