POST api/SaveAbsenceType
Request Information
URI Parameters
None.
Body Parameters
AbsenceType| Name | Description | Type | Additional information |
|---|---|---|---|
| AbsenceTypeId | integer |
None. |
|
| Value | string |
Max length: 30 |
|
| ReturnToWorkRequired | boolean |
None. |
|
| ReturnToWorkTypeID | integer |
None. |
|
| ReturnToWorkType | ReturnToWorkType |
None. |
|
| Status | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| DateCreated | date |
None. |
|
| DateModified | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"AbsenceTypeId": 1,
"Value": "sample string 2",
"ReturnToWorkRequired": true,
"ReturnToWorkTypeID": 1,
"ReturnToWorkType": {
"ReturnToWorkTypeId": 1,
"Name": "sample string 2",
"ReturnToWorkFields": [
{
"ReturnToWorkFieldId": 1,
"ReturnToWorkTypeId": 2,
"Label": "sample string 3",
"DataType": 1,
"DisplayOrder": 4,
"ShowOnPrint": true
},
{
"ReturnToWorkFieldId": 1,
"ReturnToWorkTypeId": 2,
"Label": "sample string 3",
"DataType": 1,
"DisplayOrder": 4,
"ShowOnPrint": true
}
],
"Status": 3,
"CreatedBy": 4,
"ModifiedBy": 5,
"DateCreated": "2026-11-27T09:13:02.9617486+00:00",
"DateModified": "2026-11-27T09:13:02.9617486+00:00"
},
"Status": 4,
"CreatedBy": 5,
"ModifiedBy": 6,
"DateCreated": "2026-11-27T09:13:02.9617486+00:00",
"DateModified": "2026-11-27T09:13:02.9617486+00:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.