PUT api/{area}/Currency?access_token={access_token}

修改外币核算项目,编码也可进行修改

Request Information

Body Parameters

FCMessageModel
NameDescriptionTypeAdditional information
AsId

integer

Required

Id

外币ID编码

integer

None.

Code

外币代码

string

Required

Matching regular expression pattern: ^([a-zA-Z]{3})$

Name

外币名称

string

Required

String length: inclusive between 0 and 64

Rate

初始汇率

decimal number

Required

Status

启用状态

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "as_id": 1,
  "id": 2,
  "code": "sample string 3",
  "name": "sample string 4",
  "rate": 5.0,
  "status": 6
}

application/xml, text/xml

Sample:
<FCMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.Open.Areas.Settings.Models">
  <AsId>1</AsId>
  <Code>sample string 3</Code>
  <Id>2</Id>
  <Name>sample string 4</Name>
  <Rate>5</Rate>
  <Status>6</Status>
</FCMessageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

修改外币核算项目,编码也可进行修改

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.