post https://{hostname}/api/v1/forecasting/labor_distribution_group_profiles/multi_create
This operation creates one or more labor distribution group profiles.
Note: This operation supports a payload size of up to 1 MB.
The associated Access Control Point is as follows:
-
ACP Key: WFF_LABOR_DISTRIBUTION_GROUP_PROFILES
-
API Access Controlled By: Edit: Allowed
-
Default Value: Disallowed
-
Location in the UI: Retail Manager > Manager - Common Setup > Forecast Configuration > Labor Distribution Group Profiles
Service limit
A service limit constrains the number of labor distribution group profiles that can be processed in a single request.
- The Number of Labor Distribution Group Profiles cannot exceed 5,000.
Refer to the Limits topic for more information.
Example call
Example request
[
{
"name": "Labor Distribution GroupProfile1",
"description": "Labor Distribution Group Profile Alaska",
"laborDistributionGroups": [
{
"id": 18,
"qualifier": "Labor Distribution Group 1"
},
{
"id": 19,
"qualifier": "Labor Distribution Group 2"
}
],
"laborDistributionGroupAssignments": [
{
"id": 486,
"qualifier": "Organization/United States/Metropolitan Store/Alaska"
}
],
"asOdDate": "2022-06-21"
},
{
"name": "Labor Distribution GroupProfile2",
"description": "Labor Distribution Group Profile desc",
"laborDistributionGroups": [
{
"id": 20,
"qualifier": "Labor Distribution Group 3"
},
{
"id": 21,
"qualifier": "Labor Distribution Group 4"
}
],
"laborDistributionGroupAssignments": [
{
"id": 201,
"qualifier": "Td1"
}
],
"asOdDate": "2022-06-22"
}
]
Example response
[
{
"id": 1,
"name": "Labor Distribution GroupProfile1",
"description": "Labor Distribution Group Profile Alaska",
"version": 1,
"laborDistributionGroups": [
{
"id": 18,
"qualifier": "Labor Distribution Group 1"
},
{
"id": 19,
"qualifier": "Labor Distribution Group 2"
}
],
"laborDistributionGroupAssignments": [
{
"id": 486,
"qualifier": "Organization/United States/Metropolitan Store/Alaska"
}
]
},
{
"id": 2,
"name": "Labor Distribution GroupProfile2",
"description": "Labor Distribution Group Profile desc",
"version": 1,
"laborDistributionGroups": [
{
"id": 20,
"qualifier": "Labor Distribution Group 3"
},
{
"id": 21,
"qualifier": "Labor Distribution Group 4"
}
],
"laborDistributionGroupAssignments": [
{
"id": 201,
"qualifier": "Td1"
}
]
}
]