POST api/v1/localizations/view/save
Request Information
URI Parameters
None.
Body Parameters
AA| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of LoclaizationView |
None. |
Request Formats
application/json, text/json
Sample:
{
"data": [
{
"id": "5af6ecd3-1487-4e67-8dba-a210dacc57a0",
"key": "sample string 2",
"id_language": 3,
"text": "sample string 4"
},
{
"id": "5af6ecd3-1487-4e67-8dba-a210dacc57a0",
"key": "sample string 2",
"id_language": 3,
"text": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<AA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CleverPower.Api.Controllers">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
<d2p1:LoclaizationView>
<d2p1:id>5af6ecd3-1487-4e67-8dba-a210dacc57a0</d2p1:id>
<d2p1:id_language>3</d2p1:id_language>
<d2p1:key>sample string 2</d2p1:key>
<d2p1:text>sample string 4</d2p1:text>
</d2p1:LoclaizationView>
<d2p1:LoclaizationView>
<d2p1:id>5af6ecd3-1487-4e67-8dba-a210dacc57a0</d2p1:id>
<d2p1:id_language>3</d2p1:id_language>
<d2p1:key>sample string 2</d2p1:key>
<d2p1:text>sample string 4</d2p1:text>
</d2p1:LoclaizationView>
</data>
</AA>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| messages | Collection of ResultMessage |
None. |
|
| count_of_errors | integer |
None. |
|
| id | Object |
None. |
|
| name | string |
None. |
|
| data | Object |
None. |
|
| url | string |
None. |
|
| text | string |
None. |
|
| inner_exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"messages": [
{
"type": 1,
"code": 1,
"message": "sample string 1",
"field": "sample string 2"
},
{
"type": 1,
"code": 1,
"message": "sample string 1",
"field": "sample string 2"
}
],
"count_of_errors": 1,
"id": {},
"name": "sample string 3",
"data": {},
"url": "sample string 5",
"text": "sample string 6",
"inner_exception": "sample string 7"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">
<count_of_errors>1</count_of_errors>
<data />
<id />
<inner_exception>sample string 7</inner_exception>
<messages>
<ResultMessage>
<code>1</code>
<field>sample string 2</field>
<message>sample string 1</message>
<type>1</type>
</ResultMessage>
<ResultMessage>
<code>1</code>
<field>sample string 2</field>
<message>sample string 1</message>
<type>1</type>
</ResultMessage>
</messages>
<name>sample string 3</name>
<text>sample string 6</text>
<url>sample string 5</url>
</Result>