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": "8e6065d1-35bf-4d00-b83b-2025dfb11553", "Asset": { "AssetId": "b867e8e1-7bf1-4f04-af99-7143d0d87a39", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d304021f-935e-4c87-a8d0-af64ab2b0ba7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96b47f82-c0b6-4751-99b1-f5442d31f1c8", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6038deef-fc4e-4334-ba1a-6c20c4d451f7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "MeasurementValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "SourceSystemId": "sample string 3", "CompanyId": "91ad4199-26a1-42b3-b650-782b55c12d6f", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "6ae1d708-51e1-4607-a77f-03518b865f45", "EffectiveDate": "2024-12-21T12:54:23.5402658-08:00", "StateType": { "StateTypeId": "18d9bda2-d1ba-4751-8b9f-977caf74f9da", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d304021f-935e-4c87-a8d0-af64ab2b0ba7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96b47f82-c0b6-4751-99b1-f5442d31f1c8", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "08dd270b-128d-402b-a3e3-3038ecc12ef9", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "67da58a1-bbae-4d3a-9067-f5bf500ca0ac", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a555508f-a171-4c1f-8d21-3cffadeba070", "EffectiveDate": "2024-12-21T12:54:23.5402658-08:00", "WellPurposeType": { "WellPurposeTypeId": "bd44cf69-e36e-42b4-b34c-3ca961a60815", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6b6b3ab3-e629-4535-acf8-87e1355f7f9a", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "862ced7a-40e5-47ae-87af-dc98c1909704", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "MeasurementValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d148a12a-969c-4a17-bad8-002ff7f142f8", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-12-21T12:54:23.5402658-08:00", "StatusType": { "StatusTypeId": "834458d8-c09d-4f60-a8db-7e22b7c7d213", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d304021f-935e-4c87-a8d0-af64ab2b0ba7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96b47f82-c0b6-4751-99b1-f5442d31f1c8", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "4d959dae-1f47-4c74-a573-274030a1f0aa", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6fae9b92-579a-40cc-8f6e-dee1855d99ec", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T12:54:23.5402658-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": "14c46d49-9b43-4742-b41c-5baa06869468", "Asset": { "AssetId": "feadc389-13d4-49f3-99e2-62454e1009ed", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7980fa0a-b580-4b1b-aa84-78c124877700", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "515514b7-d79a-4580-90fe-ada0a97e36af", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "620e80b4-561b-4019-b5a9-bdf70f7fc25b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "MeasurementValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5c1ef5ba-a066-4d43-ad08-f65a66a7ded2", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "58a0bc8a-8daf-4597-b166-33f320ce384e", "EffectiveDate": "2024-12-21T12:54:23.5402658-08:00", "StateType": { "StateTypeId": "c6f32b50-a0a6-40ec-81d8-cfc157966aa5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7980fa0a-b580-4b1b-aa84-78c124877700", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "515514b7-d79a-4580-90fe-ada0a97e36af", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "775df394-24fc-41b8-976e-e52bdec4e5b3", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "77841d4d-1d58-478b-83ca-b11757dbd599", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "30c1e46d-e1c5-4d8e-b6b6-c34675f12fd6", "EffectiveDate": "2024-12-21T12:54:23.5402658-08:00", "WellPurposeType": { "WellPurposeTypeId": "aac768dc-9814-4aff-8071-abafa78926d5", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "67fff8f6-3a7a-4488-94a9-324313c9ae0b", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4eb3705a-ab9d-4771-92de-07283ea2ab3e", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "MeasurementValueNeededDate": "2024-12-21T12:54:23.5402658-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9b54ac1c-c05c-45da-9d59-c814a055b40d", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-12-21T12:54:23.5402658-08:00", "StatusType": { "StatusTypeId": "0b45b3c0-79e1-4212-9e90-cf2a359fac97", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7980fa0a-b580-4b1b-aa84-78c124877700", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "515514b7-d79a-4580-90fe-ada0a97e36af", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6bd500e8-6b3a-4120-b31d-d496a6254543", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f5f5fd29-d9e2-486f-abfa-eefb6bf7bb40", "CreateDate": "2024-12-21T12:54:23.5402658-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T12:54:23.5402658-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }