GET OData/EqpPumps

Retrieves all of the entities available at the current URI

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 5e93a198-0a00-444d-9a15-969f4169e52c

URI Parameters

None.

https://apps.fielddirect.com/DataServices/OData/EqpPumps

Body Parameters

None.

Response Information

Success Response

Collection of eqpPump

application/json, text/json:
[
  {
    "PumpID": 1,
    "EntityID": 1,
    "EntityTypeID": 1,
    "PMEntityID": 1,
    "PMEntityTypeID": 1,
    "Description": "sample string 2",
    "Manufacturer": "sample string 3",
    "Model": "sample string 4",
    "SerialNumber": "sample string 5",
    "PumpSize": 1.1,
    "MaxRPM": 1,
    "Latitude": 1.1,
    "Longitude": 1.1,
    "ChemicalData": true,
    "fdStatus": 64,
    "DataFlag": true,
    "StartDate": "2024-11-13T23:43:58.0552471",
    "EndDate": "2024-11-13T23:43:58.0552471",
    "Stamp": "2024-11-13T23:43:58.0552471"
  },
  {
    "PumpID": 1,
    "EntityID": 1,
    "EntityTypeID": 1,
    "PMEntityID": 1,
    "PMEntityTypeID": 1,
    "Description": "sample string 2",
    "Manufacturer": "sample string 3",
    "Model": "sample string 4",
    "SerialNumber": "sample string 5",
    "PumpSize": 1.1,
    "MaxRPM": 1,
    "Latitude": 1.1,
    "Longitude": 1.1,
    "ChemicalData": true,
    "fdStatus": 64,
    "DataFlag": true,
    "StartDate": "2024-11-13T23:43:58.0552471",
    "EndDate": "2024-11-13T23:43:58.0552471",
    "Stamp": "2024-11-13T23:43:58.0552471"
  }
]

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"
    }
  }
}