POST jxc_api/ErpAccount/Add

Request Information

URI Parameters

None.

Body Parameters

ErpAccountEditModel
NameDescriptionTypeAdditional information
Id

integer

None.

AcNo

string

None.

AcName

string

None.

AccountType

AccountType

None.

AcBankNo

string

None.

CurrencyType

integer

None.

Note

string

None.

BankID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AcNo": "sample string 2",
  "AcName": "sample string 3",
  "AccountType": 1010,
  "AcBankNo": "sample string 4",
  "CurrencyType": 5,
  "Note": "sample string 6",
  "BankID": 7
}

application/xml, text/xml

Sample:
<ErpAccountEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting.Account">
  <AcBankNo>sample string 4</AcBankNo>
  <AcName>sample string 3</AcName>
  <AcNo>sample string 2</AcNo>
  <AccountType>Cash</AccountType>
  <BankID>7</BankID>
  <CurrencyType>5</CurrencyType>
  <Id>1</Id>
  <Note>sample string 6</Note>
</ErpAccountEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>