GET api/decontaminationunitlogtypeapi/decontaminationunitlogtypes?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 DecontaminationUnitLogTypeViewModel
NameDescriptionTypeAdditional information
descriptions

Dictionary of string [key] and string [value]

None.

short_names

Dictionary of string [key] and string [value]

None.

id

globally unique identifier

None.

code

integer

Required

technical_short_name

string

Required

String length: inclusive between 0 and 10

technical_description

string

Required

String length: inclusive between 0 and 100

garment_status_id

globally unique identifier

None.

active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "short_names": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "id": "b8f6b0fe-8fc6-4ff4-a0a1-0e430c079df8",
    "code": 2,
    "technical_short_name": "sample string 3",
    "technical_description": "sample string 4",
    "garment_status_id": "02d2b33a-3301-4f35-abee-adf42eaf8b60",
    "active": true
  },
  {
    "descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "short_names": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "id": "b8f6b0fe-8fc6-4ff4-a0a1-0e430c079df8",
    "code": 2,
    "technical_short_name": "sample string 3",
    "technical_description": "sample string 4",
    "garment_status_id": "02d2b33a-3301-4f35-abee-adf42eaf8b60",
    "active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfdecontamination_unit_log_type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <decontamination_unit_log_type>
    <active>true</active>
    <code>2</code>
    <garment_status_id>02d2b33a-3301-4f35-abee-adf42eaf8b60</garment_status_id>
    <id>b8f6b0fe-8fc6-4ff4-a0a1-0e430c079df8</id>
    <technical_description>sample string 4</technical_description>
    <technical_short_name>sample string 3</technical_short_name>
    <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>
    <short_names 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>
    </short_names>
  </decontamination_unit_log_type>
  <decontamination_unit_log_type>
    <active>true</active>
    <code>2</code>
    <garment_status_id>02d2b33a-3301-4f35-abee-adf42eaf8b60</garment_status_id>
    <id>b8f6b0fe-8fc6-4ff4-a0a1-0e430c079df8</id>
    <technical_description>sample string 4</technical_description>
    <technical_short_name>sample string 3</technical_short_name>
    <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>
    <short_names 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>
    </short_names>
  </decontamination_unit_log_type>
</ArrayOfdecontamination_unit_log_type>