GET ops/logs?from={from}&to={to}&plantationId={plantationId}&compartmentId={compartmentId}&tagNo={tagNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
from

date

Required

to

date

Required

plantationId

integer

Default value is 0

compartmentId

integer

Default value is 0

tagNo

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of LogGET
NameDescriptionTypeAdditional information
Diameter

integer

None.

Id

integer

None.

LogLength

decimal number

None.

Modified

date

None.

ModifiedBy

UserBasicGET

None.

Stack

StackBasicGET

None.

TagNo

string

None.

Volume

decimal number

None.

Weight

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "diameter": 1,
    "id": 2,
    "logLength": 3.0,
    "modified": "2024-11-28T06:49:00.2354802+00:00",
    "modifiedBy": null,
    "stack": {
      "id": 1,
      "stackNo": "sample string 2"
    },
    "tagNo": "sample string 5",
    "volume": 6.1,
    "weight": 7.1
  },
  {
    "diameter": 1,
    "id": 2,
    "logLength": 3.0,
    "modified": "2024-11-28T06:49:00.2354802+00:00",
    "modifiedBy": null,
    "stack": {
      "id": 1,
      "stackNo": "sample string 2"
    },
    "tagNo": "sample string 5",
    "volume": 6.1,
    "weight": 7.1
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'myPortalApi.Models.Admin.UserBasicGET' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'myPortalApi.Models.Admin.UserBasicGET' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.