GET api/backoffice/v{version}/items/{item_id}/itemevents

Request Information

URI Parameters

NameDescriptionTypeAdditional information
item_id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

ItemEventList
NameDescriptionTypeAdditional information
item_events

Collection of ItemEvent

None.

Response Formats

application/json, text/json

Sample:
{
  "item_events": [
    {
      "id": 1,
      "quantity": 2.1,
      "sub_quantity": 3.1,
      "weight": 4.1,
      "lon": 5.0,
      "lat": 6.0,
      "notes": "sample string 7",
      "item_id": 8,
      "created_at": "sample string 9",
      "updated_at": "sample string 10"
    },
    {
      "id": 1,
      "quantity": 2.1,
      "sub_quantity": 3.1,
      "weight": 4.1,
      "lon": 5.0,
      "lat": 6.0,
      "notes": "sample string 7",
      "item_id": 8,
      "created_at": "sample string 9",
      "updated_at": "sample string 10"
    }
  ]
}

text/html

Sample:
{"item_events":[{"id":1,"quantity":2.1,"sub_quantity":3.1,"weight":4.1,"lon":5.0,"lat":6.0,"notes":"sample string 7","item_id":8,"created_at":"sample string 9","updated_at":"sample string 10"},{"id":1,"quantity":2.1,"sub_quantity":3.1,"weight":4.1,"lon":5.0,"lat":6.0,"notes":"sample string 7","item_id":8,"created_at":"sample string 9","updated_at":"sample string 10"}]}

application/xml, text/xml

Sample:
<ItemEventList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DispatchITV2.Models.Data">
  <item_events>
    <ItemEvent>
      <created_at>sample string 9</created_at>
      <id>1</id>
      <item_id>8</item_id>
      <lat>6</lat>
      <lon>5</lon>
      <notes>sample string 7</notes>
      <quantity>2.1</quantity>
      <sub_quantity>3.1</sub_quantity>
      <updated_at>sample string 10</updated_at>
      <weight>4.1</weight>
    </ItemEvent>
    <ItemEvent>
      <created_at>sample string 9</created_at>
      <id>1</id>
      <item_id>8</item_id>
      <lat>6</lat>
      <lon>5</lon>
      <notes>sample string 7</notes>
      <quantity>2.1</quantity>
      <sub_quantity>3.1</sub_quantity>
      <updated_at>sample string 10</updated_at>
      <weight>4.1</weight>
    </ItemEvent>
  </item_events>
</ItemEventList>