POST api/v1/company/translation/group

Saves the passed in translation group. This operation is very limited in what it can do. The only thing this actually saves is the name of the group. If you want to change the actual translation values you need to open the specific translation, modify the desired values, and then save that company translation individually.

Request Information

URI Parameters

None.

Body Parameters

Ghostery.Privacy.Common.Objects.Company.CompanyTranslationGroup
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Translations

Collection of Ghostery.Privacy.Common.Objects.Company.CompanyTranslation

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Ghostery.Privacy.Common.Objects.Site3.SiteNotice'. Path 'translations[0].notices[0].templates[0].notices'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Ghostery.Privacy.Common.Objects.Site3.SiteNotice'. Path 'translations[0].notices[0].templates[0].notices'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'Ghostery.Privacy.Common.Objects.Company.CompanyTranslationGroup'.

Response Information

Resource Description

Ghostery.Privacy.Common.Objects.Company.CompanyTranslationGroup
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Translations

Collection of Ghostery.Privacy.Common.Objects.Company.CompanyTranslation

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Ghostery.Privacy.Common.Objects.Site3.SiteNotice'. Path 'translations[0].notices[0].templates[0].notices'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Ghostery.Privacy.Common.Objects.Site3.SiteNotice'. Path 'translations[0].notices[0].templates[0].notices'.