Create Worker Comp Codes

Creates a new ConfigWcCode or links an existing ConfigWcCode to BOLD, including rates, as an atomic operation.

Body Params
string

The workers' compensation code value.

string

The two-letter state code.

string

The two-letter country code.

string

The description of the WC code.

string
enum
Defaults to RG

Processing method (RG = Regular, FG = Flat, Hourly = Hourly based). Default value is RG.

Allowed:
branchExternalIds
array of strings
length ≥ 1

List of branch (office) external IDs. This array must contain at least one officeId and cannot be empty. The provided officeId(s) are used to determine the corresponding StaffingSupplierGUID.

branchExternalIds
string

The BOLD wcCodeID used for external reference.

rates
array of objects

List of rate records associated with this WC code.

rates
Headers
integer
required

An integer identifier for the tenant that the request is being made for.

string
required
length between 1 and 100

The string source name (such as application or function name) that indicates the origin of the request.

string
enum
required

The external ID source that determines which external reference source is used to perform an external ID lookup.

Allowed:
uuid
required

The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.

string
required

The identifier of the Avionté BOLD user on whose behalf the request is performed. Used to establish the user context for auditing, permission checks, and user-attributed actions. This value must correspond to a valid, active Avionté Back Office user. If the identifier cannot be resolved, the request is rejected.

Responses

405

Unsupported method

415

Unsupported format(s) indicated by the Content-Type header

429

Too many requests

500

An unexpected error occurred

502

Service Unavailable

504

Gateway Timeout

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json