POST api/Demeter/saveworkorderaim

Request Information

URI Parameters

None.

Body Parameters

ChemicalMeasuresModelAIM
NameDescriptionTypeAdditional information
@context

Collection of Object

None.

@graph

Collection of Graph

None.

Request Formats

application/json, text/json

Sample:
{
  "@context": [
    {},
    {}
  ],
  "@graph": [
    {
      "refDevice": {
        "@id": "sample string 1",
        "@type": "sample string 2",
        "name": "sample string 3"
      },
      "hasTimeStamp": "2026-10-30T14:39:49.4841077+00:00",
      "treatmentProduct": {
        "@id": "sample string 1",
        "@type": "sample string 2",
        "description": "sample string 3"
      },
      "activeIngredient": [
        {
          "@id": "sample string 1",
          "@type": "sample string 2",
          "description": "sample string 3"
        },
        {
          "@id": "sample string 1",
          "@type": "sample string 2",
          "description": "sample string 3"
        }
      ],
      "area": 2,
      "totalChemicalUsed": {
        "@type": "sample string 1",
        "@id": "sample string 2",
        "numericValue": 3.0,
        "unit": "sample string 4"
      },
      "@id": "sample string 3",
      "@type": "sample string 4"
    },
    {
      "refDevice": {
        "@id": "sample string 1",
        "@type": "sample string 2",
        "name": "sample string 3"
      },
      "hasTimeStamp": "2026-10-30T14:39:49.4841077+00:00",
      "treatmentProduct": {
        "@id": "sample string 1",
        "@type": "sample string 2",
        "description": "sample string 3"
      },
      "activeIngredient": [
        {
          "@id": "sample string 1",
          "@type": "sample string 2",
          "description": "sample string 3"
        },
        {
          "@id": "sample string 1",
          "@type": "sample string 2",
          "description": "sample string 3"
        }
      ],
      "area": 2,
      "totalChemicalUsed": {
        "@type": "sample string 1",
        "@id": "sample string 2",
        "numericValue": 3.0,
        "unit": "sample string 4"
      },
      "@id": "sample string 3",
      "@type": "sample string 4"
    }
  ]
}

text/html

Sample:
{"@context":[{},{}],"@graph":[{"refDevice":{"@id":"sample string 1","@type":"sample string 2","name":"sample string 3"},"hasTimeStamp":"2026-10-30T14:39:49.4841077+00:00","treatmentProduct":{"@id":"sample string 1","@type":"sample string 2","description":"sample string 3"},"activeIngredient":[{"@id":"sample string 1","@type":"sample string 2","description":"sample string 3"},{"@id":"sample string 1","@type":"sample string 2","description":"sample string 3"}],"area":2,"totalChemicalUsed":{"@type":"sample string 1","@id":"sample string 2","numericValue":3.0,"unit":"sample string 4"},"@id":"sample string 3","@type":"sample string 4"},{"refDevice":{"@id":"sample string 1","@type":"sample string 2","name":"sample string 3"},"hasTimeStamp":"2026-10-30T14:39:49.4841077+00:00","treatmentProduct":{"@id":"sample string 1","@type":"sample string 2","description":"sample string 3"},"activeIngredient":[{"@id":"sample string 1","@type":"sample string 2","description":"sample string 3"},{"@id":"sample string 1","@type":"sample string 2","description":"sample string 3"}],"area":2,"totalChemicalUsed":{"@type":"sample string 1","@id":"sample string 2","numericValue":3.0,"unit":"sample string 4"},"@id":"sample string 3","@type":"sample string 4"}]}

application/xml, text/xml

Sample:
<ChemicalMeasuresModelAIM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkoNET.WebAPI.Models">
  <_x0040_context xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </_x0040_context>
  <_x0040_graph>
    <Graph>
      <_x0040_id>sample string 3</_x0040_id>
      <_x0040_type>sample string 4</_x0040_type>
      <activeIngredient>
        <Activeingredient>
          <_x0040_id>sample string 1</_x0040_id>
          <_x0040_type>sample string 2</_x0040_type>
          <description>sample string 3</description>
        </Activeingredient>
        <Activeingredient>
          <_x0040_id>sample string 1</_x0040_id>
          <_x0040_type>sample string 2</_x0040_type>
          <description>sample string 3</description>
        </Activeingredient>
      </activeIngredient>
      <area>2</area>
      <hasTimeStamp>2026-10-30T14:39:49.4841077+00:00</hasTimeStamp>
      <refDevice>
        <_x0040_id>sample string 1</_x0040_id>
        <_x0040_type>sample string 2</_x0040_type>
        <name>sample string 3</name>
      </refDevice>
      <totalChemicalUsed>
        <_x0040_id>sample string 2</_x0040_id>
        <_x0040_type>sample string 1</_x0040_type>
        <numericValue>3</numericValue>
        <unit>sample string 4</unit>
      </totalChemicalUsed>
      <treatmentProduct>
        <_x0040_id>sample string 1</_x0040_id>
        <_x0040_type>sample string 2</_x0040_type>
        <description>sample string 3</description>
      </treatmentProduct>
    </Graph>
    <Graph>
      <_x0040_id>sample string 3</_x0040_id>
      <_x0040_type>sample string 4</_x0040_type>
      <activeIngredient>
        <Activeingredient>
          <_x0040_id>sample string 1</_x0040_id>
          <_x0040_type>sample string 2</_x0040_type>
          <description>sample string 3</description>
        </Activeingredient>
        <Activeingredient>
          <_x0040_id>sample string 1</_x0040_id>
          <_x0040_type>sample string 2</_x0040_type>
          <description>sample string 3</description>
        </Activeingredient>
      </activeIngredient>
      <area>2</area>
      <hasTimeStamp>2026-10-30T14:39:49.4841077+00:00</hasTimeStamp>
      <refDevice>
        <_x0040_id>sample string 1</_x0040_id>
        <_x0040_type>sample string 2</_x0040_type>
        <name>sample string 3</name>
      </refDevice>
      <totalChemicalUsed>
        <_x0040_id>sample string 2</_x0040_id>
        <_x0040_type>sample string 1</_x0040_type>
        <numericValue>3</numericValue>
        <unit>sample string 4</unit>
      </totalChemicalUsed>
      <treatmentProduct>
        <_x0040_id>sample string 1</_x0040_id>
        <_x0040_type>sample string 2</_x0040_type>
        <description>sample string 3</description>
      </treatmentProduct>
    </Graph>
  </_x0040_graph>
</ChemicalMeasuresModelAIM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChemicalMeasuresModelAIM'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>