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": "4981d4ea-c29f-4cd7-9fcd-73339510647f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ec848a1a-4cbd-4506-bc56-cb51ace90a18",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "668d0f7a-b9fb-4efe-92db-7aec1e3f831e",
"CreateDate": "2026-10-12T20:33:34.4810339-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-12T20:33:34.4810339-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f2494b59-3c10-456d-9c4c-8f346b6bd698",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f43f0f92-fda6-49d5-9652-e82ed27fc2a4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fb6a5722-9c48-4a3e-b20e-10046b425731",
"CreateDate": "2026-10-12T20:33:34.4810339-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-12T20:33:34.4810339-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "534f4399-fc92-41ec-a89c-1c5e32588f39",
"FieldId": "f27cebbc-9fce-495b-b875-2af0b8e6a30c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "534f4399-fc92-41ec-a89c-1c5e32588f39",
"FieldId": "f27cebbc-9fce-495b-b875-2af0b8e6a30c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0315d512-c2f2-4231-bdcd-36bae550dcac",
"CreateDate": "2026-10-12T20:33:34.4810339-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-12T20:33:34.4810339-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": "fa0b312b-d481-45b3-aa5b-63b5dd1b4f9f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "68b53b64-b886-4f78-b677-a7fc8fc6e520",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "864cba36-b1fc-4082-95df-ebaae7504658",
"CreateDate": "2026-10-12T20:33:34.4810339-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-12T20:33:34.4810339-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "57b2c59c-00cc-445c-90ff-5632cf45391b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a58ba2d5-90f9-47ad-862c-5a06ac102578",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9ecda8e4-3098-4460-a467-1f9c6498facd",
"CreateDate": "2026-10-12T20:33:34.4810339-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-12T20:33:34.4810339-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "442c7de8-36ef-4649-8ddb-4bab4f7ec8c6",
"FieldId": "19eb150a-a024-449f-a8fa-1b55f6205d98",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "442c7de8-36ef-4649-8ddb-4bab4f7ec8c6",
"FieldId": "19eb150a-a024-449f-a8fa-1b55f6205d98",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9250abee-073f-4db8-81b0-8483e12ee59c",
"CreateDate": "2026-10-12T20:33:34.4810339-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-12T20:33:34.4810339-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}