GET api/{area}/Currency?access_token={access_token}&as_id={as_id}
获取账套外币信息
Request Information
Body Parameters
None.
Response Information
Resource Description
获取账套外币信息
Collection of FCMessageModel| Name | Description | Type | Additional 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. |
Response Formats
application/json, text/json
Sample:
[
{
"as_id": 1,
"id": 2,
"code": "sample string 3",
"name": "sample string 4",
"rate": 5.0,
"status": 6
},
{
"as_id": 1,
"id": 2,
"code": "sample string 3",
"name": "sample string 4",
"rate": 5.0,
"status": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfFCMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.Open.Areas.Settings.Models">
<FCMessageModel>
<AsId>1</AsId>
<Code>sample string 3</Code>
<Id>2</Id>
<Name>sample string 4</Name>
<Rate>5</Rate>
<Status>6</Status>
</FCMessageModel>
<FCMessageModel>
<AsId>1</AsId>
<Code>sample string 3</Code>
<Id>2</Id>
<Name>sample string 4</Name>
<Rate>5</Rate>
<Status>6</Status>
</FCMessageModel>
</ArrayOfFCMessageModel>