PUT api/staffs/completestaff?staff_id={staff_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
staff_id

integer

Required

Body Parameters

CompleteStaff
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.

record_status_id

signed byte

None.

person_id

integer

None.

type_id

integer

None.

position_id

integer

None.

rank_id

integer

None.

status_id

integer

None.

uniformsize_id

integer

None.

begin_date

date

None.

paymethod_id

integer

None.

certification_no

string

None.

priority

integer

None.

isactive

integer

None.

nephro_cer_no

string

None.

prefix_id

integer

None.

first_name

string

None.

mid_name

string

None.

last_name

string

None.

gender_id

integer

None.

dob

date

None.

iden_doctype_id

integer

None.

iden_doc

string

None.

nationality_id

integer

None.

origin_id

integer

None.

occupation_id

integer

None.

education_id

integer

None.

marriage_id

integer

None.

address_id

integer

None.

image_id

string

None.

remark

string

None.

phone

string

None.

email

string

None.

nationality_other

string

None.

origin_other

string

None.

occupation_other

string

None.

education_other

string

None.

address1

string

None.

region_id

integer

None.

province_id

integer

None.

amphur_id

integer

None.

district_id

integer

None.

postcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cluster_id": 2,
  "center_id": 3,
  "create_time": "2024-12-12T19:01:36.3770118+07:00",
  "modify_time": "2024-12-12T19:01:36.3770118+07:00",
  "modify_by": 6,
  "record_status_id": 64,
  "person_id": 1,
  "type_id": 1,
  "position_id": 1,
  "rank_id": 1,
  "status_id": 1,
  "uniformsize_id": 1,
  "begin_date": "2024-12-12T19:01:36.3770118+07:00",
  "paymethod_id": 1,
  "certification_no": "sample string 8",
  "priority": 1,
  "isactive": 1,
  "nephro_cer_no": "sample string 9",
  "prefix_id": 1,
  "first_name": "sample string 10",
  "mid_name": "sample string 11",
  "last_name": "sample string 12",
  "gender_id": 1,
  "dob": "2024-12-12T19:01:36.3770118+07:00",
  "iden_doctype_id": 1,
  "iden_doc": "sample string 13",
  "nationality_id": 1,
  "origin_id": 1,
  "occupation_id": 1,
  "education_id": 1,
  "marriage_id": 1,
  "address_id": 14,
  "image_id": "sample string 15",
  "remark": "sample string 16",
  "phone": "sample string 17",
  "email": "sample string 18",
  "nationality_other": "sample string 19",
  "origin_other": "sample string 20",
  "occupation_other": "sample string 21",
  "education_other": "sample string 22",
  "address1": "sample string 23",
  "region_id": 24,
  "province_id": 25,
  "amphur_id": 26,
  "district_id": 27,
  "postcode": "sample string 28"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CompleteStaff
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.

record_status_id

signed byte

None.

person_id

integer

None.

type_id

integer

None.

position_id

integer

None.

rank_id

integer

None.

status_id

integer

None.

uniformsize_id

integer

None.

begin_date

date

None.

paymethod_id

integer

None.

certification_no

string

None.

priority

integer

None.

isactive

integer

None.

nephro_cer_no

string

None.

prefix_id

integer

None.

first_name

string

None.

mid_name

string

None.

last_name

string

None.

gender_id

integer

None.

dob

date

None.

iden_doctype_id

integer

None.

iden_doc

string

None.

nationality_id

integer

None.

origin_id

integer

None.

occupation_id

integer

None.

education_id

integer

None.

marriage_id

integer

None.

address_id

integer

None.

image_id

string

None.

remark

string

None.

phone

string

None.

email

string

None.

nationality_other

string

None.

origin_other

string

None.

occupation_other

string

None.

education_other

string

None.

address1

string

None.

region_id

integer

None.

province_id

integer

None.

amphur_id

integer

None.

district_id

integer

None.

postcode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cluster_id": 2,
  "center_id": 3,
  "create_time": "2024-12-12T19:01:36.3770118+07:00",
  "modify_time": "2024-12-12T19:01:36.3770118+07:00",
  "modify_by": 6,
  "record_status_id": 64,
  "person_id": 1,
  "type_id": 1,
  "position_id": 1,
  "rank_id": 1,
  "status_id": 1,
  "uniformsize_id": 1,
  "begin_date": "2024-12-12T19:01:36.3770118+07:00",
  "paymethod_id": 1,
  "certification_no": "sample string 8",
  "priority": 1,
  "isactive": 1,
  "nephro_cer_no": "sample string 9",
  "prefix_id": 1,
  "first_name": "sample string 10",
  "mid_name": "sample string 11",
  "last_name": "sample string 12",
  "gender_id": 1,
  "dob": "2024-12-12T19:01:36.3770118+07:00",
  "iden_doctype_id": 1,
  "iden_doc": "sample string 13",
  "nationality_id": 1,
  "origin_id": 1,
  "occupation_id": 1,
  "education_id": 1,
  "marriage_id": 1,
  "address_id": 14,
  "image_id": "sample string 15",
  "remark": "sample string 16",
  "phone": "sample string 17",
  "email": "sample string 18",
  "nationality_other": "sample string 19",
  "origin_other": "sample string 20",
  "occupation_other": "sample string 21",
  "education_other": "sample string 22",
  "address1": "sample string 23",
  "region_id": 24,
  "province_id": 25,
  "amphur_id": 26,
  "district_id": 27,
  "postcode": "sample string 28"
}