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