POST PropertyTypes
Creates a new property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to create. PropertyTypeId should not be filled in.
PropertyType| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| DataType | DataType |
None. |
|
| Unit | Unit |
None. |
|
| MinValue | decimal number |
None. |
|
| MaxValue | decimal number |
None. |
|
| MinLength | integer |
None. |
|
| MaxLength | integer |
None. |
|
| HasValidValues | boolean |
None. |
|
| ValidValues | Collection of ValidValue |
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:
{
"PropertyTypeId": "2c62302b-76de-4843-a259-b363c847b973",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "56d532dd-5b86-4566-a95d-48be42d4c134",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f1cacd37-6f4b-495f-a3b0-c5600fd1fd57",
"CreateDate": "2026-10-25T19:50:13.3228003-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-25T19:50:13.3228003-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "126e086c-783a-49d8-bfbe-01c951088d0e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bee08c1f-fc99-41d9-a3c5-cfc19a569bc3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "390723cb-323b-4d2f-b13f-05e47f8d183b",
"CreateDate": "2026-10-25T19:50:13.3228003-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:50:13.3228003-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c407921e-19e3-44a2-9412-34535f258a21",
"FieldId": "ea2b90d2-73d0-478e-85e8-7ed9bdf31d47",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c407921e-19e3-44a2-9412-34535f258a21",
"FieldId": "ea2b90d2-73d0-478e-85e8-7ed9bdf31d47",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2874314d-2110-447f-a4fd-150cec921e5b",
"CreateDate": "2026-10-25T19:50:13.3228003-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-25T19:50:13.3228003-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the created property type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | PropertyType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PropertyTypeId": "9b6162c2-50eb-4028-b1bc-61b46a7c09ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8e103bc6-88c3-432a-a03f-8e07fc0576be",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5a48879b-9f09-4a6b-92ef-51f77bd936b9",
"CreateDate": "2026-10-25T19:50:13.3384806-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-25T19:50:13.3384806-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f743afea-b47f-462c-9af4-ea62bac3c0bb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "da212b21-b306-4516-aba6-08405b262249",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "04f7b399-1698-4f0d-ac63-803b72245f46",
"CreateDate": "2026-10-25T19:50:13.3384806-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:50:13.3384806-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ca60837e-defe-4649-b78a-73f63c703139",
"FieldId": "f1e236a7-0115-4933-99c1-9ec098deb9dd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ca60837e-defe-4649-b78a-73f63c703139",
"FieldId": "f1e236a7-0115-4933-99c1-9ec098deb9dd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "7e21e9e7-24d3-47a5-81de-acf1d5a31af7",
"CreateDate": "2026-10-25T19:50:13.3384806-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-25T19:50:13.3384806-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}