Gets G2N report data for a given payroll cycle by it's ID.

This endpoint gets categorized G2N data (including category group, category, sub-category and label) for each contract within a given payroll cycle for the provided id. Token scopes: payslips:read

Authentication

AuthorizationBearer
## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

cycle_idstringRequiredformat: "uuid"
The unique identifier for the payroll event.

Query parameters

limitintegerOptional1-100Defaults to 20
Maximum number of items to return. Defaults to 20.
cursorstringOptional
Cursor for pagination of results.

Response

Successful operation.
datalist of objects
List of contracts associated with the payroll event.
has_moreboolean
Indicates whether more pages are available.
created_atstringformat: "date-time"
Timestamp when the report was generated
updated_atstringformat: "date-time"
Timestamp when the report was updated
next_cursorstring or null
Pagination cursor to fetch the next page of results.
items_per_pageinteger
The number of items per page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error