GET api/hero/employeeviolation/reasoncodes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CableEmployeeViolationReasonCodeViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FkReasonCodeCategory | integer |
Required |
|
CableEmployeeViolationReasonCodeCategory | string |
None. |
|
Description | string |
Required Max length: 100 |
|
Active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "FkReasonCodeCategory": 2, "CableEmployeeViolationReasonCodeCategory": "sample string 3", "Description": "sample string 4", "Active": true }, { "Id": 1, "FkReasonCodeCategory": 2, "CableEmployeeViolationReasonCodeCategory": "sample string 3", "Description": "sample string 4", "Active": true } ]
application/xml, text/xml
Sample:
<ArrayOfCableEmployeeViolationReasonCodeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Operations.Hero.Gulf.Application.Manufacturings.EmployeeViolation.Admin.ReasonCode.ViewModels"> <CableEmployeeViolationReasonCodeViewModel> <Active>true</Active> <CableEmployeeViolationReasonCodeCategory>sample string 3</CableEmployeeViolationReasonCodeCategory> <Description>sample string 4</Description> <FkReasonCodeCategory>2</FkReasonCodeCategory> <Id>1</Id> </CableEmployeeViolationReasonCodeViewModel> <CableEmployeeViolationReasonCodeViewModel> <Active>true</Active> <CableEmployeeViolationReasonCodeCategory>sample string 3</CableEmployeeViolationReasonCodeCategory> <Description>sample string 4</Description> <FkReasonCodeCategory>2</FkReasonCodeCategory> <Id>1</Id> </CableEmployeeViolationReasonCodeViewModel> </ArrayOfCableEmployeeViolationReasonCodeViewModel>