POST api/SunOA/PI_GoingAbroad
Request Information
URI Parameters
None.
Body Parameters
PI_GoingAbroadName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
UserId | integer |
None. |
|
Reason | string |
None. |
|
ApprovalTime | date |
None. |
|
DepartureTime | date |
None. |
|
TimeOfEntry | date |
None. |
|
AddUserId | integer |
None. |
|
Del | boolean |
None. |
|
SysTimeStart | date |
None. |
|
SysTimeEnd | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "UserId": 2, "Reason": "sample string 3", "ApprovalTime": "2024-11-21T18:10:44.4820552+08:00", "DepartureTime": "2024-11-21T18:10:44.4820552+08:00", "TimeOfEntry": "2024-11-21T18:10:44.4820552+08:00", "AddUserId": 1, "Del": true, "SysTimeStart": "2024-11-21T18:10:44.4820552+08:00", "SysTimeEnd": "2024-11-21T18:10:44.4820552+08:00" }
application/xml, text/xml
Sample:
<PI_GoingAbroad xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data"> <AddUserId>1</AddUserId> <ApprovalTime>2024-11-21T18:10:44.4820552+08:00</ApprovalTime> <Del>true</Del> <DepartureTime>2024-11-21T18:10:44.4820552+08:00</DepartureTime> <ID>1</ID> <Reason>sample string 3</Reason> <SysTimeEnd>2024-11-21T18:10:44.4820552+08:00</SysTimeEnd> <SysTimeStart>2024-11-21T18:10:44.4820552+08:00</SysTimeStart> <TimeOfEntry>2024-11-21T18:10:44.4820552+08:00</TimeOfEntry> <UserId>2</UserId> </PI_GoingAbroad>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PI_GoingAbroadName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
UserId | integer |
None. |
|
Reason | string |
None. |
|
ApprovalTime | date |
None. |
|
DepartureTime | date |
None. |
|
TimeOfEntry | date |
None. |
|
AddUserId | integer |
None. |
|
Del | boolean |
None. |
|
SysTimeStart | date |
None. |
|
SysTimeEnd | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "UserId": 2, "Reason": "sample string 3", "ApprovalTime": "2024-11-21T18:10:44.4820552+08:00", "DepartureTime": "2024-11-21T18:10:44.4820552+08:00", "TimeOfEntry": "2024-11-21T18:10:44.4820552+08:00", "AddUserId": 1, "Del": true, "SysTimeStart": "2024-11-21T18:10:44.4820552+08:00", "SysTimeEnd": "2024-11-21T18:10:44.4820552+08:00" }
application/xml, text/xml
Sample:
<PI_GoingAbroad xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data"> <AddUserId>1</AddUserId> <ApprovalTime>2024-11-21T18:10:44.4820552+08:00</ApprovalTime> <Del>true</Del> <DepartureTime>2024-11-21T18:10:44.4820552+08:00</DepartureTime> <ID>1</ID> <Reason>sample string 3</Reason> <SysTimeEnd>2024-11-21T18:10:44.4820552+08:00</SysTimeEnd> <SysTimeStart>2024-11-21T18:10:44.4820552+08:00</SysTimeStart> <TimeOfEntry>2024-11-21T18:10:44.4820552+08:00</TimeOfEntry> <UserId>2</UserId> </PI_GoingAbroad>