POST api/DownTimeResults/GetResults

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

Accept: application/json

URI Parameters

None.

https://apps.fielddirect.com/DataServices/api/DownTimeResults/GetResults

Body Parameters

None.

Response Information

Success Response

Collection of DownTimeResult

application/json, text/json:
[
  {
    "HrsDown": 1.1,
    "Id": 1,
    "Notes": "sample string 2",
    "DocDate": "2024-11-13T23:27:00.4213019",
    "Reason": "sample string 4",
    "PropId": 1,
    "PropName": "sample string 5",
    "SiteTypeId": 1,
    "SiteId": 1,
    "SiteName": "sample string 6",
    "WellTypeId": 1,
    "WellId": 1,
    "WellName": "sample string 7"
  },
  {
    "HrsDown": 1.1,
    "Id": 1,
    "Notes": "sample string 2",
    "DocDate": "2024-11-13T23:27:00.4213019",
    "Reason": "sample string 4",
    "PropId": 1,
    "PropName": "sample string 5",
    "SiteTypeId": 1,
    "SiteId": 1,
    "SiteName": "sample string 6",
    "WellTypeId": 1,
    "WellId": 1,
    "WellName": "sample string 7"
  }
]

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