POST api/compensations

Request Information

URI Parameters

None.

Body Parameters

compensation
NameDescriptionTypeAdditional information
id

integer

None.

cluster_id

integer

None.

center_id

integer

None.

create_time

date

None.

modify_time

date

None.

modify_by

integer

None.

rs_id

signed byte

None.

title

string

None.

detail

string

None.

isactive

signed byte

None.

no

integer

None.

input_type

integer

None.

staff_target_type_id

integer

None.

staff_target_pos_ids

string

None.

ratio

decimal number

None.

incharge

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cluster_id": 2,
  "center_id": 3,
  "create_time": "2024-12-10T09:57:31.3776748+07:00",
  "modify_time": "2024-12-10T09:57:31.3776748+07:00",
  "modify_by": 6,
  "rs_id": 64,
  "title": "sample string 8",
  "detail": "sample string 9",
  "isactive": 64,
  "no": 11,
  "input_type": 12,
  "staff_target_type_id": 13,
  "staff_target_pos_ids": "sample string 14",
  "ratio": 1.0,
  "incharge": 1.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

compensation
NameDescriptionTypeAdditional information
id

integer

None.

cluster_id

integer

None.

center_id

integer

None.

create_time

date

None.

modify_time

date

None.

modify_by

integer

None.

rs_id

signed byte

None.

title

string

None.

detail

string

None.

isactive

signed byte

None.

no

integer

None.

input_type

integer

None.

staff_target_type_id

integer

None.

staff_target_pos_ids

string

None.

ratio

decimal number

None.

incharge

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cluster_id": 2,
  "center_id": 3,
  "create_time": "2024-12-10T09:57:31.3776748+07:00",
  "modify_time": "2024-12-10T09:57:31.3776748+07:00",
  "modify_by": 6,
  "rs_id": 64,
  "title": "sample string 8",
  "detail": "sample string 9",
  "isactive": 64,
  "no": 11,
  "input_type": 12,
  "staff_target_type_id": 13,
  "staff_target_pos_ids": "sample string 14",
  "ratio": 1.0,
  "incharge": 1.0
}