POST api/{area}/Currency?access_token={access_token}
添加新的外币核算内容
Request Information
Body Parameters
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. |
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
添加新的外币核算内容
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.