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": "5bd15c9d-bd74-485a-aac6-438a6a445882",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fa99c5f6-cd30-400e-9ac1-e2f9afdb9792",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dec222df-2650-4296-876a-6d0a1d9c3f28",
"CreateDate": "2026-11-16T22:16:04.6714935-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T22:16:04.6714935-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "1bd00bef-ae7a-4825-b880-0ce4075366df",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "56060be7-c289-45ff-915e-83db96229733",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b4c5df5a-5d8b-4d74-94ef-47b5dceaacfe",
"CreateDate": "2026-11-16T22:16:04.6714935-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-16T22:16:04.6714935-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "046dd6b4-4ca0-4e05-b1a9-e951c3be3ff9",
"FieldId": "cef50dc2-29c3-4a12-96da-fbb3ca5f4c8e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "046dd6b4-4ca0-4e05-b1a9-e951c3be3ff9",
"FieldId": "cef50dc2-29c3-4a12-96da-fbb3ca5f4c8e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "6ab94c81-35da-4ccb-b4bc-abd1f6db5c14",
"CreateDate": "2026-11-16T22:16:04.6714935-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-16T22:16:04.6714935-08: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": "e9dbba67-3f7c-4d26-8c59-acd170bb1d1e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8d369a97-5156-45da-9a6e-4b0c9bd1fe9b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "861a385e-7385-46df-ba89-acca5c359845",
"CreateDate": "2026-11-16T22:16:04.6714935-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T22:16:04.6714935-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "033ab4b1-14c0-446b-881e-cfa3c63eea24",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "798b006a-ca39-4145-a713-83234311524d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f10294d8-255b-4268-9a5b-06abd7bed9bc",
"CreateDate": "2026-11-16T22:16:04.6714935-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-16T22:16:04.6714935-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f672ed5a-6f66-4b87-91ff-797c14ce7da2",
"FieldId": "091479f2-3726-416a-809b-df6d8f0e8f2e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f672ed5a-6f66-4b87-91ff-797c14ce7da2",
"FieldId": "091479f2-3726-416a-809b-df6d8f0e8f2e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "311f6f30-6dde-4a30-b556-e5b28041cf01",
"CreateDate": "2026-11-16T22:16:04.6714935-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-16T22:16:04.6714935-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}