POST api/v1/company/translation

Saves the passed in Company Translation object. You are not allowed to create a new company translation record using this mechanism, only update an existing set of translation values.

Request Information

URI Parameters

None.

Body Parameters

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

integer

None.

Name

string

None.

LanguageId

integer

None.

LanguageCode

string

None.

CompanyTranslationGroupId

integer

None.

Updated

date

None.

UpdatedBy

string

None.

Items

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

None.

VendorCategories

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

None.

Notices

Collection of Ghostery.Privacy.Common.Objects.Site3.SiteNotice

None.

Domains

Collection of string

None.

BannerSampleText

string

None.

ConsentToolSampleText

string

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 '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 '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.CompanyTranslation'.

Response Information

Resource Description

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

integer

None.

Name

string

None.

LanguageId

integer

None.

LanguageCode

string

None.

CompanyTranslationGroupId

integer

None.

Updated

date

None.

UpdatedBy

string

None.

Items

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

None.

VendorCategories

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

None.

Notices

Collection of Ghostery.Privacy.Common.Objects.Site3.SiteNotice

None.

Domains

Collection of string

None.

BannerSampleText

string

None.

ConsentToolSampleText

string

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 '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 'notices[0].templates[0].notices'.