/backlog-sync

This feature allows you to create Backlog Sync requests via API.

This endpoint only supports WITSML protocol

Required information

/backlog-sync/request?qualifier=qualifier&instance=instance

POST http://environment.com/services/plugin-liverig/collectors/backlog-sync/request

Create a new request to retrieve historical high-frequency data from WITSML Logs and supports both date time and depth information

Query Parameters

NameTypeDescription

instance*

string

Collector instance

qualifier*

string

Collector qualifier

Headers

NameTypeDescription

Content-type*

string

application/json

Request Body

NameTypeDescription

source*

string

The source name

rigName*

string

The rig name of that source

wells*

json

An object representing the logs that will be retrieved from WITSML Store. See examples below.

start

string

ATTENTION: ONLY FOR DATE TIME requests, the Unix epoch timestamp for the initial startDateTimeindex to be retrieved.

end

string

ATTENTION: ONLY FOR DATE TIME requests, the Unix epoch timestamp for the last endDateTimeindex to be retrieved.

depth

json

ATTENTION: ONLY FOR DEPTH requests, an inner object containing start, end and uom.

qualifier

string

Collector qualifier (yes, unfortunately also in body, known bug)

instance

string

Collector instance (yes, unfortunately also in body, known bug)

{"success":"02a7533a-fa69-46fc-9441-7592b9b9cb2a"}

Examples

Body for date time WITSML Logs

  • Source name: "Example WITSML server"

  • Rig name: "RIG02"

  • Date time range: from 01/03/2024 12:00:00 AM to 01/04/2024 12:00:00 AM (UTC-03)

  • WITSML Date-time Log UID: "Energistics-w1-wb1-log-0002"

  • WITSML Well UID: "Energistics-well-0001"

  • WITSML Wellbore UID: "Energistics-w1-wellbore-0001"

{
    "source": "Example WITSML server",
    "rigName": "RIG02",
    "wells": {
        "Energistics-well-0001": {
            "Energistics-w1-wellbore-0001": {
                "logs": [
                    {
                        "uid": "Energistics-w1-wb1-log-0002",
                        "indexType": "date time"
                    }
                ]
            }
        }
    },
    "start": 1704250800000,
    "end": 1704337200000,
    "qualifier": "qualifier",
    "instance": "instance"
}

Body for depth WITSML Logs

  • Source name: "Example WITSML server"

  • Rig name: "RIG02"

  • Depth range: from 100 meters to 200 meters

  • WITSML Depth Log UID: "Energistics-w1-wb1-log-0002"

  • WITSML Well UID: "Energistics-well-0001"

  • WITSML Wellbore UID: "Energistics-w1-wellbore-0001"

{
    "source": "Example WITSML server",
    "rigName": "RIG02",
    "wells": {
        "Energistics-well-0001": {
            "Energistics-w1-wellbore-0001": {
                "logs": [
                    {
                        "uid": "Energistics-w1-wb1-log-0002",
                        "indexType": "measured depth"
                    }
                ]
            }
        }
    },
    "depth": {
        "start": "100",
        "end": "200",
        "uom": "m"
    },
    "qualifier": "qualifier",
    "instance": "instance"
}

Last updated