GET api/{idcompany}/absencetypes/{idabsencetype}?idlanguage={idlanguage}&active={active}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idcompany

integer

Required

idabsencetype

integer

Required

idlanguage

integer

Default value is 1

active

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

Library_BLL_AbsenceType
NameDescriptionTypeAdditional information
IDAbsenceType

integer

None.

AbsenceTypeCode

string

None.

AbsenceTypeName

string

None.

AbsenceTypeDescription

string

None.

AbsenceTypeColor

string

None.

AbsenceTypeIcon

string

None.

Deductible

boolean

None.

IncludeSpecialDays

boolean

None.

IDDeductFrom

integer

None.

RequestType

integer

None.

PartialDayIncrement

integer

None.

MinDaysPrior

integer

None.

Exportable

boolean

None.

DisplayType

integer

None.

ExportType

integer

None.

IsHuman

boolean

None.

IsSpecial

boolean

None.

BankHours

boolean

None.

NeedSecondLevelValidation

boolean

None.

AssiduityIncrease

boolean

None.

Active

boolean

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IDAbsenceType": 1,
  "AbsenceTypeCode": "sample string 2",
  "AbsenceTypeName": "sample string 3",
  "AbsenceTypeDescription": "sample string 4",
  "AbsenceTypeColor": "sample string 5",
  "AbsenceTypeIcon": "sample string 6",
  "Deductible": true,
  "IncludeSpecialDays": true,
  "IDDeductFrom": 9,
  "RequestType": 10,
  "PartialDayIncrement": 11,
  "MinDaysPrior": 12,
  "Exportable": true,
  "DisplayType": 14,
  "ExportType": 15,
  "IsHuman": true,
  "IsSpecial": true,
  "BankHours": true,
  "NeedSecondLevelValidation": true,
  "AssiduityIncrease": true,
  "Active": true,
  "CreatedBy": 22,
  "UpdatedBy": 23
}