POST Assets

Creates a new asset.

Request Information

URI Parameters

None.

Body Parameters

The asset to create. AssetId should not be filled in.

Asset
NameDescriptionTypeAdditional information
AssetId

globally unique identifier

None.

Name

string

None.

Description

string

None.

DisplayOrder

integer

None.

AssetType

AssetType

None.

AssetGroup

AssetGroup

None.

ParentAsset

Asset

None.

Location

string

None.

Barcode

Barcode

None.

State

State

None.

Status

Status

None.

WellPurpose

WellPurpose

None.

FormValueNeededDate

date

None.

MeasurementValueNeededDate

date

None.

HasChildren

boolean

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": "ec81b0ac-7277-4db9-870a-8418094518b5",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "DisplayOrder": 1,
  "AssetType": {
    "AssetTypeId": "22addef6-9dac-4d70-b023-8d4d51dd0c82",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "IsWell": true,
    "DisplayColor": "sample string 4",
    "SourceSystemId": "sample string 5",
    "CompanyId": "03859445-131e-47e2-ad5a-810c6f9af704",
    "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "AssetGroup": {
    "AssetGroupId": "a45ddb60-f776-401b-ac2b-2374abfdc839",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ParentGroup": null,
    "DisplayOrder": 1,
    "FormValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
    "MeasurementValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
    "SourceSystemId": "sample string 3",
    "CompanyId": "8d947702-14b0-4547-9fec-fe17a6fe7f61",
    "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
    "LastModifiedUser": "sample string 6"
  },
  "ParentAsset": null,
  "Location": "sample string 3",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  },
  "State": {
    "StateId": "eeef94c2-f2df-4d9b-9a1f-cec7284e435f",
    "EffectiveDate": "2024-03-27T20:22:48.8504042-07:00",
    "StateType": {
      "StateTypeId": "3aae6ffb-962e-420d-b62a-eac74b000233",
      "Name": "sample string 1",
      "IsOperational": true,
      "AssetType": {
        "AssetTypeId": "22addef6-9dac-4d70-b023-8d4d51dd0c82",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "03859445-131e-47e2-ad5a-810c6f9af704",
        "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "SourceSystemId": "sample string 3",
      "CompanyId": "b19dac4a-af31-4c7b-92d5-37074b742143",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "e3aa9e56-18fa-4575-a9ea-65debc899642",
    "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
    "LastModifiedUser": "sample string 4"
  },
  "Status": {
    "StatusId": "a6c0c7a1-449e-4932-9840-dcf81c69775b",
    "EffectiveDate": "2024-03-27T20:22:48.8504042-07:00",
    "StatusType": {
      "StatusTypeId": "f162a611-6b7b-4e1d-917e-6a327a5f650e",
      "Name": "sample string 1",
      "IsProducing": true,
      "IsInjecting": true,
      "AssetType": {
        "AssetTypeId": "22addef6-9dac-4d70-b023-8d4d51dd0c82",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "03859445-131e-47e2-ad5a-810c6f9af704",
        "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "SourceSystemId": "sample string 4",
      "CompanyId": "04be3cd1-392d-4cef-89a9-7ead0be8801b",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "24e94fe5-db15-4c23-afd8-a60fcdc4eece",
    "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
    "LastModifiedUser": "sample string 4"
  },
  "WellPurpose": {
    "WellPurposeId": "568739b8-f1c3-4203-922c-c44c803c15de",
    "EffectiveDate": "2024-03-27T20:22:48.8504042-07:00",
    "WellPurposeType": {
      "WellPurposeTypeId": "c8f37577-bace-456c-884f-30600c89c648",
      "IsProducer": true,
      "IsInjector": true,
      "Name": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "7716d401-5b51-4cf7-ad95-6799a277deba",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "84238c5e-1c3b-41a2-8a46-d527f09f9667",
    "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
    "LastModifiedUser": "sample string 4"
  },
  "FormValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
  "MeasurementValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
  "HasChildren": true,
  "SourceSystemId": "sample string 5",
  "CompanyId": "9acd7acc-5ef9-49d6-907b-1724dec8aa08",
  "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
  "LastModifiedUser": "sample string 8"
}

Response Information

Resource Description

On success, the created asset.

NameDescriptionTypeAdditional information
Data

Asset

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AssetId": "aa1a93b1-8d7f-47ad-bae1-99b9ae4a5973",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "663a2247-ed2c-4ffd-9370-1741afe38879",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "bad5b7ae-b410-4d7f-b03b-9daf9c67709a",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "412b1d41-3d45-4149-8d3e-9f3527bd0580",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
      "MeasurementValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "55bf4d48-afb7-41a5-9890-0023cb7ce5eb",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "9d69263f-c539-4b3b-8cc5-6f1d12cb31d0",
      "EffectiveDate": "2024-03-27T20:22:48.8504042-07:00",
      "StateType": {
        "StateTypeId": "6eec97af-923b-4a33-945f-1cef841da13d",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "663a2247-ed2c-4ffd-9370-1741afe38879",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "bad5b7ae-b410-4d7f-b03b-9daf9c67709a",
          "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "5f48e442-6e83-48fe-b5c0-04cbbb41c632",
        "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "2599573d-eb5a-44b8-a936-8e9f42529860",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "a71e25cb-8d6f-4b1f-907f-b640fce825a5",
      "EffectiveDate": "2024-03-27T20:22:48.8504042-07:00",
      "StatusType": {
        "StatusTypeId": "cd979913-5ba4-4880-82f7-58db81c5abae",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "663a2247-ed2c-4ffd-9370-1741afe38879",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "bad5b7ae-b410-4d7f-b03b-9daf9c67709a",
          "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "a204f189-ad0a-4195-9c34-3f8a12b1305a",
        "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "00e997bc-0ea1-42da-9a0f-462fe57c2baf",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "aab7d949-012d-4438-bb09-0e114dba4770",
      "EffectiveDate": "2024-03-27T20:22:48.8504042-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "3e0f0e74-275a-478d-83b1-9f342a1e0bfa",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "11a9f1c0-2b10-47d2-913e-ae4955378dd8",
        "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "f9771726-e032-4fc3-8556-2cf0094d7f60",
      "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
    "MeasurementValueNeededDate": "2024-03-27T20:22:48.8504042-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "817eeb27-c793-4174-881f-3f4a9415b07f",
    "CreateDate": "2024-03-27T20:22:48.8504042-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-03-27T20:22:48.8504042-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}