DELETE api/SunOA/PI_GoingAbroad/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

PI_GoingAbroad
NameDescriptionTypeAdditional 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-21T17:53:08.5657876+08:00",
  "DepartureTime": "2024-11-21T17:53:08.5657876+08:00",
  "TimeOfEntry": "2024-11-21T17:53:08.5657876+08:00",
  "AddUserId": 1,
  "Del": true,
  "SysTimeStart": "2024-11-21T17:53:08.5657876+08:00",
  "SysTimeEnd": "2024-11-21T17:53:08.5657876+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-21T17:53:08.5657876+08:00</ApprovalTime>
  <Del>true</Del>
  <DepartureTime>2024-11-21T17:53:08.5657876+08:00</DepartureTime>
  <ID>1</ID>
  <Reason>sample string 3</Reason>
  <SysTimeEnd>2024-11-21T17:53:08.5657876+08:00</SysTimeEnd>
  <SysTimeStart>2024-11-21T17:53:08.5657876+08:00</SysTimeStart>
  <TimeOfEntry>2024-11-21T17:53:08.5657876+08:00</TimeOfEntry>
  <UserId>2</UserId>
</PI_GoingAbroad>