GET v1/DefaultTexts/{translationKey}

User roles allowed to make this request: DomainAdministrator PowerUser RegularUser LimitedUser LocalDomainManager GlobalDomainManager

Permissions required to make this request: DefaultTranslationLanguage.Read

Gets the specified default text for the domain.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
translationKey

The id fo the text

string

Required

Body Parameters

None.

Response Information

Resource Description

Returns specified default text for the domain

Response Message

SurveyTranslationModel
NameDescriptionTypeAdditional information
Name

The name of the item

string

Required

Max length: 50

Text

The translated text

string

Max length: 512

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Text": "sample string 2"
}

application/xml, text/xml

Sample:
<SurveyTranslationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <Name>sample string 1</Name>
  <Text>sample string 2</Text>
</SurveyTranslationModel>