GET v1/DefaultTexts

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

Permissions required to make this request: DefaultTranslationLanguage.Read

Gets all default texts for the domain.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns a list of default texts for the domain.

Response Message

Collection of 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"
  },
  {
    "Name": "sample string 1",
    "Text": "sample string 2"
  }
]

application/xml, text/xml

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