POST api/attendancegroupmanage/attendancegroup/AddAttendancePosts

添加考勤职位

请求信息

URI 参数

None.

Body 参数

职位信息

Collection of AttendancePostRelationEntity
名称说明类型其他信息
AttendanceGroupId

考勤组Id

string

None.

PostId

职位Id

string

None.

Id

string

None.

CreateDate

date

None.

CreateUserId

string

None.

CreateUserName

string

None.

ModifyDate

date

None.

ModifyUserId

string

None.

ModifyUserName

string

None.

请求格式

application/json, text/json

Sample:
[
  {
    "AttendanceGroupId": "sample string 1",
    "PostId": "sample string 2",
    "Id": "sample string 3",
    "CreateDate": "2024-09-21 16:26:29",
    "CreateUserId": "sample string 4",
    "CreateUserName": "sample string 5",
    "ModifyDate": "2024-09-21 16:26:29",
    "ModifyUserId": "sample string 6",
    "ModifyUserName": "sample string 7"
  },
  {
    "AttendanceGroupId": "sample string 1",
    "PostId": "sample string 2",
    "Id": "sample string 3",
    "CreateDate": "2024-09-21 16:26:29",
    "CreateUserId": "sample string 4",
    "CreateUserName": "sample string 5",
    "ModifyDate": "2024-09-21 16:26:29",
    "ModifyUserId": "sample string 6",
    "ModifyUserName": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttendancePostRelationEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.Domain">
  <AttendancePostRelationEntity>
    <CreateDate xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">2024-09-21T16:26:29.8969273+08:00</CreateDate>
    <CreateUserId xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 4</CreateUserId>
    <CreateUserName xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 5</CreateUserName>
    <Id xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 3</Id>
    <ModifyDate xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">2024-09-21T16:26:29.8969273+08:00</ModifyDate>
    <ModifyUserId xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 6</ModifyUserId>
    <ModifyUserName xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 7</ModifyUserName>
    <AttendanceGroupId>sample string 1</AttendanceGroupId>
    <PostId>sample string 2</PostId>
  </AttendancePostRelationEntity>
  <AttendancePostRelationEntity>
    <CreateDate xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">2024-09-21T16:26:29.8969273+08:00</CreateDate>
    <CreateUserId xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 4</CreateUserId>
    <CreateUserName xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 5</CreateUserName>
    <Id xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 3</Id>
    <ModifyDate xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">2024-09-21T16:26:29.8969273+08:00</ModifyDate>
    <ModifyUserId xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 6</ModifyUserId>
    <ModifyUserName xmlns="http://schemas.datacontract.org/2004/07/ZJ.DataBase.Domain">sample string 7</ModifyUserName>
    <AttendanceGroupId>sample string 1</AttendanceGroupId>
    <PostId>sample string 2</PostId>
  </AttendancePostRelationEntity>
</ArrayOfAttendancePostRelationEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

响应说明

ResponseEx
名称说明类型其他信息
StatusCode

状态码

ResponseStatusCode

None.

Message

信息

string

None.

Data

数据

Object

None.

响应格式

application/json, text/json

Sample:
{
  "StatusCode": 0,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.WebApi.Models">
  <Data />
  <Message>sample string 1</Message>
  <StatusCode>OK</StatusCode>
</ResponseEx>