Create Labor Distribution Groups

This operation creates one or more labor distribution groups.

Note: This operation supports a payload size of up to 1 MB.

The associated Access Control Point is WFF_LABOR_DISTRIBUTION_GROUPS.

Service limit

A service limit constrains the number of labor distribution groups that can be processed in a single request.

  • The Number of Labor Distribution Groups cannot exceed 5,000.

Refer to the Limits topic for more information.

Example call

Example request

[
  {
    "name": "Labor Distribution Group1",
    "description": "Labor Distribution Group desc",
    "laborDistributionGroupValue": {
      "borrowJob": {
        "genericDepartment": {
          "id": 201,
          "qualifier": "Td1"
        },
        "genericJob": {
          "id": 201,
          "qualifier": "Td1"
        }
      },
      "upToMinimum": true,
      "lenderJobs": [
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 205,
              "qualifier": "Td5"
            },
            "genericJob": {
              "id": 206,
              "qualifier": "Td6"
            }
          },
          "rank": 1,
          "allocationMethod": {
            "qualifier": "HOURS"
          },
          "amount": 2.5
        },
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 205,
              "qualifier": "Td5"
            },
            "genericJob": {
              "id": 207,
              "qualifier": "Td7"
            }
          },
          "rank": 2,
          "allocationMethod": {
            "qualifier": "HOURS"
          },
          "amount": 5.5
        }
      ],
      "borrowHours": {
        "qualifier": "HIGHEST_PEAK_FROM_LEFT"
      }
    }
  },
  {
    "name": "Labor Distribution Group2",
    "description": "Labor Distribution Group test2",
    "laborDistributionGroupValue": {
      "borrowJob": {
        "genericDepartment": {
          "id": 202,
          "qualifier": "Td2"
        },
        "genericJob": {
          "id": 202,
          "qualifier": "Td2"
        }
      },
      "upToMinimum": false,
      "lenderJobs": [
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 205,
              "qualifier": "Td5"
            },
            "genericJob": {
              "id": 206,
              "qualifier": "Td6"
            }
          },
          "rank": 1,
          "allocationMethod": {
            "qualifier": "PERCENT"
          },
          "amount": 3.5
        },
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 208,
              "qualifier": "Td8"
            },
            "genericJob": {
              "id": 207,
              "qualifier": "Td7"
            }
          },
          "rank": 2,
          "allocationMethod": {
            "qualifier": "HOURS"
          },
          "amount": 5.5
        }
      ]
    }
  }
]

Example response

[
  {
    "id": "18",
    "version": 1,
    "name": "Labor Distribution Group1",
    "description": "Labor Distribution Group desc",
    "laborDistributionGroupValue": {
      "borrowJob": {
        "genericDepartment": {
          "id": 201,
          "qualifier": "Td1"
        },
        "genericJob": {
          "id": 201,
          "qualifier": "Td1"
        }
      },
      "upToMinimum": true,
      "lenderJobs": [
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 205,
              "qualifier": "Td5"
            },
            "genericJob": {
              "id": 206,
              "qualifier": "Td6"
            }
          },
          "rank": 1,
          "allocationMethod": {
            "id": 1,
            "qualifier": "HOURS",
            "name": "Hours"
          },
          "amount": 2.5
        },
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 205,
              "qualifier": "Td5"
            },
            "genericJob": {
              "id": 207,
              "qualifier": "Td7"
            }
          },
          "rank": 2,
          "allocationMethod": {
            "id": 1,
            "qualifier": "HOURS",
            "name": "Hours"
          },
          "amount": 5.5
        }
      ],
      "borrowHours": {
        "id": 2,
        "qualifier": "HIGHEST_PEAK_FROM_LEFT",
        "name": "Highest peak from left"
      }
    }
  },
  {
    "id": "19",
    "version": 1,
    "name": "Labor Distribution Group2",
    "description": "Labor Distribution Group test2",
    "laborDistributionGroupValue": {
      "borrowJob": {
        "genericDepartment": {
          "id": 202,
          "qualifier": "Td2"
        },
        "genericJob": {
          "id": 202,
          "qualifier": "Td2"
        }
      },
      "upToMinimum": false,
      "lenderJobs": [
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 205,
              "qualifier": "Td5"
            },
            "genericJob": {
              "id": 206,
              "qualifier": "Td6"
            }
          },
          "rank": 1,
          "allocationMethod": {
            "id": 2,
            "qualifier": "PERCENT",
            "name": "Percent"
          },
          "amount": 3.5
        },
        {
          "lenderJob": {
            "genericDepartment": {
              "id": 208,
              "qualifier": "Td8"
            },
            "genericJob": {
              "id": 207,
              "qualifier": "Td7"
            }
          },
          "rank": 2,
          "allocationMethod": {
            "id": 1,
            "qualifier": "HOURS",
            "name": "Hours"
          },
          "amount": 5.5
        }
      ]
    }
  }
]

Language
Credentials
Bearer
JWT
URL