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": "c4087304-a422-4e11-b5ea-e8e42fd70cb5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0de19651-9280-4014-9e62-c82115d09b38",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "af426304-161a-45b3-8ca5-41fcbb8998c4",
"CreateDate": "2026-06-08T03:07:22.0034935-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-08T03:07:22.0034935-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4e3c11bc-7266-4bdd-8eab-67c94c9459f1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "950fe36c-6fe3-4d65-a14b-6261db95af7d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "98d7adfe-bf2e-48ae-b2cf-f5e8f6ed163f",
"CreateDate": "2026-06-08T03:07:22.0034935-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-08T03:07:22.0034935-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f24078cc-d8af-4cf9-939c-9e05cd4356fe",
"FieldId": "369c2894-15a4-4aca-b836-49adc36234f6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f24078cc-d8af-4cf9-939c-9e05cd4356fe",
"FieldId": "369c2894-15a4-4aca-b836-49adc36234f6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d906c306-0520-4ddb-89cd-534b7e97848f",
"CreateDate": "2026-06-08T03:07:22.0034935-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-08T03:07:22.0034935-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": "196dab26-7f9a-4c02-9f66-0005ed924f64",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d2c149fc-6c8b-4927-848d-75d7d991d7d5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ff293b46-b60a-4cce-9401-82857937cf11",
"CreateDate": "2026-06-08T03:07:22.0191245-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-08T03:07:22.0191245-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "cef6a9c2-d030-4f0a-bc09-0eee75dbea1f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "27bd38bf-64d1-4b0c-8d23-3e96aeda2e73",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "16b8dcec-e272-4a5f-856d-140bfd100951",
"CreateDate": "2026-06-08T03:07:22.0191245-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-08T03:07:22.0191245-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d6e03b29-e583-4a88-ae47-e884d13c253d",
"FieldId": "9ea3f9e1-4efa-4c1d-9d9f-d9fc26295d85",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d6e03b29-e583-4a88-ae47-e884d13c253d",
"FieldId": "9ea3f9e1-4efa-4c1d-9d9f-d9fc26295d85",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "95d1db5f-c26d-477d-ba47-ca9e8461d0f8",
"CreateDate": "2026-06-08T03:07:22.0191245-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-08T03:07:22.0191245-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}