POST api/v1/company/translation/import
Given a csv file string containing translations to be inserted.
Request Information
URI Parameters
None.
Body Parameters
Ghostery.Privacy.Common.Objects.Company.TranslationImport| Name | Description | Type | Additional information |
|---|---|---|---|
| Csv | string |
None. |
|
| GroupId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"csv": "sample string 1",
"groupId": 2
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True is successfully imported, false if not.
Ghostery.Privacy.Common.Objects.Company.TranslationImportResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| ValidationMessages | Collection of string |
None. |
|
| UpdatedRecords | integer |
None. |
|
| UpdatedLanguages | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"isValid": true,
"validationMessages": [],
"updatedRecords": 2,
"updatedLanguages": [
"sample string 1",
"sample string 2"
]
}