GET api/CrewManagement/GetActiveCrew/{packagingLineIdNo}/{username}
Get the active crew for the packaging line.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
packagingLineIdNo | integer |
Required |
|
username | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PackagingLineCrew
PackagingLineCrewName | Description | Type | Additional information |
---|---|---|---|
CrewLeaderName | string |
None. |
|
PackagingLineName | string |
None. |
|
ShiftTypeDisplayName | string |
None. |
|
LaborHours | decimal number |
None. |
|
Pounds | decimal number |
None. |
|
PoundsPerLaborHour | decimal number |
None. |
|
IsInStartMode | boolean |
None. |
|
IdNo | integer |
None. |
|
PackagingLineIdNo | integer |
None. |
|
CrewLeaderEmployeeIdNo | integer |
None. |
|
ShiftType | PackagingLineShiftType |
None. |
|
StartDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
CreatedDateTime | date |
None. |
|
ObjectKeyStringWithVersion | string |
None. |
|
VersionNo | integer |
None. |
|
IsActive | boolean |
None. |
|
LastModifiedBy | string |
None. |
|
ObjectKeyString | string |
None. |
|
PrimaryKey | Collection of Object |
None. |
|
IsPrimaryKeyInitialized | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "CrewLeaderName": "sample string 1", "PackagingLineName": "sample string 2", "ShiftTypeDisplayName": "First", "LaborHours": 3.0, "Pounds": 4.0, "PoundsPerLaborHour": 1.33, "IsInStartMode": true, "IdNo": 5, "PackagingLineIdNo": 6, "CrewLeaderEmployeeIdNo": 7, "ShiftType": 1, "StartDateTime": "2025-06-18T10:01:04.099805-05:00", "EndDateTime": "2025-06-18T10:01:04.099805-05:00", "CreatedDateTime": "2025-06-18T10:01:04.099805-05:00", "ObjectKeyStringWithVersion": "sample string 10", "VersionNo": 11, "IsActive": true, "LastModifiedBy": "sample string 13", "ObjectKeyString": "sample string 14", "PrimaryKey": [ 5 ], "IsPrimaryKeyInitialized": true }
text/html
Sample:
{"CrewLeaderName":"sample string 1","PackagingLineName":"sample string 2","ShiftTypeDisplayName":"First","LaborHours":3.0,"Pounds":4.0,"PoundsPerLaborHour":1.33,"IsInStartMode":true,"IdNo":5,"PackagingLineIdNo":6,"CrewLeaderEmployeeIdNo":7,"ShiftType":1,"StartDateTime":"2025-06-18T10:01:04.099805-05:00","EndDateTime":"2025-06-18T10:01:04.099805-05:00","CreatedDateTime":"2025-06-18T10:01:04.099805-05:00","ObjectKeyStringWithVersion":"sample string 10","VersionNo":11,"IsActive":true,"LastModifiedBy":"sample string 13","ObjectKeyString":"sample string 14","PrimaryKey":[5],"IsPrimaryKeyInitialized":true}