POST OData/DocSealReports

Creates a new entity

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 822082f9-d1af-4fae-b97d-b967e19e1313

URI Parameters

None.

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

Body Parameters

The entity to be created

docSealReports

application/json, text/json:
{
  "DocIDSealReports": 1,
  "UserID": "sample string 2",
  "EntityID": 3,
  "EntityTypeID": 1,
  "docDate": "2025-04-01T13:18:37.0801973",
  "ValveType": "sample string 5",
  "ValveTypeID": 1,
  "SealOn": "sample string 6",
  "SealOff": "sample string 7",
  "SealPosition": true,
  "Stamp": "2025-04-01T13:18:37.0801973",
  "Notes": "sample string 10",
  "InputByID": "sample string 11",
  "DocSourceCode": 1
}

Response Information

Success Response

docSealReports

application/json, text/json:
{
  "DocIDSealReports": 1,
  "UserID": "sample string 2",
  "EntityID": 3,
  "EntityTypeID": 1,
  "docDate": "2025-04-01T13:18:37.0801973",
  "ValveType": "sample string 5",
  "ValveTypeID": 1,
  "SealOn": "sample string 6",
  "SealOff": "sample string 7",
  "SealPosition": true,
  "Stamp": "2025-04-01T13:18:37.0801973",
  "Notes": "sample string 10",
  "InputByID": "sample string 11",
  "DocSourceCode": 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"
    }
  }
}