PATCH v2/LanguageTranslations/{languageId}
User roles allowed to make this request:
DomainAdministrator
PowerUser
LocalDomainManager
GlobalDomainManager
Permissions required to make this request:
DomainTranslationLanguage.Write
DomainTranslationLanguage.Read
Patch the domain's language.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
languageId |
The id of the language to update |
integer |
Required |
Body Parameters
domain language parameters
DomainLanguageTranslationsRequestModelName | Description | Type | Additional information |
---|---|---|---|
InterviewButtonUnavailable |
This parameter sets the value for the button interview unavailable |
string |
None. |
TooFewAnswers |
This parameter sets the value for the text Too Few Answers |
string |
None. |
TooManyAnswers |
This parameter sets the value for the text Too Many Anwsers |
string |
None. |
ItemAnswerRequired |
This parameter sets the value for the text Item Answer Required |
string |
None. |
CategoryAnswerRequired |
This parameter sets the value for the text Category Answer Required |
string |
None. |
AnswerRequired |
This parameter sets the value for the text Answer required |
string |
None. |
NotInRange |
This parameter sets the value for the text Not In Range |
string |
None. |
TooManyDigitsInIntegerPart |
This parameter sets the value for the text Too Many Digits In Integer Part |
string |
None. |
LessThanMinimum |
This parameter sets the value for the text Less than Minimum |
string |
None. |
MoreThanMaximum |
This parameter sets the value for the text More than Maximum |
string |
None. |
MustBeNumeric |
This parameter sets the value for the text Must Be Numeric |
string |
None. |
TooManyDigitsFraction |
This parameter sets the value for the Too Many Digits Fraction |
string |
None. |
DoNotUseBrowserButtonToNavigate |
This parameter sets the value for the text Do Not Use Browser Button To Navigate |
string |
None. |
ExclusiveCategory |
This parameter sets the value for the text Exclusive Category |
string |
None. |
InvalidCategory |
This parameter sets the value for the Invalid Category |
string |
None. |
ButtonPause |
This parameter sets the value for the Button Pause |
string |
None. |
ButtonStart |
This parameter sets the value for the Button Start |
string |
None. |
ButtonClear |
This parameter sets the value for the Button Clear |
string |
None. |
ButtonBack |
This parameter sets the value for the Button Back |
string |
None. |
ButtonNext |
This parameter sets the value for the Button Next |
string |
None. |
Name |
This parameter is used to specify the name of the language for the set of translations. It need to be referenced in the Odin script in order to load the language. |
string |
None. |
AnswerTooLong |
This parameter sets the value for the text Answer Too Long |
string |
None. |
DoNotUseButtonWithOtherAnswer |
This parameter sets the value for the Do Not Use Button With Other Answer |
string |
None. |
Request Formats
application/json, text/json
{ "InterviewButtonUnavailable": "sample string 1", "TooFewAnswers": "sample string 2", "TooManyAnswers": "sample string 3", "ItemAnswerRequired": "sample string 4", "CategoryAnswerRequired": "sample string 5", "AnswerRequired": "sample string 6", "NotInRange": "sample string 7", "TooManyDigitsInIntegerPart": "sample string 8", "LessThanMinimum": "sample string 9", "MoreThanMaximum": "sample string 10", "MustBeNumeric": "sample string 11", "TooManyDigitsFraction": "sample string 12", "DoNotUseBrowserButtonToNavigate": "sample string 13", "ExclusiveCategory": "sample string 14", "InvalidCategory": "sample string 15", "ButtonPause": "sample string 16", "ButtonStart": "sample string 17", "ButtonClear": "sample string 18", "ButtonBack": "sample string 19", "ButtonNext": "sample string 20", "Name": "sample string 21", "AnswerTooLong": "sample string 22", "DoNotUseButtonWithOtherAnswer": "sample string 23" }
application/xml, text/xml
<DomainLanguageTranslationsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models.DomainLanguageTranslations"> <AnswerRequired xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 6</AnswerRequired> <AnswerTooLong xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 22</AnswerTooLong> <ButtonBack xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 19</ButtonBack> <ButtonClear xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 18</ButtonClear> <ButtonNext xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 20</ButtonNext> <ButtonPause xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 16</ButtonPause> <ButtonStart xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 17</ButtonStart> <CategoryAnswerRequired xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 5</CategoryAnswerRequired> <DoNotUseBrowserButtonToNavigate xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 13</DoNotUseBrowserButtonToNavigate> <DoNotUseButtonWithOtherAnswer xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 23</DoNotUseButtonWithOtherAnswer> <ExclusiveCategory xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 14</ExclusiveCategory> <InterviewButtonUnavailable xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 1</InterviewButtonUnavailable> <InvalidCategory xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 15</InvalidCategory> <ItemAnswerRequired xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 4</ItemAnswerRequired> <LessThanMinimum xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 9</LessThanMinimum> <MoreThanMaximum xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 10</MoreThanMaximum> <MustBeNumeric xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 11</MustBeNumeric> <Name xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 21</Name> <NotInRange xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 7</NotInRange> <TooFewAnswers xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 2</TooFewAnswers> <TooManyAnswers xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 3</TooManyAnswers> <TooManyDigitsFraction xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 12</TooManyDigitsFraction> <TooManyDigitsInIntegerPart xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 8</TooManyDigitsInIntegerPart> </DomainLanguageTranslationsRequestModel>
application/x-www-form-urlencoded
InterviewButtonUnavailable=sample&TooFewAnswers=sample&TooManyAnswers=sample&ItemAnswerRequired=sample&CategoryAnswerRequired=sample&AnswerRequired=sample&NotInRange=sample&TooManyDigitsInIntegerPart=sample&LessThanMinimum=sample&MoreThanMaximum=sample&MustBeNumeric=sample&TooManyDigitsFraction=sample&DoNotUseBrowserButtonToNavigate=sample&ExclusiveCategory=sample&InvalidCategory=sample&ButtonPause=sample&ButtonStart=sample&ButtonClear=sample&ButtonBack=sample&ButtonNext=sample&Name=sample&AnswerTooLong=sample&DoNotUseButtonWithOtherAnswer=sample
multipart/form-data
Sample not available.
Response Information
Resource Description
Response Message
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
{ "Id": 1, "TranslationWarnings": [ { "Type": "sample string 1", "Variable": "sample string 2", "Translation": "sample string 3", "Language": "sample string 4" }, { "Type": "sample string 1", "Variable": "sample string 2", "Translation": "sample string 3", "Language": "sample string 4" } ], "InterviewButtonUnavailable": "sample string 2", "TooFewAnswers": "sample string 3", "TooManyAnswers": "sample string 4", "ItemAnswerRequired": "sample string 5", "CategoryAnswerRequired": "sample string 6", "AnswerRequired": "sample string 7", "NotInRange": "sample string 8", "TooManyDigitsInIntegerPart": "sample string 9", "LessThanMinimum": "sample string 10", "MoreThanMaximum": "sample string 11", "MustBeNumeric": "sample string 12", "TooManyDigitsFraction": "sample string 13", "DoNotUseBrowserButtonToNavigate": "sample string 14", "ExclusiveCategory": "sample string 15", "InvalidCategory": "sample string 16", "ButtonPause": "sample string 17", "ButtonStart": "sample string 18", "ButtonClear": "sample string 19", "ButtonBack": "sample string 20", "ButtonNext": "sample string 21", "Name": "sample string 22", "AnswerTooLong": "sample string 23", "DoNotUseButtonWithOtherAnswer": "sample string 24" }
application/xml, text/xml
<DomainLanguageTranslationsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models.DomainLanguageTranslations"> <AnswerRequired xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 7</AnswerRequired> <AnswerTooLong xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 23</AnswerTooLong> <ButtonBack xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 20</ButtonBack> <ButtonClear xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 19</ButtonClear> <ButtonNext xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 21</ButtonNext> <ButtonPause xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 17</ButtonPause> <ButtonStart xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 18</ButtonStart> <CategoryAnswerRequired xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 6</CategoryAnswerRequired> <DoNotUseBrowserButtonToNavigate xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 14</DoNotUseBrowserButtonToNavigate> <DoNotUseButtonWithOtherAnswer xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 24</DoNotUseButtonWithOtherAnswer> <ExclusiveCategory xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 15</ExclusiveCategory> <InterviewButtonUnavailable xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 2</InterviewButtonUnavailable> <InvalidCategory xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 16</InvalidCategory> <ItemAnswerRequired xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 5</ItemAnswerRequired> <LessThanMinimum xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 10</LessThanMinimum> <MoreThanMaximum xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 11</MoreThanMaximum> <MustBeNumeric xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 12</MustBeNumeric> <Name xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 22</Name> <NotInRange xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 8</NotInRange> <TooFewAnswers xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 3</TooFewAnswers> <TooManyAnswers xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 4</TooManyAnswers> <TooManyDigitsFraction xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 13</TooManyDigitsFraction> <TooManyDigitsInIntegerPart xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">sample string 9</TooManyDigitsInIntegerPart> <Id xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">1</Id> <TranslationWarnings xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models"> <TranslationWarning> <Language>sample string 4</Language> <Translation>sample string 3</Translation> <Type>sample string 1</Type> <Variable>sample string 2</Variable> </TranslationWarning> <TranslationWarning> <Language>sample string 4</Language> <Translation>sample string 3</Translation> <Type>sample string 1</Type> <Variable>sample string 2</Variable> </TranslationWarning> </TranslationWarnings> </DomainLanguageTranslationsResponseModel>