GET api/hero/scrapemptyboxrequest/workcenters
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CableWorkCenterViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdCableWorkCenter | integer |
None. |
|
| Description | string |
Required Max length: 300 |
|
| WorkCenter | WorkCenter |
Required Range: inclusive between 1 and 2147483647 |
|
| ShowOnDailySafetyLog | boolean |
None. |
|
| ShowOnScrap | boolean |
None. |
|
| EnableReceivingProcessOnScrap | boolean |
None. |
|
| FkReceivingProcessOnScrapSmsRecipientGroup | integer |
None. |
|
| ReceivingProcessOnScrapSmsRecipientGroupDescription | string |
None. |
|
| EnableRequestEmptyBoxProcessOnScrap | boolean |
None. |
|
| FkDefaultCablePrinter | integer |
None. |
|
| DefaultCablePrinterDescription | string |
None. |
|
| Active | boolean |
None. |
|
| LastDailySafetyLogDate | date |
None. |
|
| HasDailySafetyLogs | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IdCableWorkCenter": 1,
"Description": "sample string 2",
"WorkCenter": 1,
"ShowOnDailySafetyLog": true,
"ShowOnScrap": true,
"EnableReceivingProcessOnScrap": true,
"FkReceivingProcessOnScrapSmsRecipientGroup": 1,
"ReceivingProcessOnScrapSmsRecipientGroupDescription": "sample string 6",
"EnableRequestEmptyBoxProcessOnScrap": true,
"FkDefaultCablePrinter": 1,
"DefaultCablePrinterDescription": "sample string 8",
"Active": true,
"LastDailySafetyLogDate": "2025-11-06T19:16:51.6042402-05:00",
"HasDailySafetyLogs": true
},
{
"IdCableWorkCenter": 1,
"Description": "sample string 2",
"WorkCenter": 1,
"ShowOnDailySafetyLog": true,
"ShowOnScrap": true,
"EnableReceivingProcessOnScrap": true,
"FkReceivingProcessOnScrapSmsRecipientGroup": 1,
"ReceivingProcessOnScrapSmsRecipientGroupDescription": "sample string 6",
"EnableRequestEmptyBoxProcessOnScrap": true,
"FkDefaultCablePrinter": 1,
"DefaultCablePrinterDescription": "sample string 8",
"Active": true,
"LastDailySafetyLogDate": "2025-11-06T19:16:51.6042402-05:00",
"HasDailySafetyLogs": true
}
]
application/xml, text/xml
Sample:
<ArrayOfCableWorkCenterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Operations.Hero.Gulf.Application.Admin.WorkCenters.ViewModels">
<CableWorkCenterViewModel>
<Active>true</Active>
<DefaultCablePrinterDescription>sample string 8</DefaultCablePrinterDescription>
<Description>sample string 2</Description>
<EnableReceivingProcessOnScrap>true</EnableReceivingProcessOnScrap>
<EnableRequestEmptyBoxProcessOnScrap>true</EnableRequestEmptyBoxProcessOnScrap>
<FkDefaultCablePrinter>1</FkDefaultCablePrinter>
<FkReceivingProcessOnScrapSmsRecipientGroup>1</FkReceivingProcessOnScrapSmsRecipientGroup>
<HasDailySafetyLogs>true</HasDailySafetyLogs>
<IdCableWorkCenter>1</IdCableWorkCenter>
<LastDailySafetyLogDate>2025-11-06T19:16:51.6042402-05:00</LastDailySafetyLogDate>
<ReceivingProcessOnScrapSmsRecipientGroupDescription>sample string 6</ReceivingProcessOnScrapSmsRecipientGroupDescription>
<ShowOnDailySafetyLog>true</ShowOnDailySafetyLog>
<ShowOnScrap>true</ShowOnScrap>
<WorkCenter>Stranding</WorkCenter>
</CableWorkCenterViewModel>
<CableWorkCenterViewModel>
<Active>true</Active>
<DefaultCablePrinterDescription>sample string 8</DefaultCablePrinterDescription>
<Description>sample string 2</Description>
<EnableReceivingProcessOnScrap>true</EnableReceivingProcessOnScrap>
<EnableRequestEmptyBoxProcessOnScrap>true</EnableRequestEmptyBoxProcessOnScrap>
<FkDefaultCablePrinter>1</FkDefaultCablePrinter>
<FkReceivingProcessOnScrapSmsRecipientGroup>1</FkReceivingProcessOnScrapSmsRecipientGroup>
<HasDailySafetyLogs>true</HasDailySafetyLogs>
<IdCableWorkCenter>1</IdCableWorkCenter>
<LastDailySafetyLogDate>2025-11-06T19:16:51.6042402-05:00</LastDailySafetyLogDate>
<ReceivingProcessOnScrapSmsRecipientGroupDescription>sample string 6</ReceivingProcessOnScrapSmsRecipientGroupDescription>
<ShowOnDailySafetyLog>true</ShowOnDailySafetyLog>
<ShowOnScrap>true</ShowOnScrap>
<WorkCenter>Stranding</WorkCenter>
</CableWorkCenterViewModel>
</ArrayOfCableWorkCenterViewModel>