GET api/agronetmobilelayinghens/getlayinghenspoultryobjects

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

PoultryObjectsModel
NameDescriptionTypeAdditional information
LObjects

Collection of PoultryObjectView

None.

Response Formats

application/json, text/json

Sample:
{
  "LObjects": [
    {
      "ObjectId": 1,
      "HenhouseId": 1,
      "Name": "sample string 2",
      "Longitude": 1.0,
      "Latitude": 1.0,
      "StartDate": "2026-10-30T14:04:29.1013003+00:00",
      "NumDaysFromStart": 1,
      "LastInsertDate": "2026-10-30T14:04:29.1013003+00:00"
    },
    {
      "ObjectId": 1,
      "HenhouseId": 1,
      "Name": "sample string 2",
      "Longitude": 1.0,
      "Latitude": 1.0,
      "StartDate": "2026-10-30T14:04:29.1013003+00:00",
      "NumDaysFromStart": 1,
      "LastInsertDate": "2026-10-30T14:04:29.1013003+00:00"
    }
  ]
}

text/html

Sample:
{"LObjects":[{"ObjectId":1,"HenhouseId":1,"Name":"sample string 2","Longitude":1.0,"Latitude":1.0,"StartDate":"2026-10-30T14:04:29.1013003+00:00","NumDaysFromStart":1,"LastInsertDate":"2026-10-30T14:04:29.1013003+00:00"},{"ObjectId":1,"HenhouseId":1,"Name":"sample string 2","Longitude":1.0,"Latitude":1.0,"StartDate":"2026-10-30T14:04:29.1013003+00:00","NumDaysFromStart":1,"LastInsertDate":"2026-10-30T14:04:29.1013003+00:00"}]}

application/xml, text/xml

Sample:
<PoultryObjectsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkoNET.WebAPI.Models">
  <LObjects>
    <PoultryObjectView>
      <HenhouseId>1</HenhouseId>
      <LastInsertDate>2026-10-30T14:04:29.1013003+00:00</LastInsertDate>
      <Latitude>1</Latitude>
      <Longitude>1</Longitude>
      <Name>sample string 2</Name>
      <NumDaysFromStart>1</NumDaysFromStart>
      <ObjectId>1</ObjectId>
      <StartDate>2026-10-30T14:04:29.1013003+00:00</StartDate>
    </PoultryObjectView>
    <PoultryObjectView>
      <HenhouseId>1</HenhouseId>
      <LastInsertDate>2026-10-30T14:04:29.1013003+00:00</LastInsertDate>
      <Latitude>1</Latitude>
      <Longitude>1</Longitude>
      <Name>sample string 2</Name>
      <NumDaysFromStart>1</NumDaysFromStart>
      <ObjectId>1</ObjectId>
      <StartDate>2026-10-30T14:04:29.1013003+00:00</StartDate>
    </PoultryObjectView>
  </LObjects>
</PoultryObjectsModel>