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": "e89bcacc-e80b-44f3-a260-512cdec8a29b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "958f722d-56a1-4101-9c67-b5f00bc7f649",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "828307e4-8cff-4f15-aa13-a3a9dde98e4c",
"CreateDate": "2026-05-13T11:52:08.0821757-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:52:08.0821757-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a69e1a21-a4d9-4f58-bc8b-83e70de8f5d1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b4f0b0de-b286-4b76-acef-95b2867387ec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b317f7d5-bc83-4899-83f1-03ce4bed6843",
"CreateDate": "2026-05-13T11:52:08.0821757-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T11:52:08.0821757-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0f50f357-ab66-4ff6-819e-2229b81b683c",
"FieldId": "7b35afcc-493c-4953-8dde-0f2c774e7569",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0f50f357-ab66-4ff6-819e-2229b81b683c",
"FieldId": "7b35afcc-493c-4953-8dde-0f2c774e7569",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "419e65b8-bc0b-48a0-9988-92abf82cd28b",
"CreateDate": "2026-05-13T11:52:08.0821757-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T11:52:08.0821757-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": "47f562db-1410-47c1-9146-9b2defa1e526",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b8052570-c564-4b00-9a87-f217f01fe62a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5b3c2d96-ec85-46ed-8b3d-690783f42012",
"CreateDate": "2026-05-13T11:52:08.0978534-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:52:08.0978534-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "fe0b9011-8b2b-435d-8a20-dbbcd6307711",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5e4d2692-9573-4afb-bee7-595ecc83851c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0da682ef-a8e4-43bb-b7cd-6b3702c5bd87",
"CreateDate": "2026-05-13T11:52:08.0978534-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T11:52:08.0978534-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "baf442ca-7a35-4810-a8ad-d7e1dc407844",
"FieldId": "bc6ffe73-3b58-492f-b7dd-20315d9bb8c0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "baf442ca-7a35-4810-a8ad-d7e1dc407844",
"FieldId": "bc6ffe73-3b58-492f-b7dd-20315d9bb8c0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9636fd0f-cb41-4cc2-a6fe-0d91905d23dd",
"CreateDate": "2026-05-13T11:52:08.0978534-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T11:52:08.0978534-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}