POST api/saveManageStaff

Request Information

URI Parameters

None.

Body Parameters

SaveManageStaffRequest
NameDescriptionTypeAdditional information
ClientCode

string

None.

CrmCode

string

Max length: 20

PersonCode

string

None.

TitleName

string

Max length: 100

FirstName

string

Max length: 100

LastName

string

Max length: 100

Birthday

date

None.

Sex

string

Max length: 1

PhoneNo

string

None.

Email

string

None.

GroupTypeCode

string

None.

type

string

None.

IsActive

string

None.

CreateBy

string

None.

StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "clientCode": "sample string 1",
  "crmCode": "sample string 2",
  "personCode": "sample string 3",
  "titleName": "sample string 4",
  "firstName": "sample string 5",
  "lastName": "sample string 6",
  "birthday": "2026-01-13T18:24:01.5766981+07:00",
  "sex": "sample string 7",
  "phoneNo": "sample string 8",
  "email": "sample string 9",
  "groupTypeCode": "sample string 10",
  "type": "sample string 11",
  "isActive": "sample string 12",
  "createBy": "sample string 13",
  "startDate": "2026-01-13T18:24:01.5766981+07:00",
  "endDate": "2026-01-13T18:24:01.5766981+07:00"
}

application/xml, text/xml

Sample:
<SaveManageStaffRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request">
  <Birthday>2026-01-13T18:24:01.5766981+07:00</Birthday>
  <ClientCode>sample string 1</ClientCode>
  <CreateBy>sample string 13</CreateBy>
  <CrmCode>sample string 2</CrmCode>
  <Email>sample string 9</Email>
  <EndDate>2026-01-13T18:24:01.5766981+07:00</EndDate>
  <FirstName>sample string 5</FirstName>
  <GroupTypeCode>sample string 10</GroupTypeCode>
  <IsActive>sample string 12</IsActive>
  <LastName>sample string 6</LastName>
  <PersonCode>sample string 3</PersonCode>
  <PhoneNo>sample string 8</PhoneNo>
  <Sex>sample string 7</Sex>
  <StartDate>2026-01-13T18:24:01.5766981+07:00</StartDate>
  <TitleName>sample string 4</TitleName>
  <type>sample string 11</type>
</SaveManageStaffRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.