GET OData/EqpAutomationDevices({AutomationDeviceID})

Retrieves an entity based on the provided key

Request Information

Header Parameters

Header Name Description Type Additional information
Accept Mime Type

The accept header used to specify the acceptable response mime type

string

Optional

Authorization Scheme

The authorization method (should always be Basic)

string

Required

Security Token

The security token obtained by successfully authenticating a user with the Account API

globally unique identifier

Required

Accept: application/json
Authorization: Basic 6f17a91e-a0bc-45bf-ae42-f38af8b422c3

URI Parameters

Name Description Type Additional information
key

The key of the entity to retrieve

integer

Required

https://apps.fielddirect.com/DataServices/OData/EqpAutomationDevices(1)

Body Parameters

None.

Response Information

Success Response

eqpAutomationDevice

application/json, text/json:
{
  "AutomationDeviceID": 1,
  "AutomationDeviceTypeID": 2,
  "CorpID": 1,
  "PropertyID": 3,
  "EntityID": 4,
  "EntityTypeID": 5,
  "MonitorPtID": 1,
  "AutoDeviceManufacturerID": 1,
  "SerialNumber": "sample string 6",
  "ManufacturerCalDate": "2024-11-13T23:50:14.198082",
  "LastFieldCalDate": "2024-11-13T23:50:14.198082",
  "SoftwareRevID": "sample string 7",
  "CCUFlag": true,
  "Description": "sample string 9",
  "StartDate": "2024-11-13T23:50:14.198082",
  "EndDate": "2024-11-13T23:50:14.198082",
  "fdStatus": 1,
  "Stamp": "2024-11-13T23:50:14.198082",
  "ADRptMethodCode": 1
}

Error Response

An error response containing the details about a failed api request

ErrorResponse

application/json, text/json:
{
  "error": {
    "batcherror": {
      "operationindex": 1,
      "requestindex": 2
    },
    "code": "UnknownError",
    "innererror": {
      "innererror": {
        "message": {
          "lang": "en-US",
          "value": "sample string 3"
        },
        "type": "sample string 5",
        "trace": "sample string 4"
      },
      "message": {
        "lang": "en-US",
        "value": "sample string 6"
      },
      "type": "sample string 8",
      "trace": "sample string 7"
    },
    "message": {
      "lang": "en-US",
      "value": "sample string 9"
    }
  }
}