GET api/washingProcessapi/washingprocessesbysite/{siteId}?active={active}&lastUpdate={lastUpdate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

Required

active

boolean

None.

lastUpdate

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WashingProcessViewModel
NameDescriptionTypeAdditional information
descriptions

Dictionary of string [key] and string [value]

None.

active

boolean

None.

code

string

Required

String length: inclusive between 0 and 30

id

globally unique identifier

None.

site_id

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "active": true,
    "code": "sample string 2",
    "id": "bc4c21d4-04e0-466f-8e0c-2bd216cb6975",
    "site_id": "be46275e-f884-45ab-996b-c78731431677"
  },
  {
    "descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "active": true,
    "code": "sample string 2",
    "id": "bc4c21d4-04e0-466f-8e0c-2bd216cb6975",
    "site_id": "be46275e-f884-45ab-996b-c78731431677"
  }
]

application/xml, text/xml

Sample:
<ArrayOfwashing_process xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <washing_process>
    <active>true</active>
    <code>sample string 2</code>
    <id>bc4c21d4-04e0-466f-8e0c-2bd216cb6975</id>
    <site_id>be46275e-f884-45ab-996b-c78731431677</site_id>
    <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>
  </washing_process>
  <washing_process>
    <active>true</active>
    <code>sample string 2</code>
    <id>bc4c21d4-04e0-466f-8e0c-2bd216cb6975</id>
    <site_id>be46275e-f884-45ab-996b-c78731431677</site_id>
    <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>
  </washing_process>
</ArrayOfwashing_process>