POST jxc_api/Employee/Add

Request Information

URI Parameters

None.

Body Parameters

EmployeeEditModel
NameDescriptionTypeAdditional information
AsId

integer

None.

UserId

integer

None.

UserNo

string

None.

UserName

string

None.

Mobile

string

None.

Note

string

None.

Status

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "UserId": 2,
  "UserNo": "sample string 3",
  "UserName": "sample string 4",
  "Mobile": "sample string 5",
  "Note": "sample string 6",
  "Status": 7,
  "CreatedBy": 8,
  "CreatedDate": "2024-11-25 01:36:26",
  "ModifiedBy": 10,
  "ModifiedDate": "2024-11-25 01:36:26"
}

application/xml, text/xml

Sample:
<EmployeeEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <AsId>1</AsId>
  <CreatedBy>8</CreatedBy>
  <CreatedDate>2024-11-25T01:36:26.2086544+08:00</CreatedDate>
  <Mobile>sample string 5</Mobile>
  <ModifiedBy>10</ModifiedBy>
  <ModifiedDate>2024-11-25T01:36:26.2086544+08:00</ModifiedDate>
  <Note>sample string 6</Note>
  <Status>7</Status>
  <UserId>2</UserId>
  <UserName>sample string 4</UserName>
  <UserNo>sample string 3</UserNo>
</EmployeeEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
  <_x003C_Data_x003E_k__BackingField />
  <_x003C_Message_x003E_k__BackingField>sample string 2</_x003C_Message_x003E_k__BackingField>
  <_x003C_StatusCode_x003E_k__BackingField>CONTINUE</_x003C_StatusCode_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
</MessageModel>