Create your first roster
Authenticate
Retrieve an access token from Visma Connect. See Authentication for detailed instructions on creating an application, adding the
Automatic Rostering integration, and requesting a token with the automatic-rostering:full scope.Specify the roster request
Build your roster request payload for the
/roster/start endpoint. For your first job, feel free to use the example payload below as a starting point.Example payload
Example payload
Generate your first roster
Use the
POST /roster/start endpoint to start a job. The response will contain the jobId for your roster job.Check job status
The job is now running. You can poll the
GET /roster/status/{jobId} endpoint to retrieve its current status and see whether it is still running or has stopped.Generate types from the specification
The Automatic Rostering API is built on the OpenAPI Specification. You can generate code for your preferred programming language using the OpenAPI Specification. Once you have some experience with designing the payloads, we highly recommend using code-generation tools to help you get started with the API through the OpenAPI specification.Get the OpenAPI specification
Get the OpenAPI specification
The OpenAPI specification for the Automatic Rostering service is available at
/openapi.yaml.Generate code
Generate code
Use the OpenAPI Generator or Swagger Codegen to generate code for your preferred programming language.For example, to generate a C# client with the OpenAPI Generator, you can use the following command:
