GET api/Dictionary/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Dictionary of string [key] and Collection of DictionaryEntryDto [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": [
    {
      "Id": 1,
      "Term": "sample string 2",
      "Definition": "sample string 3",
      "AlternateSpellings": [
        "sample string 1",
        "sample string 2"
      ],
      "RelatedTerms": [
        "sample string 1",
        "sample string 2"
      ],
      "LanguageId": 4
    },
    {
      "Id": 1,
      "Term": "sample string 2",
      "Definition": "sample string 3",
      "AlternateSpellings": [
        "sample string 1",
        "sample string 2"
      ],
      "RelatedTerms": [
        "sample string 1",
        "sample string 2"
      ],
      "LanguageId": 4
    }
  ],
  "sample string 2": [
    {
      "Id": 1,
      "Term": "sample string 2",
      "Definition": "sample string 3",
      "AlternateSpellings": [
        "sample string 1",
        "sample string 2"
      ],
      "RelatedTerms": [
        "sample string 1",
        "sample string 2"
      ],
      "LanguageId": 4
    },
    {
      "Id": 1,
      "Term": "sample string 2",
      "Definition": "sample string 3",
      "AlternateSpellings": [
        "sample string 1",
        "sample string 2"
      ],
      "RelatedTerms": [
        "sample string 1",
        "sample string 2"
      ],
      "LanguageId": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringArrayOfDictionaryEntryDto_P0fVI3rp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringArrayOfDictionaryEntryDto_P0fVI3rp>
    <Key>sample string 1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/WebApi.DTO">
      <d3p1:DictionaryEntryDto>
        <d3p1:AlternateSpellings>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:AlternateSpellings>
        <d3p1:Definition>sample string 3</d3p1:Definition>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LanguageId>4</d3p1:LanguageId>
        <d3p1:RelatedTerms>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:RelatedTerms>
        <d3p1:Term>sample string 2</d3p1:Term>
      </d3p1:DictionaryEntryDto>
      <d3p1:DictionaryEntryDto>
        <d3p1:AlternateSpellings>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:AlternateSpellings>
        <d3p1:Definition>sample string 3</d3p1:Definition>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LanguageId>4</d3p1:LanguageId>
        <d3p1:RelatedTerms>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:RelatedTerms>
        <d3p1:Term>sample string 2</d3p1:Term>
      </d3p1:DictionaryEntryDto>
    </Value>
  </KeyValueOfstringArrayOfDictionaryEntryDto_P0fVI3rp>
  <KeyValueOfstringArrayOfDictionaryEntryDto_P0fVI3rp>
    <Key>sample string 2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/WebApi.DTO">
      <d3p1:DictionaryEntryDto>
        <d3p1:AlternateSpellings>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:AlternateSpellings>
        <d3p1:Definition>sample string 3</d3p1:Definition>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LanguageId>4</d3p1:LanguageId>
        <d3p1:RelatedTerms>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:RelatedTerms>
        <d3p1:Term>sample string 2</d3p1:Term>
      </d3p1:DictionaryEntryDto>
      <d3p1:DictionaryEntryDto>
        <d3p1:AlternateSpellings>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:AlternateSpellings>
        <d3p1:Definition>sample string 3</d3p1:Definition>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LanguageId>4</d3p1:LanguageId>
        <d3p1:RelatedTerms>
          <string>sample string 1</string>
          <string>sample string 2</string>
        </d3p1:RelatedTerms>
        <d3p1:Term>sample string 2</d3p1:Term>
      </d3p1:DictionaryEntryDto>
    </Value>
  </KeyValueOfstringArrayOfDictionaryEntryDto_P0fVI3rp>
</ArrayOfKeyValueOfstringArrayOfDictionaryEntryDto_P0fVI3rp>