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": "78119a5c-6bf6-4e5c-b0be-58a07b9d39eb", "Asset": { "AssetId": "2b622d15-2098-4f06-8a76-7ca8c585c19b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "43c821ef-9428-478d-b435-84e324476e1b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64b07752-6912-4ac7-977b-e9e95a6c99a2", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "23ef3852-9371-47b5-a0e4-ffaed272c984", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "MeasurementValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5a4a6588-ba98-4c55-bbaa-d991879deb06", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "f58ba491-7b6b-4b12-9047-3933ae49199a", "EffectiveDate": "2025-03-09T04:55:04.8837425-07:00", "StateType": { "StateTypeId": "4b15b5b5-de74-491f-8018-700b408af868", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "43c821ef-9428-478d-b435-84e324476e1b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64b07752-6912-4ac7-977b-e9e95a6c99a2", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "e6b68be9-d9c0-420c-831d-3ea83c6bf497", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "df348e5b-44b2-4dcd-b2b3-91e706632dd6", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0d1afcbc-8395-4ab8-9a7d-d66ce015c7d4", "EffectiveDate": "2025-03-09T04:55:04.8837425-07:00", "WellPurposeType": { "WellPurposeTypeId": "dffac7c6-c612-417a-8315-db62f9c1c964", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "866a2044-48ad-4565-b2fa-007623ffd86a", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "91689b68-f63e-4565-b1a4-9e8192d5b3d6", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "MeasurementValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9d1ac8bd-b6e3-41f4-9138-81dfbb7748d2", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-03-09T04:55:04.8837425-07:00", "StatusType": { "StatusTypeId": "fecb37a8-f50a-4394-99a7-b982a1874114", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "43c821ef-9428-478d-b435-84e324476e1b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64b07752-6912-4ac7-977b-e9e95a6c99a2", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "65e1b007-aee0-4e19-ba95-1e18247b26e9", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b2500b75-0778-446c-bf3e-4a3b45914ae7", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T04:55:04.8837425-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": "4cf392b3-f184-4487-bfd0-c7ed786f357f", "Asset": { "AssetId": "c3e857b1-c344-4cc4-a3e8-59f79b918fb1", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a5728de4-0a0f-4b5d-8d3e-20d644b58184", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b8663af6-34cd-46c5-afee-683bff48b779", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "2b5cd8fc-6132-49b4-bfc1-7d5bc45412eb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "MeasurementValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "SourceSystemId": "sample string 3", "CompanyId": "e09e2923-127e-4ca5-80d7-951bd65382a4", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "232603c6-af61-49ef-875b-cbfcaea831ee", "EffectiveDate": "2025-03-09T04:55:04.8837425-07:00", "StateType": { "StateTypeId": "f8c8c8e8-c3e6-411b-bd51-51e3da54bd0f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a5728de4-0a0f-4b5d-8d3e-20d644b58184", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b8663af6-34cd-46c5-afee-683bff48b779", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "6c10b60c-3efb-4bda-b25c-14b263ec91dc", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "867dc247-17c3-4d8a-8c08-b80801cc1b7f", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9ebe2f4c-ba85-4215-9c9c-ca02c7d1c0c3", "EffectiveDate": "2025-03-09T04:55:04.8837425-07:00", "WellPurposeType": { "WellPurposeTypeId": "0ffed6fd-5960-435b-a1a4-6d0d33de46c0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3008e89f-c4d6-43b8-b4a5-d2b759ff40e4", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c81a06ad-c0b6-4f96-a22e-9cb63e097aef", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "MeasurementValueNeededDate": "2025-03-09T04:55:04.8837425-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "eb10b129-8e8c-46e1-84a5-5e0a0afb1e22", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-03-09T04:55:04.8837425-07:00", "StatusType": { "StatusTypeId": "66ebcf13-1e1c-47e7-b3c6-0781daf2aae3", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a5728de4-0a0f-4b5d-8d3e-20d644b58184", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b8663af6-34cd-46c5-afee-683bff48b779", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "707be6ad-98c3-4337-aa92-15e1ede6aa3a", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e95414d0-5370-403b-ac46-85282dea2636", "CreateDate": "2025-03-09T04:55:04.8837425-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T04:55:04.8837425-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }