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": "a09d6258-3222-4b4d-bacb-d7f74a4f76c5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b0405089-6fa3-461d-8610-303e6f218326",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba9f2e87-2033-474a-8758-0868b0e160e2",
"CreateDate": "2026-10-05T19:21:12.6005504-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T19:21:12.6005504-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9a0fcb84-2fb7-4da4-8358-4c9c8b642756",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9377cd27-5d64-404f-b401-8e0329e2a5ea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c7d8833e-a08f-475a-8126-cb883f75973d",
"CreateDate": "2026-10-05T19:21:12.6005504-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-05T19:21:12.6005504-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a3bf526d-100d-45e4-81b2-5f44833649be",
"FieldId": "2794991b-e568-4f91-876c-2b76788c8e23",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a3bf526d-100d-45e4-81b2-5f44833649be",
"FieldId": "2794991b-e568-4f91-876c-2b76788c8e23",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "dc5a5b6d-f285-4b39-821b-8631dad67687",
"CreateDate": "2026-10-05T19:21:12.6005504-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-05T19:21:12.6005504-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": "6d5ad73f-0d40-4da7-8406-651e113c44b8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4cb312e2-cb34-4124-bb38-7d05cc1b92db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0521044d-08cb-417b-87b6-86613e116f72",
"CreateDate": "2026-10-05T19:21:12.6317322-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-05T19:21:12.6317322-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "fe08bb86-4509-42b9-b97a-37380211d99d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "934132d7-7c78-4d4a-8a50-2d50cf479d2b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e5ff61e1-e54c-42d0-a1fb-3eaacf621556",
"CreateDate": "2026-10-05T19:21:12.6317322-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-05T19:21:12.6317322-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d31f2503-2959-43c6-8135-b14ddf06dee8",
"FieldId": "e518c61e-53b0-43bb-aa2c-c4e3b294ebba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d31f2503-2959-43c6-8135-b14ddf06dee8",
"FieldId": "e518c61e-53b0-43bb-aa2c-c4e3b294ebba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "7fedac5a-4814-43f7-be52-7b134cfc59ea",
"CreateDate": "2026-10-05T19:21:12.6317322-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-05T19:21:12.6317322-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}