POST api/wf/requestWithAttachment
Request Information
URI Parameters
None.
Body Parameters
WorkFlowRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| worlflow_id | string |
None. |
|
| status | string |
None. |
|
| workflow_name | string |
None. |
|
| absence_type | string |
None. |
|
| quota_from | integer |
None. |
|
| quota_to | integer |
None. |
|
| delegate_to | string |
None. |
|
| duration | integer |
None. |
|
| duration_ovt | string |
None. |
|
| remaining_quota | integer |
None. |
|
| description | string |
None. |
|
| action | string |
None. |
|
| comment | string |
None. |
|
| date | date |
None. |
|
| date_from | date |
None. |
|
| date_to | date |
None. |
|
| time_from | date |
None. |
|
| time_to | date |
None. |
|
| notes | string |
None. |
|
| reason | string |
None. |
|
| request_no | integer |
None. |
|
| office | string |
None. |
|
| latitude | string |
None. |
|
| longitude | string |
None. |
|
| day_type | string |
None. |
|
| attendance_type | string |
None. |
|
| filebase64 | string |
None. |
|
| filetype | string |
None. |
|
| filename | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"worlflow_id": "sample string 1",
"status": "sample string 2",
"workflow_name": "sample string 3",
"absence_type": "sample string 4",
"quota_from": 5,
"quota_to": 6,
"delegate_to": "sample string 7",
"duration": 8,
"duration_ovt": "sample string 9",
"remaining_quota": 10,
"description": "sample string 11",
"action": "sample string 12",
"comment": "sample string 13",
"date": "20251029094145",
"date_from": "20251029094145",
"date_to": "20251029094145",
"time_from": "20251029094145",
"time_to": "20251029094145",
"notes": "sample string 19",
"reason": "sample string 20",
"request_no": 21,
"office": "sample string 22",
"latitude": "sample string 23",
"longitude": "sample string 24",
"day_type": "sample string 25",
"attendance_type": "sample string 26",
"filebase64": "sample string 27",
"filetype": "sample string 28",
"filename": "sample string 29"
}
Response Information
Resource Description
ResponseContractOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| message | string |
None. |
|
| message_type | message_type |
None. |
|
| message_code | integer |
None. |
|
| data | string |
None. |
|
| per_page | integer |
None. |
|
| total_data | integer |
None. |
|
| total_page | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"message": "sample string 1",
"message_type": 0,
"message_code": 2,
"data": "sample string 3",
"per_page": 4,
"total_data": 5,
"total_page": 6
}