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": "38fd3cb9-1aff-466a-b901-eeeefa0c2036",
  "Name": "sample string 1",
  "IsProducing": true,
  "IsInjecting": true,
  "AssetType": {
    "AssetTypeId": "53b02cf9-4215-4531-8d17-7b63e0b6703c",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "IsWell": true,
    "DisplayColor": "sample string 4",
    "SourceSystemId": "sample string 5",
    "CompanyId": "1dfcec1a-9a02-4812-9e66-8862aa773eec",
    "CreateDate": "2024-04-24T07:59:14.9468021-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-04-24T07:59:14.9468021-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "SourceSystemId": "sample string 4",
  "CompanyId": "0cb2e0ad-c3f6-4a63-bb30-094088be51d4",
  "CreateDate": "2024-04-24T07:59:14.9468021-07:00",
  "CreateUser": "sample string 6",
  "LastModifiedDate": "2024-04-24T07:59:14.9468021-07: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"
}