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": "26dfac4c-bddc-4df1-9933-547b91107da4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c1bb92be-48c5-4a5b-a6d7-8bbb121cce0e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4b6d2cb0-f6e5-446d-acd5-d893f7770f26",
"CreateDate": "2026-04-06T07:49:38.8012968-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-06T07:49:38.8012968-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "853bda34-fb42-47a4-a788-02d4a26f209d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b08cb776-9e14-475f-bede-96bb174f91c7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01caf33f-8c86-49c5-82e2-ffe3ad412492",
"CreateDate": "2026-04-06T07:49:38.8012968-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-06T07:49:38.8012968-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0e5f02fa-9f01-450d-9ea0-32ebf407c85b",
"FieldId": "713d6988-e55a-4c1c-a024-89534d6a9702",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0e5f02fa-9f01-450d-9ea0-32ebf407c85b",
"FieldId": "713d6988-e55a-4c1c-a024-89534d6a9702",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "fcb2bcbf-22d8-4254-b149-6f10c1bf9de7",
"CreateDate": "2026-04-06T07:49:38.8012968-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-06T07:49:38.8012968-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": "0a2b5883-da84-4d11-9320-597877030459",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "93112520-dfc8-42f0-a3b8-87f5bb0b5542",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7673f552-50b6-4f7a-997f-557c18d25fd3",
"CreateDate": "2026-04-06T07:49:38.8012968-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-06T07:49:38.8012968-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "3c275605-b39c-4177-8be9-631f90bd87c5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "927194d7-6942-4ed4-884d-9e0363ef7680",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "15621f98-13dd-4452-a89e-3ca7779ab354",
"CreateDate": "2026-04-06T07:49:38.8012968-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-06T07:49:38.8012968-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "697200dc-27f2-47c8-8b99-77a719fb8ea3",
"FieldId": "00915215-df0d-4513-9315-9c621a9e917d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "697200dc-27f2-47c8-8b99-77a719fb8ea3",
"FieldId": "00915215-df0d-4513-9315-9c621a9e917d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "21495d52-a3e1-4365-89d7-11753db33c5f",
"CreateDate": "2026-04-06T07:49:38.8012968-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-06T07:49:38.8012968-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}