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

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 CompanyTranslationItem

None.

VendorCategories

Collection of VendorCategory

None.

Notices

Collection of SiteNotice3

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 '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 '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 'JQueryMvcFormUrlEncodedFormatter' to write type 'CompanyTranslation'.

Response Information

Resource Description

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 CompanyTranslationItem

None.

VendorCategories

Collection of VendorCategory

None.

Notices

Collection of SiteNotice3

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