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": "a8a24cf2-da42-4638-a6fb-87866ea5f2d5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "80a502cb-306a-4e37-bd68-980bb9e263b7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c0e4838d-2748-4543-86da-036914ae1212",
"CreateDate": "2025-11-04T17:08:33.2881653-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:08:33.2881653-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "cf349ff3-7c41-4988-a897-8cd93a9b169b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2d6c0359-ef17-4149-afbf-f724c0f59292",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f1115ef3-5521-4e87-bc33-70ffff1e6f0e",
"CreateDate": "2025-11-04T17:08:33.2881653-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:08:33.2881653-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9f0d6a49-1cee-4071-8c83-33b5a1945225",
"FieldId": "01d2879d-6fd2-487c-8b64-badf53b71c67",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9f0d6a49-1cee-4071-8c83-33b5a1945225",
"FieldId": "01d2879d-6fd2-487c-8b64-badf53b71c67",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "69fd7807-2924-4e95-9326-a6a5335e31f3",
"CreateDate": "2025-11-04T17:08:33.2881653-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:08:33.2881653-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": "598d0cff-6b05-472f-8476-95872ce87ae9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b2206ee7-3c68-4e20-aea9-430254b3d8e1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f371e815-e4b6-41e4-bbf6-ed33b1bdf1e5",
"CreateDate": "2025-11-04T17:08:33.2881653-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:08:33.2881653-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "dfb22321-78e2-433a-bd25-dddc002b3a46",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "25aa8c06-6b57-4997-b846-b625cb07c6f7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7a4d5821-18d1-4216-b38b-0331987989ed",
"CreateDate": "2025-11-04T17:08:33.2881653-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:08:33.2881653-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0a0d3699-0691-4669-af18-b6622a6db00b",
"FieldId": "6ba83c2c-c603-40ca-b594-3fd13c1e0249",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0a0d3699-0691-4669-af18-b6622a6db00b",
"FieldId": "6ba83c2c-c603-40ca-b594-3fd13c1e0249",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b6bf2a87-636d-4dd3-8e44-98e5a65539e4",
"CreateDate": "2025-11-04T17:08:33.2881653-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:08:33.2881653-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}