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": "210fb9ed-f8a6-42e6-8bfe-f45d6d3333e3", "Asset": { "AssetId": "3907212b-f433-4ba4-b9ac-898f9ba58d1a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "500848d6-4a53-4645-9fd9-18f3cfd09dc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a0763c0f-cc6a-4f44-bee5-18748e56421a", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f995c94f-8409-4dba-927c-c57cf930ec9f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "MeasurementValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "SourceSystemId": "sample string 3", "CompanyId": "e89271e9-1c15-4e79-9105-88d6a4da0261", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "9ff66dfc-75ea-40d0-b909-f365ec333183", "EffectiveDate": "2025-05-08T16:31:19.9688821-07:00", "StateType": { "StateTypeId": "b25df85e-fefb-4048-a125-ca97bc11acd0", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "500848d6-4a53-4645-9fd9-18f3cfd09dc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a0763c0f-cc6a-4f44-bee5-18748e56421a", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "dc8e090f-82dc-487d-a6e3-f7584a76c23c", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "3decdc4d-ff96-430c-9ade-6db6cee33276", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b1e41e82-122e-48d2-8676-fb34126d6a4b", "EffectiveDate": "2025-05-08T16:31:19.9688821-07:00", "WellPurposeType": { "WellPurposeTypeId": "ff202e38-bb22-4344-8073-b35e0102abd6", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "beaa0701-1db2-45d2-9308-656ec1216d20", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c6dd1726-0c3c-4f7b-98e5-b0433ea3ab04", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "MeasurementValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "311d5401-8752-4125-950a-b68ff8ee8382", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-05-08T16:31:19.9688821-07:00", "StatusType": { "StatusTypeId": "578b3368-9c17-4580-b773-6546296290bc", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "500848d6-4a53-4645-9fd9-18f3cfd09dc8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a0763c0f-cc6a-4f44-bee5-18748e56421a", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "891a4f14-1751-4959-a8b8-42166d1473af", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "97312ae0-7131-4a92-944f-6566a2e4606e", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07: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": "552e4e77-0745-4b35-8f4f-22670383cb38", "Asset": { "AssetId": "4daf589c-e6dd-4928-883f-8e4c259eb618", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "22312c3a-dffe-4edf-ac0a-dafd9b14b8d3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f1cf56bc-a655-4c94-a2e8-abdfaf8a3958", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "aace318f-0aa1-4907-823a-7ff673684271", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "MeasurementValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9dda4ec5-191a-4a83-9455-6468ce2df9b0", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cdff0238-ff08-43e4-93d0-b33b464652d4", "EffectiveDate": "2025-05-08T16:31:19.9688821-07:00", "StateType": { "StateTypeId": "6b28ca9b-fb5e-4298-8ed6-f78d67735bc6", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "22312c3a-dffe-4edf-ac0a-dafd9b14b8d3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f1cf56bc-a655-4c94-a2e8-abdfaf8a3958", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "6aa670d8-bd74-4711-9b11-4140adc06c70", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0497697f-f581-4c3f-bd22-275f34838410", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "fac66130-413d-4508-b365-ba2df7c7877f", "EffectiveDate": "2025-05-08T16:31:19.9688821-07:00", "WellPurposeType": { "WellPurposeTypeId": "b96ac58d-c21a-4709-b7e6-b1a5a77636a1", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5b5815b4-3aa2-4ba8-99c6-afc0ab46c87b", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c84ece42-30c5-477f-aeec-a7e6e690f9c7", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "MeasurementValueNeededDate": "2025-05-08T16:31:19.9688821-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ade2d7c0-4a03-450f-9799-7b9209e98160", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-05-08T16:31:19.9688821-07:00", "StatusType": { "StatusTypeId": "399e496d-bf5b-44dc-9222-938b8c1ba27c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "22312c3a-dffe-4edf-ac0a-dafd9b14b8d3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f1cf56bc-a655-4c94-a2e8-abdfaf8a3958", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e15f0a1d-b41e-4361-bee5-e64b7cc13e35", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e1f86642-288f-43a1-8d1c-9182244eb1af", "CreateDate": "2025-05-08T16:31:19.9688821-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T16:31:19.9688821-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }