POST jxc_api/CustomerInitialBalance/BatchUpdate

Request Information

URI Parameters

None.

Body Parameters

Collection of CustomerInitialBalanceEditModel
NameDescriptionTypeAdditional information
CustId

integer

None.

Receivable

decimal number

None.

Recived

decimal number

None.

Sales

integer

None.

DepartmentId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CustId": 1,
    "Receivable": 2.0,
    "Recived": 3.0,
    "Sales": 1,
    "DepartmentId": 1
  },
  {
    "CustId": 1,
    "Receivable": 2.0,
    "Recived": 3.0,
    "Sales": 1,
    "DepartmentId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerInitialBalanceEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Customer">
  <CustomerInitialBalanceEditModel>
    <CustId>1</CustId>
    <DepartmentId>1</DepartmentId>
    <Receivable>2</Receivable>
    <Recived>3</Recived>
    <Sales>1</Sales>
  </CustomerInitialBalanceEditModel>
  <CustomerInitialBalanceEditModel>
    <CustId>1</CustId>
    <DepartmentId>1</DepartmentId>
    <Receivable>2</Receivable>
    <Recived>3</Recived>
    <Sales>1</Sales>
  </CustomerInitialBalanceEditModel>
</ArrayOfCustomerInitialBalanceEditModel>

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.

ErrorData

Object

None.

BusinessCode

integer

None.

Response Formats

application/json, text/json

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

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_BusinessCode_x003E_k__BackingField>5</_x003C_BusinessCode_x003E_k__BackingField>
  <_x003C_Data_x003E_k__BackingField />
  <_x003C_ErrorData_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>