Add new entity to Languages
POST/Languages
Add new entity to Languages
Request
- application/json
Body
required
New entity
iso string
name string
englishName string
Responses
- 201
- default
Created entity
- application/json
- Schema
- Example (from schema)
Schema
iso string
name string
englishName string
{
"iso": "string",
"name": "string",
"englishName": "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...