POST api/Time/attend/result/Data/Save

Request Information

URI Parameters

None.

Body Parameters

AttendDataBatchAdd
NameDescriptionTypeAdditional information
Date

integer

None.

Users

Collection of User

None.

Departments

Collection of ValueLabel

None.

InOutType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "date": 1,
  "users": [
    {
      "id": "sample string 1",
      "jobnumber": "sample string 2",
      "name": "sample string 3",
      "gender": 4,
      "genderName": "sample string 5",
      "active": 6,
      "activeName": "sample string 7",
      "birthdate": 8,
      "hiredate": 9,
      "photo": "sample string 10",
      "departments": [
        {
          "value": "sample string 1",
          "label": "sample string 2"
        },
        {
          "value": "sample string 1",
          "label": "sample string 2"
        }
      ],
      "extends": [
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        },
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        }
      ]
    },
    {
      "id": "sample string 1",
      "jobnumber": "sample string 2",
      "name": "sample string 3",
      "gender": 4,
      "genderName": "sample string 5",
      "active": 6,
      "activeName": "sample string 7",
      "birthdate": 8,
      "hiredate": 9,
      "photo": "sample string 10",
      "departments": [
        {
          "value": "sample string 1",
          "label": "sample string 2"
        },
        {
          "value": "sample string 1",
          "label": "sample string 2"
        }
      ],
      "extends": [
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        },
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        }
      ]
    }
  ],
  "departments": [
    {
      "value": "sample string 1",
      "label": "sample string 2"
    },
    {
      "value": "sample string 1",
      "label": "sample string 2"
    }
  ],
  "inOutType": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

result

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.