POST api/SunOA/PI_SocialPosition

添加社会任职

Request Information

URI Parameters

None.

Body Parameters

PI_SocialPosition
NameDescriptionTypeAdditional information
ID

integer

None.

UserId

integer

None.

WorkUnit

string

None.

Post

string

None.

StartTime

date

None.

EndTime

date

None.

AddUserId

integer

None.

SysTimeStart

date

None.

SysTimeEnd

date

None.

Del

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserId": 2,
  "WorkUnit": "sample string 3",
  "Post": "sample string 4",
  "StartTime": "2024-11-21T17:56:06.5818185+08:00",
  "EndTime": "2024-11-21T17:56:06.5818185+08:00",
  "AddUserId": 1,
  "SysTimeStart": "2024-11-21T17:56:06.5818185+08:00",
  "SysTimeEnd": "2024-11-21T17:56:06.5818185+08:00",
  "Del": true
}

application/xml, text/xml

Sample:
<PI_SocialPosition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <AddUserId>1</AddUserId>
  <Del>true</Del>
  <EndTime>2024-11-21T17:56:06.5818185+08:00</EndTime>
  <ID>1</ID>
  <Post>sample string 4</Post>
  <StartTime>2024-11-21T17:56:06.5818185+08:00</StartTime>
  <SysTimeEnd>2024-11-21T17:56:06.5818185+08:00</SysTimeEnd>
  <SysTimeStart>2024-11-21T17:56:06.5818185+08:00</SysTimeStart>
  <UserId>2</UserId>
  <WorkUnit>sample string 3</WorkUnit>
</PI_SocialPosition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PI_SocialPosition
NameDescriptionTypeAdditional information
ID

integer

None.

UserId

integer

None.

WorkUnit

string

None.

Post

string

None.

StartTime

date

None.

EndTime

date

None.

AddUserId

integer

None.

SysTimeStart

date

None.

SysTimeEnd

date

None.

Del

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserId": 2,
  "WorkUnit": "sample string 3",
  "Post": "sample string 4",
  "StartTime": "2024-11-21T17:56:06.5818185+08:00",
  "EndTime": "2024-11-21T17:56:06.5818185+08:00",
  "AddUserId": 1,
  "SysTimeStart": "2024-11-21T17:56:06.5818185+08:00",
  "SysTimeEnd": "2024-11-21T17:56:06.5818185+08:00",
  "Del": true
}

application/xml, text/xml

Sample:
<PI_SocialPosition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <AddUserId>1</AddUserId>
  <Del>true</Del>
  <EndTime>2024-11-21T17:56:06.5818185+08:00</EndTime>
  <ID>1</ID>
  <Post>sample string 4</Post>
  <StartTime>2024-11-21T17:56:06.5818185+08:00</StartTime>
  <SysTimeEnd>2024-11-21T17:56:06.5818185+08:00</SysTimeEnd>
  <SysTimeStart>2024-11-21T17:56:06.5818185+08:00</SysTimeStart>
  <UserId>2</UserId>
  <WorkUnit>sample string 3</WorkUnit>
</PI_SocialPosition>