Creates a new producer production group.

SecurityBearer
Request
Request Body schema: application/json
required

The command to create the producer production group.

projectId
string <uuid>

Gets or sets the project id associated with the producer production group.

name
string or null

The name of the producer production group.

projectNumber
string or null

Gets or sets the project number.

projectName
string or null

Project name.

customerName
string or null

Gets or sets the customer name.

deliveryDate
string or null <date>

Gets or sets the estimated delivery date.

maxHeight
number or null <float>

Gets or sets the height of the tallest component.

maxSpan
number or null <float>

Gets or sets the maximum span of the group.

maxWeight
number or null <float>

Gets or sets the weight of the heaviest component.

totalBdft
number or null <float>

Gets or sets the total board feet (BDFT) of the producer production group.

totalComponents
integer or null <int32>

Gets or sets the total number of components in the producer production group.

totalLft
number or null <float>

Gets or sets the total linear feet (LFT) of the producer production group.

totalPieces
integer or null <int32>

Gets or sets the total number of pieces in the producer production group.

totalWeight
number or null <float>

Gets or sets the total weight of the producer production group.

uniquePieceCount
integer <int32>

Gets or sets the number of unique pieces in the producer production group.

Array of objects or null (ProductionSchedulerServer.Application.Features.ProducerProductionGroups.ComponentDto)

Gets or sets the components of the producer production group.

Array of objects or null (ProductionSchedulerServer.Application.Features.ProducerProductionGroups.SubPpgDto)

Gets or sets the sub producer production groups of the producer production group.

Responses
200

OK

201

Created

401

Unauthorized

500

Internal Server Error

post/api/producer-production-groups
Request samples
application/json
{
  • "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  • "name": "string",
  • "projectNumber": "string",
  • "projectName": "string",
  • "customerName": "string",
  • "deliveryDate": "2019-08-24",
  • "maxHeight": 0.1,
  • "maxSpan": 0.1,
  • "maxWeight": 0.1,
  • "totalBdft": 0.1,
  • "totalComponents": 0,
  • "totalLft": 0.1,
  • "totalPieces": 0,
  • "totalWeight": 0.1,
  • "uniquePieceCount": 0,
  • "components": [
    ],
  • "subPpgs": [
    ]
}
Response samples
application/json
{
  • "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  • "name": "string",
  • "projectNumber": "string",
  • "projectName": "string",
  • "customerName": "string",
  • "deliveryDate": "2019-08-24",
  • "maxHeight": 0.1,
  • "maxSpan": 0.1,
  • "maxWeight": 0.1,
  • "totalBdft": 0.1,
  • "totalComponents": 0,
  • "totalLft": 0.1,
  • "totalPieces": 0,
  • "totalWeight": 0.1,
  • "uniquePieceCount": 0,
  • "components": [
    ],
  • "subPpgs": [
    ],
  • "id": 0,
  • "version": "string"
}