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": "e209aa42-250e-4d46-9863-0118487d3945",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4a2cfd22-cda7-4575-8b91-a35559d076f2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8ce4659d-faee-47ed-a716-c838bf983e28",
"CreateDate": "2026-11-22T14:12:51.5350832-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:51.5350832-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "8391f65b-3484-4fe1-aa8d-682138e08182",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "35becaf6-1b50-4759-9f90-495ee86c91d2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ada53181-9915-4a95-b4cd-51616a35e9ad",
"CreateDate": "2026-11-22T14:12:51.5350832-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:51.5350832-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "08fd78a1-fb5e-4c80-ba59-1875fb1d2fcd",
"FieldId": "7527899c-f65c-4fe3-8f2b-70ed48e2788e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "08fd78a1-fb5e-4c80-ba59-1875fb1d2fcd",
"FieldId": "7527899c-f65c-4fe3-8f2b-70ed48e2788e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b3e2b604-1ce1-4e23-9f8a-0edc0de3cecb",
"CreateDate": "2026-11-22T14:12:51.5350832-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:51.5350832-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": "b4ae8d53-1b19-4769-814a-9bebb0fe0507",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b1fe83a5-5adf-48bf-b4e2-740dbba83069",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "93112244-1d6c-4d34-8a9a-b2efaee9a2b6",
"CreateDate": "2026-11-22T14:12:51.5350832-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:51.5350832-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9312e1c5-f26c-4548-9ef7-ca94ebe7f5bf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2984d551-89aa-4d17-ab27-d8b2a744285b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a300ba06-54f6-49e2-9b20-e64abe0aaf3e",
"CreateDate": "2026-11-22T14:12:51.5350832-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:51.5350832-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d768e9fd-8ecf-4f69-b8f1-207447ad7e0f",
"FieldId": "97b75803-d6a4-4e7b-a254-0584ec040eae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d768e9fd-8ecf-4f69-b8f1-207447ad7e0f",
"FieldId": "97b75803-d6a4-4e7b-a254-0584ec040eae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "dbf1bf79-0a35-458e-93f8-1e32197f0a3f",
"CreateDate": "2026-11-22T14:12:51.5350832-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:51.5350832-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}