POST jxc_api/ErpEmployee/BatchEditAsub

Request Information

URI Parameters

None.

Body Parameters

BatchEditAsubRequest
NameDescriptionTypeAdditional information
EmpId

Collection of integer

None.

AsubId

integer

None.

AaCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmpId": [
    1,
    2
  ],
  "AsubId": 1,
  "AaCode": "sample string 1"
}

application/xml, text/xml

Sample:
<BatchEditAsubRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Employee">
  <AaCode>sample string 1</AaCode>
  <AsubId>1</AsubId>
  <EmpId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </EmpId>
</BatchEditAsubRequest>

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>