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": "bcd583a3-a330-4948-bc71-5270feddf2dd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f7b05c57-8f20-4172-ad4e-c548b4f117ea",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "55bea495-6fb5-4fc1-926c-ae307968f7de",
"CreateDate": "2026-04-30T22:57:37.8908642-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-30T22:57:37.8908642-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "aad86a91-1021-4ebd-a72d-7cf831d7be2a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bc8cc81f-9bed-4b87-a429-73264eca6c8d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4032765c-82c4-429b-ad47-76a84b189f56",
"CreateDate": "2026-04-30T22:57:37.8908642-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T22:57:37.8908642-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ddac946-1ec4-4338-b1f2-dc0b51b6d5b6",
"FieldId": "5a24d382-879c-4b70-a92d-6f6a061e4b98",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ddac946-1ec4-4338-b1f2-dc0b51b6d5b6",
"FieldId": "5a24d382-879c-4b70-a92d-6f6a061e4b98",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9fee3db6-7def-46ea-8ca7-7923e4c57d0d",
"CreateDate": "2026-04-30T22:57:37.8908642-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T22:57:37.8908642-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": "7ca290c8-c22d-4972-89aa-da958a4a431a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "59b2be50-28f2-4e7e-99fa-821ca08ea6e5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1978f86a-0130-41e3-97fb-bddcb78f47a6",
"CreateDate": "2026-04-30T22:57:37.8908642-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-30T22:57:37.8908642-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "abdf9b86-5d5e-4dd3-97e9-b4b43644f0d0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "47e5239f-fead-4fb5-93fa-5f16d9f14076",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "39479a0e-63bf-4111-a507-0b5c0a5db575",
"CreateDate": "2026-04-30T22:57:37.8908642-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T22:57:37.8908642-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8d315d24-8c87-4ad3-9fd3-a23dbc4c2202",
"FieldId": "4997c244-eef7-4642-aa22-49d5fa6e2933",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8d315d24-8c87-4ad3-9fd3-a23dbc4c2202",
"FieldId": "4997c244-eef7-4642-aa22-49d5fa6e2933",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "8fa7d64f-0a18-4804-ab07-43ad27c88364",
"CreateDate": "2026-04-30T22:57:37.8908642-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T22:57:37.8908642-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}