Add new entity to Currencies
POST/Currencies
Add new entity to Currencies
Request
- application/json
Body
required
New entity
iso string
name string
symbol string
decimalDigits decimal
rounding decimal
namePlural string
Responses
- 201
- default
Created entity
- application/json
- Schema
- Example (from schema)
Schema
iso string
name string
symbol string
decimalDigits decimal
rounding decimal
namePlural string
{
"iso": "string",
"name": "string",
"symbol": "string",
"decimalDigits": 0,
"rounding": 0,
"namePlural": "string"
}
error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
required
code stringrequired
message stringrequired
target string
details
object[]
code stringrequired
message stringrequired
target string
innererror object
The structure of this object is service-specific
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"innererror": {}
}
}
Loading...