POST jxc_api/Account/Update

Request Information

URI Parameters

None.

Body Parameters

AccountEditModel
NameDescriptionTypeAdditional information
SysId

integer

None.

AsId

integer

None.

Id

integer

None.

No

string

None.

Name

string

None.

InitAccount

decimal number

None.

price

decimal number

None.

InitDate

date

None.

AccountType

integer

None.

Note

string

None.

Status

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

DefaultAcId

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SysId": 1,
  "AsId": 2,
  "Id": 3,
  "No": "sample string 4",
  "Name": "sample string 5",
  "InitAccount": 6.0,
  "price": 7.0,
  "InitDate": "2024-11-24 01:33:01",
  "AccountType": 9,
  "Note": "sample string 10",
  "Status": true,
  "CreatedBy": 12,
  "CreatedDate": "2024-11-24 01:33:01",
  "ModifiedBy": 14,
  "ModifiedDate": "2024-11-24 01:33:01",
  "DefaultAcId": true
}

application/xml, text/xml

Sample:
<AccountEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Account">
  <AccountType>9</AccountType>
  <AsId>2</AsId>
  <CreatedBy>12</CreatedBy>
  <CreatedDate>2024-11-24T01:33:01.915539+08:00</CreatedDate>
  <DefaultAcId>true</DefaultAcId>
  <Id>3</Id>
  <InitAccount>6</InitAccount>
  <InitDate>2024-11-24T01:33:01.915539+08:00</InitDate>
  <ModifiedBy>14</ModifiedBy>
  <ModifiedDate>2024-11-24T01:33:01.915539+08:00</ModifiedDate>
  <Name>sample string 5</Name>
  <No>sample string 4</No>
  <Note>sample string 10</Note>
  <Status>true</Status>
  <SysId>1</SysId>
  <price>7</price>
</AccountEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.