DELETE StatusTypes

Deletes the given status type, including all statuses of that type.

Request Information

URI Parameters

None.

Body Parameters

Status type to delete

StatusType
NameDescriptionTypeAdditional information
StatusTypeId

globally unique identifier

None.

Name

string

None.

IsProducing

boolean

None.

IsInjecting

boolean

None.

AssetType

AssetType

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:
{
  "StatusTypeId": "bef627c9-3bee-45f0-9684-ec98e80b3058",
  "Name": "sample string 1",
  "IsProducing": true,
  "IsInjecting": true,
  "AssetType": {
    "AssetTypeId": "15c3bd12-29f9-4561-a545-1ee9bc8218fc",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "IsWell": true,
    "DisplayColor": "sample string 4",
    "SourceSystemId": "sample string 5",
    "CompanyId": "e3bd4b2e-c1ec-44a7-9f07-6f35750c814f",
    "CreateDate": "2024-11-22T21:34:32.2544567-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-11-22T21:34:32.2544567-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "SourceSystemId": "sample string 4",
  "CompanyId": "426743a6-a0c1-43f9-8eb2-b9f609b0102e",
  "CreateDate": "2024-11-22T21:34:32.2544567-08:00",
  "CreateUser": "sample string 6",
  "LastModifiedDate": "2024-11-22T21:34:32.2544567-08:00",
  "LastModifiedUser": "sample string 7"
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Object

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Total": 1,
  "Message": "sample string 2"
}