Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
  page:  (int) default value 1
  size:  (int) default value 10
  country_id: (int)
  use_id: (int)
  cultivation_id (int)
  find: (string)
  dateupdated_from: (stringdatetime) YYYY-mm-dd HH:ii:ssoptional
   dateupdated_to: (stringdatetime) YYYY-mm-dd HH:ii:ssĀ optional

Response example:

Code Block
{
    "items": [
        {
            "id": 1,
            "name": "Amitraz",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 2,
            "name": "Dicofol + tetradifon",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 3,
            "name": "Hexitiazox",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 4,
            "name": "Clofentezine",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 5,
            "name": "Propargite",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 6,
            "name": "Formetanato",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 7,
            "name": "Piridaben",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 8,
            "name": "Cyhexatin",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 9,
            "name": "Flufenoxuron",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        },
        {
            "id": 10,
            "name": "Fenpiroximato",
            "modified_at": {
                "date": "2015-11-01 00:00:00.000000",
                "timezone_type": 3,
                "timezone": "America/Argentina/Buenos_Aires"
            }
        }
    ],
    "current_page": 1,
    "next_page": 2,
    "total_pages": 202,
    "total_items": 2017
}

...