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": "dc06b427-1557-4f50-b232-db1c4a9d648a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cec52c2c-1fca-4e53-97fc-0f59f1c74891",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fc59aaf3-8053-4e34-a50b-4b052bfd09d6",
"CreateDate": "2026-08-31T14:55:08.2915149-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T14:55:08.2915149-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "06ee911a-8668-4117-aae5-988589a4813a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f9df1542-d64b-442b-abeb-7bba98b5be55",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "41d59666-2a66-4e56-a73f-64cc453c9cb1",
"CreateDate": "2026-08-31T14:55:08.2915149-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T14:55:08.2915149-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1ac6ebd6-99f9-41e8-9956-198b16763e14",
"FieldId": "1d60d9bf-b894-4fab-b321-cbb46036b7c9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1ac6ebd6-99f9-41e8-9956-198b16763e14",
"FieldId": "1d60d9bf-b894-4fab-b321-cbb46036b7c9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "58a2f4c9-3343-460e-b4a6-11d27b2bb52e",
"CreateDate": "2026-08-31T14:55:08.2915149-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T14:55:08.2915149-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": "922d5827-0bd6-4a8d-8436-351636d3fbe6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4d570234-8f8f-4809-8a62-d0d4ed08e317",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5cd2e69c-a385-4502-9c65-32bf65964339",
"CreateDate": "2026-08-31T14:55:08.2915149-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T14:55:08.2915149-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "51324b07-be71-4702-acbd-c99c27cee7ff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "471721cc-0449-420f-9ef1-4850ea738d94",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6c7f05b5-17a3-42a3-8975-7702f9b3a0bf",
"CreateDate": "2026-08-31T14:55:08.2915149-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T14:55:08.2915149-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f169469d-5440-4c5c-9224-5a84ace048b8",
"FieldId": "6ad2b9eb-d9d2-4385-9275-2bc72f9fbc8e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f169469d-5440-4c5c-9224-5a84ace048b8",
"FieldId": "6ad2b9eb-d9d2-4385-9275-2bc72f9fbc8e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "030fc244-819a-4073-adc8-569a6e819130",
"CreateDate": "2026-08-31T14:55:08.2915149-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T14:55:08.2915149-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}