Creates a new value for the specified dimension.
POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/dimension/{dimensionId}/value
Parameter name | Value | Description | Additional |
---|---|---|---|
dimensionId | int32 | Required | |
businessId | string | Required |
The request body takes a complete ReportingDimensionValueApiModel resource, containing the following writable properties:
{
"allEmployees": "boolean",
"externalId": "string",
"filterCombinationStrategy": "string",
"filters": [
{
"filterType": "string",
"value": "string"
}
],
"id": "int32",
"name": "string",
"reportingDimensionId": "int32",
"source": "string",
"specificEmployees": "string"
}
Name | Type | Description |
---|---|---|
allEmployees | boolean | Boolean |
externalId | string | String |
filterCombinationStrategy | string | String |
filters[] | array | |
filters[].filterType | string | String |
filters[].value | string | String |
id | int32 | Int32 |
name | string | String |
reportingDimensionId | int32 | Int32 |
source | string |
ExternalService
Possible values are:
|
specificEmployees | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
ReportingDimensionValueApiModel |
Powered by DapperDox