POST Statuses
Creates a new status.
Request Information
URI Parameters
None.
Body Parameters
The status to create. StatusId should not be filled in.
StatusName | Description | Type | Additional information |
---|---|---|---|
StatusId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
EffectiveDate | date |
None. |
|
StatusType | StatusType |
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:
{ "StatusId": "23b44427-273e-47c0-b876-97046d4de0c6", "Asset": { "AssetId": "eabf6006-f294-4a97-88fd-ed4717db3055", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "db48d841-2d72-4b30-b84c-5aaa6115a5fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7c5c9cbc-5459-4000-9af4-ebcd40bd23fd", "CreateDate": "2024-11-21T04:25:37.1622357-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.1622357-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "7d264fa2-569b-4366-bb06-5337b9310724", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T04:25:37.1622357-08:00", "MeasurementValueNeededDate": "2024-11-21T04:25:37.1622357-08:00", "SourceSystemId": "sample string 3", "CompanyId": "be3675ef-7cf7-4be3-8fee-0a4d168b815d", "CreateDate": "2024-11-21T04:25:37.1622357-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:25:37.1622357-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "00b54891-45fa-4529-bf3a-24511b214fa9", "EffectiveDate": "2024-11-21T04:25:37.1622357-08:00", "StateType": { "StateTypeId": "6d625179-f52e-4dab-ad55-474fdcc775e5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "db48d841-2d72-4b30-b84c-5aaa6115a5fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7c5c9cbc-5459-4000-9af4-ebcd40bd23fd", "CreateDate": "2024-11-21T04:25:37.1622357-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.1622357-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "54c23534-a006-47b5-8765-c45e59c74718", "CreateDate": "2024-11-21T04:25:37.1622357-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:25:37.1622357-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "da6b0f49-ae4c-4440-9e7f-a85513c55fda", "CreateDate": "2024-11-21T04:25:37.1622357-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:25:37.1622357-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "f4545112-fa87-4edc-af67-5136ac8d6929", "EffectiveDate": "2024-11-21T04:25:37.1622357-08:00", "WellPurposeType": { "WellPurposeTypeId": "7b7d4a99-44bc-4f7b-af3a-8c1cc90dd391", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c89c3101-9de7-4eb0-9ed8-54839f831213", "CreateDate": "2024-11-21T04:25:37.1779242-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:25:37.1779242-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "616ab211-c7ad-46c5-9b62-47168c98aab7", "CreateDate": "2024-11-21T04:25:37.1779242-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:25:37.1779242-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T04:25:37.1779242-08:00", "MeasurementValueNeededDate": "2024-11-21T04:25:37.1779242-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7d9af6bd-bb79-4b55-99b9-4d9ad8f56308", "CreateDate": "2024-11-21T04:25:37.1779242-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.1779242-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-21T04:25:37.1779242-08:00", "StatusType": { "StatusTypeId": "ff3e0b44-f9e3-4234-9789-87cff8301388", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "db48d841-2d72-4b30-b84c-5aaa6115a5fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7c5c9cbc-5459-4000-9af4-ebcd40bd23fd", "CreateDate": "2024-11-21T04:25:37.1622357-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.1622357-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "780eac5d-29c4-49fc-9773-6ff0d6224e4d", "CreateDate": "2024-11-21T04:25:37.1779242-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:25:37.1779242-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1ffac048-5301-4b53-a070-85a45a569cb7", "CreateDate": "2024-11-21T04:25:37.1779242-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:25:37.1779242-08:00", "LastModifiedUser": "sample string 4" }
Response Information
Resource Description
On success, the created status.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Status |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "StatusId": "31c8946d-8947-4df3-b02f-d453d8cd6c98", "Asset": { "AssetId": "89eb5d70-cd00-4684-8496-2c0410e58a99", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5d800be3-c280-4303-985b-c51b86b4b511", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fd203970-3df5-4627-8e5a-539c1a7753ae", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9cc06d8b-4a42-4831-8189-895336ce738f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T04:25:37.5372343-08:00", "MeasurementValueNeededDate": "2024-11-21T04:25:37.5372343-08:00", "SourceSystemId": "sample string 3", "CompanyId": "89ad1c0e-e847-40c9-a195-5ec311cba487", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cab9d197-f312-4398-9d85-f043f208e4c6", "EffectiveDate": "2024-11-21T04:25:37.5372343-08:00", "StateType": { "StateTypeId": "86421289-3718-4837-a5c5-cb4c39c66481", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5d800be3-c280-4303-985b-c51b86b4b511", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fd203970-3df5-4627-8e5a-539c1a7753ae", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "65ad9712-3d69-4d40-936d-fc766d6ebf0e", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9afe19be-4d30-4971-9cec-ee1613602cc9", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4b4593b6-3e55-400e-a7d5-5ebea50c8c27", "EffectiveDate": "2024-11-21T04:25:37.5372343-08:00", "WellPurposeType": { "WellPurposeTypeId": "459a4a39-4aa2-4c4f-a842-8f0d7a428b96", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b8da825e-9fae-4ab7-9270-0e67cd8ae341", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5a74b9b7-f4e3-4b96-8a56-53c12f717814", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T04:25:37.5372343-08:00", "MeasurementValueNeededDate": "2024-11-21T04:25:37.5372343-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f89ef283-d17e-4e56-b2bd-1adb6bb14885", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-21T04:25:37.5372343-08:00", "StatusType": { "StatusTypeId": "21ff9bd4-c032-4172-8fc9-e5e3c57dd01b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "5d800be3-c280-4303-985b-c51b86b4b511", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fd203970-3df5-4627-8e5a-539c1a7753ae", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "169b54fc-9cb2-4f12-aaec-341ef3269f87", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e612b8e4-cd03-4ee7-99ed-a633486b925a", "CreateDate": "2024-11-21T04:25:37.5372343-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:25:37.5372343-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }