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": "ad78bcaa-3dc1-40d1-9212-64c85a32b50e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ead9b92f-8457-4cb5-b0f6-95a06f75027d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c844aaed-3d3d-4737-be07-7cdd8d29e5a6",
"CreateDate": "2026-11-24T03:33:46.4692742-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-24T03:33:46.4692742-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c119db16-1acf-4676-93c0-26bbda5077cf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fbe7fd93-0cfc-490f-a533-97f58f4743ab",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6f1b694b-1d38-4b9d-a431-f4cbcd5e5ae1",
"CreateDate": "2026-11-24T03:33:46.4692742-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-24T03:33:46.4692742-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bc9c481b-267c-4133-ae74-87bc21ef6f4f",
"FieldId": "1200b899-027e-4fd4-a9a1-6e6c90cf4482",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bc9c481b-267c-4133-ae74-87bc21ef6f4f",
"FieldId": "1200b899-027e-4fd4-a9a1-6e6c90cf4482",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b06f76c5-e220-4998-bcab-fca8bdd11e86",
"CreateDate": "2026-11-24T03:33:46.4692742-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-24T03:33:46.4692742-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": "26653c62-5458-424a-8eab-9114a3cae591",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ee9ab8d3-c34a-4a5a-8a8e-0b25a6ba0b19",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a350552f-40ae-460a-9c48-bb6b43578aa4",
"CreateDate": "2026-11-24T03:33:46.484837-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-24T03:33:46.484837-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "b6441e18-ee10-4b78-aff9-0b2bcbde392e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "43ac7f75-dafa-47f1-b812-760725933c2d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "54527f6d-ff91-4bc5-8f13-a941eb30a6e6",
"CreateDate": "2026-11-24T03:33:46.484837-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-24T03:33:46.484837-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "27b88074-243b-46a4-a871-32701eb6214d",
"FieldId": "c3317bda-ee3b-475c-8e03-3f1b6316c9e6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "27b88074-243b-46a4-a871-32701eb6214d",
"FieldId": "c3317bda-ee3b-475c-8e03-3f1b6316c9e6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f32eac8e-8b19-402d-b9e2-fc07de6e80f7",
"CreateDate": "2026-11-24T03:33:46.484837-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-24T03:33:46.484837-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}