POST api/CrewManagement/StartShift

Start the packaging line shift.

Request Information

URI Parameters

None.

Body Parameters

PackagingLineStartShiftRequest
NameDescriptionTypeAdditional information
PackagingLineIdNo

integer

None.

CrewLeaderEmployeeIdNo

integer

None.

StartDateTime

date

None.

ShiftType

PackagingLineShiftType

None.

Request Formats

application/json, text/json

Sample:
{
  "PackagingLineIdNo": 1,
  "CrewLeaderEmployeeIdNo": 2,
  "StartDateTime": "2025-06-18T08:46:03.1554565-05:00",
  "ShiftType": 1
}

text/html

Sample:
{"PackagingLineIdNo":1,"CrewLeaderEmployeeIdNo":2,"StartDateTime":"2025-06-18T08:46:03.1554565-05:00","ShiftType":1}

Response Information

Resource Description

GenericTransactionResponse

GenericTransactionResponse
NameDescriptionTypeAdditional information
ReturnedObject

Object

None.

IsSuccessful

Indicates if the transaction was successful or not.

boolean

None.

ReturnedMessages

Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction.

Collection of ReturnedMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnedObject": {},
  "IsSuccessful": true,
  "ReturnedMessages": null
}

text/html

Sample:
{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}