POST api/Time/Attend/Settings/Group/Save

Request Information

URI Parameters

None.

Body Parameters

Group
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

CalendarId

integer

None.

GroupClass

Collection of integer

None.

GroupDepartments

Collection of ValueLabel

None.

GroupUser

Collection of User

None.

GroupUserExemption

Collection of User

None.

UserCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "calendarId": 3,
  "groupClass": [
    1,
    2
  ],
  "groupDepartments": [
    {
      "value": "sample string 1",
      "label": "sample string 2"
    },
    {
      "value": "sample string 1",
      "label": "sample string 2"
    }
  ],
  "groupUser": [
    {
      "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"
        }
      ]
    }
  ],
  "groupUserExemption": [
    {
      "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"
        }
      ]
    }
  ],
  "userCount": 4
}

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.