DELETE v2/LanguageTranslations/{languageId}

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

Permissions required to make this request: DomainTranslationLanguage.Delete DomainTranslationLanguage.Read

Delete the domain's language by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageId

The id of the language to delete

integer

Required

Body Parameters

None.

Response Information

Resource Description

Response Message

HttpResponseMessage
NameDescriptionTypeAdditional 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

Sample:
{
  "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

Sample:
<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>