GET api/anatypeapi/anatypes?active={active}&lastUpdate={lastUpdate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
active

boolean

None.

lastUpdate

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AnaTypeViewModel
NameDescriptionTypeAdditional information
descriptions

Dictionary of string [key] and string [value]

Required

id

globally unique identifier

None.

code

integer

Required

technical_description

string

Required

String length: inclusive between 0 and 100

active

boolean

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "id": "2e276ccd-7b56-4fa8-b05a-601930d16654",
    "code": 2,
    "technical_description": "sample string 3",
    "active": true
  },
  {
    "descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "id": "2e276ccd-7b56-4fa8-b05a-601930d16654",
    "code": 2,
    "technical_description": "sample string 3",
    "active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfanatype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <anatype>
    <active>true</active>
    <code>2</code>
    <id>2e276ccd-7b56-4fa8-b05a-601930d16654</id>
    <technical_description>sample string 3</technical_description>
    <descriptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </descriptions>
  </anatype>
  <anatype>
    <active>true</active>
    <code>2</code>
    <id>2e276ccd-7b56-4fa8-b05a-601930d16654</id>
    <technical_description>sample string 3</technical_description>
    <descriptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </descriptions>
  </anatype>
</ArrayOfanatype>