Workers' Comp Class Codes

A workers' compensation class code object represents a single workers' compensation identifier in Wunderite. It is used in the workers' compensation API to specify which workers' compensation class code is associated with a given entity.

Workers' compensation class codes are readonly objects in the API. They are created and managed by Wunderite.

The Workers' Comp Class Code object

A workers' compensation class code object contains the following properties:

Properties

  • Name
    code
    Type
    string
    Filterable
    Sortable
    Description

    The workers' compensation class code

  • Name
    description
    Type
    string
    Filterable
    Description

    The workers' compensation class code description

  • Name
    state
    Type
    nullable string
    Filterable
    Description

    The workers' compensation class code U.S. state. When null, applies to all U.S. states.


GET/api/v1/workers_comp_codes

List workers' comp class codes

This endpoint allows you to retrieve a paginated list of workers' compensation class codes.

Required parameters

  • Name
    filter[code]
    Type
    string
    Description

    Filter by workers' compensation class code. Not required if filter[search] is provided.

  • Name
    filter[state]
    Type
    nullable string
    Description

    Filter by U.S. state. Providing a state not found in the list below or null will result in a validation error.

Optional parameters

  • Name
    filter[search]
    Type
    string
    Description

    Search workers' comp class codes by a fuzzy match on the code or description

  • Name
    filter[description]
    Type
    string
    Description

    Filter workers' compensation class codes by a fuzzy match on the description to narrow down class codes to the correct phraseology

Request

GET
/api/v1/workers_comp_codes
curl -G https://app.wunderite.com/api/v1/workers_comp_codes \
-H "Authorization: Bearer {token}" \
-d "filter[code]=0005" \
-d "filter[state]=FL"

Response

{ "data": [ { "object": "workers_comp_code", "uuid": "8d788f95-f2d1-11ef-a445-0242c0a87503", "data": { "code": "0005", "description": "Farm--Nursery Employees & Drivers", "state": "FL" }
}, { "object": "workers_comp_code", "uuid": "8d788ff5-f2d1-11ef-a445-0242c0a87503", "data": { "code": "0005", "description": "Farm--Tree Planting--Reforestation & Drivers", "state": "FL" } } ], "path": "https:\/\/api.wunderite.com\/api\/v1\/workers_comp_codes", "per_page": 20, "next_cursor": null, "next_page_url": null, "prev_cursor": null, "prev_page_url": null }