---
title: Bulk Add / Update Wellbore Plunger Data
slug: bulk-add-update-wellbore-plunger-data
docTags: 
createdAt: 2026-08-14T21:38:37.091Z
---

{
  "id": "hqwPV2D0OqC77jpz2MvJ1",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://data.onxecta.com/api/production/plunger",
    "servers": [
      {
        "url": "https://data.onxecta.com/api/production/plunger",
        "description": "AWS Cloud API Endpoint"
      },
      {
        "url": "http://localhost/api/production/plunger",
        "description": "Local Testing API Endpoint"
      }
    ],
    "name": "Bulk Add / Update Wellbore Plunger Data",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "array",
          "description": "",
          "customType": "WellborePlungerInput[]",
          "schema": [
            {
              "name": "sourceWellId",
              "kind": "required",
              "type": "string",
              "description": "SourceWellId of the well which owns the plunger",
              "maxLength": 100
            },
            {
              "name": "sourceWellboreId",
              "kind": "required",
              "type": "string",
              "description": "SourceWellboreId of the wellbore which owns the plunger",
              "maxLength": 100
            },
            {
              "name": "sourceTubingId",
              "kind": "required",
              "type": "string",
              "description": "SourceTubingId of the tubing in which the plunger is installed",
              "maxLength": 100
            },
            {
              "name": "sourceId",
              "kind": "required",
              "type": "string",
              "description": "SourceId of the wellbore plunger to enable upsert",
              "maxLength": 100
            },
            {
              "name": "runDate",
              "kind": "required",
              "type": "string<date-time>",
              "description": "<p>Run date of the plunger. Datetime offset (with timezone) in ISO 8601 format. Example: 2022-09-27T16:28</p><div></div>+0000<p></p>",
              "format": "date-time"
            },
            {
              "name": "pullDate",
              "kind": "optional",
              "type": "string<date-time>",
              "nullable": true,
              "description": "<p>Pull date of the plunger. Datetime offset (with timezone) in ISO 8601 format. Example: 2022-09-27T16:28</p><div></div>+0000<p></p>",
              "format": "date-time"
            },
            {
              "name": "make",
              "kind": "required",
              "type": "string",
              "nullable": false,
              "description": "Manufacturer of the plunger installed",
              "maxLength": 100
            },
            {
              "name": "model",
              "kind": "required",
              "type": "string",
              "nullable": false,
              "description": "<p>Manufacturer-assigned model of the plunger</p>",
              "maxLength": 100
            },
            {
              "name": "type",
              "kind": "required",
              "type": "string",
              "nullable": false,
              "description": "<p>Source-provided plunger classification in the well (e.g., conventional, bypass, pad, free cycle, etc.)</p>",
              "maxLength": 100
            },
            {
              "name": "bumperSpringDepth",
              "kind": "required",
              "type": "number<double>",
              "description": "<p>Bumper spring depth, ft</p>",
              "format": "double"
            }
          ],
          "modelRef": "#/components/schemas/WellborePlungerInput",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "bearerAuth",
          "name": "bearerAuth",
          "kind": "optional",
          "type": "http",
          "scheme": "bearer"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "array",
            "description": "",
            "customType": "WellborePlunger[]",
            "schema": [
              {
                "name": "xid",
                "kind": "required",
                "type": "string<uuid>",
                "description": "",
                "format": "uuid"
              },
              {
                "name": "tubingXid",
                "kind": "required",
                "type": "string<uuid>",
                "description": "",
                "format": "uuid"
              },
              {
                "name": "sourceWellId",
                "kind": "required",
                "type": "string",
                "description": "SourceWellId of the well which owns the plunger",
                "maxLength": 100
              },
              {
                "name": "sourceWellboreId",
                "kind": "required",
                "type": "string",
                "description": "SourceWellboreId of the wellbore which owns the plunger",
                "maxLength": 100
              },
              {
                "name": "sourceTubingId",
                "kind": "required",
                "type": "string",
                "description": "SourceTubingId of the tubing in which the plunger is installed",
                "maxLength": 100
              },
              {
                "name": "sourceId",
                "kind": "required",
                "type": "string",
                "description": "SourceId of the wellbore plunger",
                "maxLength": 100
              },
              {
                "name": "runDate",
                "kind": "required",
                "type": "string<date-time>",
                "description": "<p>Run date of the plunger. Datetime offset (with timezone) in ISO 8601 format. Example: 2022-09-27T16:28</p><div></div>+0000<p></p>",
                "format": "date-time"
              },
              {
                "name": "pullDate",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "<p>Pull date of the plunger. Datetime offset (with timezone) in ISO 8601 format. Example: 2022-09-27T16:28</p><div></div>+0000<p></p>",
                "format": "date-time"
              },
              {
                "name": "make",
                "kind": "required",
                "type": "string",
                "description": "The make of the plunger",
                "maxLength": 100
              },
              {
                "name": "model",
                "kind": "required",
                "type": "string",
                "description": "The model of the plunger",
                "maxLength": 100
              },
              {
                "name": "type",
                "kind": "required",
                "type": "string",
                "description": "The type of plunger",
                "maxLength": 100
              },
              {
                "name": "bumperSpringDepth",
                "kind": "required",
                "type": "number<double>",
                "description": "<p>Bumper spring depth, ft</p>",
                "format": "double"
              }
            ],
            "modelRef": "#/components/schemas/WellborePlunger",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "FmUkkmW6U71w5tKR7WfGu",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://data.onxecta.com/api/production/plunger \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '[\n     {\n     \"sourceWellId\": \"\",\n     \"sourceWellboreId\": \"\",\n     \"sourceTubingId\": \"\",\n     \"sourceId\": \"\",\n     \"runDate\": \"\",\n     \"make\": \"\",\n     \"model\": \"\",\n     \"type\": \"\",\n     \"bumperSpringDepth\": \"\"\n     }\n     ]'"
        },
        {
          "id": "cHCO6mT-0ysgwY3aI7Ma2",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify([\n   {\n      \"sourceWellId\": \"\",\n      \"sourceWellboreId\": \"\",\n      \"sourceTubingId\": \"\",\n      \"sourceId\": \"\",\n      \"runDate\": \"\",\n      \"make\": \"\",\n      \"model\": \"\",\n      \"type\": \"\",\n      \"bumperSpringDepth\": \"\"\n   }\n]);\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://data.onxecta.com/api/production/plunger\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "JWrHwOIB-dlsZ2vLJgnXJ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://data.onxecta.com/api/production/plunger\"\n\npayload = json.dumps([\n   {\n      \"sourceWellId\": \"\",\n      \"sourceWellboreId\": \"\",\n      \"sourceTubingId\": \"\",\n      \"sourceId\": \"\",\n      \"runDate\": \"\",\n      \"make\": \"\",\n      \"model\": \"\",\n      \"type\": \"\",\n      \"bumperSpringDepth\": \"\"\n   }\n])\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        },
        {
          "id": "9YIs11HO3dYKF_YCiAkyi",
          "language": "csharp",
          "label": "C#",
          "code": "var options = new RestClientOptions(\"https://data.onxecta.com\")\n{\n   MaxTimeout = -1,\n};\nvar client = new RestClient(options);\nvar request = new RestRequest(\"/api/production/plunger\", Method.Post);\nrequest.AddHeader(\"accept\", \"application/json\");\nrequest.AddHeader(\"content-type\", \"application/json\");\nvar body = @\"[\" + \"\\n\" +\n@\"  {\" + \"\\n\" +\n@\"    \"\"sourceWellId\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"sourceWellboreId\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"sourceTubingId\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"sourceId\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"runDate\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"make\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"model\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"type\"\": \"\"\"\",\" + \"\\n\" +\n@\"    \"\"bumperSpringDepth\"\": \"\"\"\"\" + \"\\n\" +\n@\"  }\" + \"\\n\" +\n@\"]\";\nrequest.AddStringBody(body, DataFormat.Json);\nRestResponse response = await client.ExecuteAsync(request);\nConsole.WriteLine(response.Content);"
        },
        {
          "id": "d3-MWCYARpuQjYDESsqdD",
          "language": "java",
          "label": "Java",
          "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n   .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"[\\n  {\\n    \\\"sourceWellId\\\": \\\"\\\",\\n    \\\"sourceWellboreId\\\": \\\"\\\",\\n    \\\"sourceTubingId\\\": \\\"\\\",\\n    \\\"sourceId\\\": \\\"\\\",\\n    \\\"runDate\\\": \\\"\\\",\\n    \\\"make\\\": \\\"\\\",\\n    \\\"model\\\": \\\"\\\",\\n    \\\"type\\\": \\\"\\\",\\n    \\\"bumperSpringDepth\\\": \\\"\\\"\\n  }\\n]\");\nRequest request = new Request.Builder()\n   .url(\"https://data.onxecta.com/api/production/plunger\")\n   .method(\"POST\", body)\n   .addHeader(\"accept\", \"application/json\")\n   .addHeader(\"content-type\", \"application/json\")\n   .build();\nResponse response = client.newCall(request).execute();"
        }
      ],
      "selectedLanguageId": "FmUkkmW6U71w5tKR7WfGu"
    },
    "results": {
      "languages": [
        {
          "id": "lz_NLfmVdFGvdkTjwml_6",
          "language": "200",
          "code": "// OK\n[\n  {\n    \"xid\": \"\",\n    \"tubingXid\": \"\",\n    \"sourceWellId\": \"\",\n    \"sourceWellboreId\": \"\",\n    \"sourceTubingId\": \"\",\n    \"sourceId\": \"\",\n    \"runDate\": \"\",\n    \"pullDate\": \"\",\n    \"make\": \"\",\n    \"model\": \"\",\n    \"type\": \"\",\n    \"bumperSpringDepth\": \"\"\n  }\n]"
        }
      ],
      "selectedLanguageId": "lz_NLfmVdFGvdkTjwml_6"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}