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": "7b3d7739-499a-4899-8013-5671dce6b7db",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "73869c23-28ad-4d05-a027-492667956694",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8429c2f6-df7b-4514-9bce-310275330fb8",
"CreateDate": "2026-07-06T02:08:04.4030438-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-06T02:08:04.4030438-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "606c7164-5a54-4cb4-9b81-ca5b123d71d5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5bf1a6cf-aad4-44e3-b81c-da65f4c308ae",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b403a9ed-272a-4f1b-baf9-635ff2eb84ec",
"CreateDate": "2026-07-06T02:08:04.4030438-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-06T02:08:04.4030438-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a3fc8096-0aff-4063-8445-37b5e01d4304",
"FieldId": "bc959ea3-b986-4c0c-ba9a-8ebdc8e55d57",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a3fc8096-0aff-4063-8445-37b5e01d4304",
"FieldId": "bc959ea3-b986-4c0c-ba9a-8ebdc8e55d57",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e4e8f6c6-e611-4400-b950-60f9fc4a7e43",
"CreateDate": "2026-07-06T02:08:04.4030438-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-06T02:08:04.4030438-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": "ca05c02a-e67b-4912-b282-29d76139b22f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "188d3f89-d0e2-4b90-9a8e-e2c45be16704",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5808b570-9656-489c-8dba-b8617d6e6867",
"CreateDate": "2026-07-06T02:08:04.4030438-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-06T02:08:04.4030438-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "7a58317e-35e0-48d9-aab9-885f75ab6dd8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4a963ff1-e1cc-42dd-9879-f608f782ca47",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58563c90-1d1b-490f-8760-0088a796c2ce",
"CreateDate": "2026-07-06T02:08:04.4030438-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-06T02:08:04.4030438-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ca2d72db-7aee-45b2-966a-969d0fd91e23",
"FieldId": "df327c41-2a83-4f4b-ad0b-ddc59bd9ca44",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ca2d72db-7aee-45b2-966a-969d0fd91e23",
"FieldId": "df327c41-2a83-4f4b-ad0b-ddc59bd9ca44",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "7b3ddc7d-4b23-43e9-b134-3aa5a0d7c2db",
"CreateDate": "2026-07-06T02:08:04.4030438-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-06T02:08:04.4030438-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}