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": "b359feb5-6cd0-4215-a925-d1a19f894d41", "Asset": { "AssetId": "7d6ea32f-facc-488f-9808-889b370ab5ea", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "255957a0-523e-4893-95e5-8bcae955b24f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cb45b6d8-da34-4e48-841a-f75c6235dc3b", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "cf809fc6-6401-4c95-8772-b88576b67da9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8fa2b3ce-adec-4ac1-8809-9ec9fd914863", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "739fb92b-599b-4857-9a96-4987d11f8368", "EffectiveDate": "2025-04-17T04:16:38.0666492-07:00", "StateType": { "StateTypeId": "2e4f79d9-2a81-4845-9baa-58df0ad6f740", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "255957a0-523e-4893-95e5-8bcae955b24f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cb45b6d8-da34-4e48-841a-f75c6235dc3b", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "3e85a1f7-0072-420a-9ac2-ee1bbbc40a0c", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "04199ebd-e03e-4e00-9478-91705474ddd2", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4af6432b-7b21-48c2-8a53-d12964b7264c", "EffectiveDate": "2025-04-17T04:16:38.0666492-07:00", "WellPurposeType": { "WellPurposeTypeId": "c82f381d-9766-413f-bb05-1ce732869c0b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1ee8f068-77bf-4f2f-9cc1-32e72d79632e", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4d16bc72-8e27-4956-aaf0-cd9bc45257fe", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "64014afc-a598-4c2c-a1e1-856b08503bbc", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-17T04:16:38.0666492-07:00", "StatusType": { "StatusTypeId": "7abb0b4b-ae83-48ca-b878-c6a81bba9b48", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "255957a0-523e-4893-95e5-8bcae955b24f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cb45b6d8-da34-4e48-841a-f75c6235dc3b", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "422a22e7-87dd-46e8-9042-7ae144481083", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a781b096-5b62-40b5-b22c-c07a81cc043d", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:38.0666492-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": "b5973e6a-65df-471d-ab71-b4f8500cd611", "Asset": { "AssetId": "e8829f76-6040-414f-8929-7a650409b416", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d1ffa6b7-74d8-457d-b2c9-d3ee5d146044", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "22c6c9c7-4deb-4769-83cd-a595b7fb8486", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b9083705-607e-4cc7-9f70-6db8d675d877", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f59cb47c-0b8d-4772-855c-4b207440cfbd", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "03159d88-72e5-4552-85aa-a0d4d9eee7bd", "EffectiveDate": "2025-04-17T04:16:38.0666492-07:00", "StateType": { "StateTypeId": "7aa8ce6b-1011-4e35-96c0-9b9942a8eba3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d1ffa6b7-74d8-457d-b2c9-d3ee5d146044", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "22c6c9c7-4deb-4769-83cd-a595b7fb8486", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b314e701-5551-4f5f-92ba-600c3300a093", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "acbffc46-1d4f-49bf-b38a-c25f34396708", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "269ac307-e95b-4d64-b973-08058fdb806a", "EffectiveDate": "2025-04-17T04:16:38.0666492-07:00", "WellPurposeType": { "WellPurposeTypeId": "68d7198e-1b01-4209-9201-88ff7db2e1c2", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fc464396-4ef9-46ea-b4d4-3eff31950e95", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ea3aafdd-5fc9-48d2-8e3f-256aa07969ad", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:38.0666492-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4f10f932-4fdc-4561-9333-9a9ed8d967ea", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-17T04:16:38.0666492-07:00", "StatusType": { "StatusTypeId": "d44dd22c-2dbb-4f52-bdc4-dfc7be1b370a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d1ffa6b7-74d8-457d-b2c9-d3ee5d146044", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "22c6c9c7-4deb-4769-83cd-a595b7fb8486", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "177825b6-e113-4358-a52d-d2abeea196c9", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cd300cbd-40b8-4fda-bc9c-46b18c316af3", "CreateDate": "2025-04-17T04:16:38.0666492-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:38.0666492-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }