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": "7e8d6bca-0b7f-4eee-95b0-c328bfcd29b4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6f9e6ba4-22da-438d-a5a0-f21e5c205ce5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "84b2c83d-712e-475b-86d2-ca34c63475e9",
"CreateDate": "2025-12-29T01:55:28.3136765-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-29T01:55:28.3136765-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "3452510b-ea6c-4e5d-b9ab-af976d91fc2d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ee364a6a-6a97-4988-8af0-72d9fd7555e7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "16791315-83c3-411f-868a-87da0313d933",
"CreateDate": "2025-12-29T01:55:28.3136765-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-29T01:55:28.3136765-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9db4ed3e-5e30-44b0-9d70-dc43f0a2f449",
"FieldId": "caf724bb-02a6-4f90-856f-3ea289344bbe",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9db4ed3e-5e30-44b0-9d70-dc43f0a2f449",
"FieldId": "caf724bb-02a6-4f90-856f-3ea289344bbe",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a6862142-dac6-4019-8064-9cae5dd11d30",
"CreateDate": "2025-12-29T01:55:28.3136765-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-29T01:55:28.3136765-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": "f25354e7-62a0-4e2d-9fb1-558023b19564",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e3d0a856-7fa7-479a-acb6-624329507fd9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "123f0550-798c-4515-9d87-b63bca0e2017",
"CreateDate": "2025-12-29T01:55:28.3136765-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-29T01:55:28.3136765-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "536ce71c-3ed8-480a-97d3-6149b4be5a88",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0ae241b4-e84c-44c2-8370-8a024e2ba57d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e9a9a045-f5d9-4948-96eb-e29a7ca7da85",
"CreateDate": "2025-12-29T01:55:28.3136765-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-29T01:55:28.3136765-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b7c7d4b2-3572-41b1-9715-90f2376d75a4",
"FieldId": "f06c794e-a0ce-4dd2-b8b7-a2eb20145537",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b7c7d4b2-3572-41b1-9715-90f2376d75a4",
"FieldId": "f06c794e-a0ce-4dd2-b8b7-a2eb20145537",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5010005e-2562-4ab2-9dcb-e05560277b2e",
"CreateDate": "2025-12-29T01:55:28.3136765-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-29T01:55:28.3136765-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}