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": "8a136ab2-2bfc-4408-9097-1e8ecf5affa7", "Asset": { "AssetId": "ab3f87c0-5d0a-4d92-82ac-576efaf9aa42", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f56867b4-31b8-43bd-94cd-4342d2eb5fe8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "95c9c87f-04c1-4ee1-8287-f37b1b5e9de4", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d15359a2-9c04-4cc5-9176-2a8ee334cd77", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e9588584-9c22-435e-95b4-f09526a7e3ce", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "913dba0f-899b-442d-9900-a67cfbe11daa", "EffectiveDate": "2025-01-30T16:55:17.6543201-08:00", "StateType": { "StateTypeId": "f170661f-1f40-483c-bc98-86cafbf95d7a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f56867b4-31b8-43bd-94cd-4342d2eb5fe8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "95c9c87f-04c1-4ee1-8287-f37b1b5e9de4", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cf4edf55-3efd-445c-bfca-9e88565af7a7", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0a63e01d-fe35-46a3-8bb9-bbeb770ece92", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "3164b112-4be9-4c46-8ce0-5b1f82fb3b10", "EffectiveDate": "2025-01-30T16:55:17.6543201-08:00", "WellPurposeType": { "WellPurposeTypeId": "459cee84-9cec-41c9-b390-5df8f2af184f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4ed419bf-68c0-4419-9c90-ad3f42cc2fcc", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d15c49bf-327d-4a4c-8eb8-122292887e09", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "42cf5ff5-5c87-4d4b-af07-d5ef29ea5637", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-30T16:55:17.6543201-08:00", "StatusType": { "StatusTypeId": "e22dedb9-a693-436e-9f2a-e53a54a27af8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f56867b4-31b8-43bd-94cd-4342d2eb5fe8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "95c9c87f-04c1-4ee1-8287-f37b1b5e9de4", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c7f1e4bb-5a5c-46c3-b707-b52b75f96572", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9a2e3604-2c38-4c7f-ab34-f20d660c204c", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:17.6543201-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": "c4b784be-4f7a-4fb4-8e92-9141777d09ec", "Asset": { "AssetId": "81d0f220-8c30-4d42-82b7-d4ddb8f7b92d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "db5dbada-afa1-4b45-bebb-6da3fde3026d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "87fc58dc-59c2-424d-bed7-e33d4149dca8", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f56a0faa-35dc-4f05-9ced-08d4296e80e7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5473e2ef-e4bc-4564-b9a0-6e5f46dfebc3", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "aceef594-8bc2-47e0-bac7-5d80e674e6f3", "EffectiveDate": "2025-01-30T16:55:17.6543201-08:00", "StateType": { "StateTypeId": "4a3eaa30-bf81-4021-a30e-a9794d4baaa3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "db5dbada-afa1-4b45-bebb-6da3fde3026d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "87fc58dc-59c2-424d-bed7-e33d4149dca8", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8f0a22d5-0082-449f-97b1-f76beeec4c5a", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "24427ca6-7d6b-4fb6-bf34-1d44f2e2fde5", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "3692dcf7-c45d-4aa1-b106-eab55e48ba93", "EffectiveDate": "2025-01-30T16:55:17.6543201-08:00", "WellPurposeType": { "WellPurposeTypeId": "bebce26d-3eaa-4488-8ad4-693ecc87d652", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "59d45db7-ef61-42d9-9461-3d7488c5e6a5", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b997e1e6-b7be-4ed1-a8ae-239c1525eea7", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:17.6543201-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dbec8070-743f-4944-995f-d4a5ce7aa3ce", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-30T16:55:17.6543201-08:00", "StatusType": { "StatusTypeId": "2b820f89-bb44-45b8-90b3-5d2d53cd9afe", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "db5dbada-afa1-4b45-bebb-6da3fde3026d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "87fc58dc-59c2-424d-bed7-e33d4149dca8", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e33edf4b-41af-4a6f-9e44-3e2c3c24647d", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2226fc62-062b-482f-84dc-a62a8977f267", "CreateDate": "2025-01-30T16:55:17.6543201-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:17.6543201-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }