Creates a new pay condition rule set. Note: Cannot create award-based rule sets via API.
POST http:///api/v2/business/{businessId}/payconditionruleset
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| businessId | string | Required |
The request body takes a complete CreateUpdatePayConditionRuleSetRequest resource, containing the following writable properties:
{
"dayOfMonthEnding": "int32",
"dayOfWeekEnding": "string",
"description": "string",
"name": "string",
"periodEnding": "date-time",
"periodType": "string",
"shiftConsolidationMinutes": "int32",
"shiftConsolidationOption": "string"
}
| Name | Type | Description |
|---|---|---|
| dayOfMonthEnding | int32 |
Nullable |
| dayOfWeekEnding | string |
Nullable Possible values are:
|
| description | string | String |
| name | string | String |
| periodEnding | date-time |
Nullable |
| periodType | string |
RuleSetPeriodType
Possible values are:
|
| shiftConsolidationMinutes | int32 |
Nullable |
| shiftConsolidationOption | string |
ShiftConsolidationOption
Possible values are:
|
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 201 | Created Created |
MyPayConditionRuleSetApiModel |
| 400 | Bad Request Bad Request |
ProblemDetails |
Powered by DapperDox