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": "c186a73e-a9b0-43f0-bf1b-f9a1454ee089",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7f46f7cb-0b66-4a69-82a5-b07db622b350",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d5301236-ea11-4e62-b61e-e7be6d0bbc63",
"CreateDate": "2026-05-14T13:12:01.3582148-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-14T13:12:01.3582148-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "07f471a2-6df8-4119-ae61-b0dc4d7b1b09",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "53ff5da1-1d5e-49c6-aaeb-9202ceb6603e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fba899e0-44e0-4546-99e1-7be03ed9c9d8",
"CreateDate": "2026-05-14T13:12:01.3582148-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-14T13:12:01.3582148-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b4f1613f-9cb7-4183-ac71-9915dd912529",
"FieldId": "eb9193b7-4393-44d1-b01d-c37e55fe77f9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b4f1613f-9cb7-4183-ac71-9915dd912529",
"FieldId": "eb9193b7-4393-44d1-b01d-c37e55fe77f9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "eda8a786-0512-4cf9-9c08-9fb4ca1ec47f",
"CreateDate": "2026-05-14T13:12:01.3582148-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-14T13:12:01.3582148-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": "5297d9e8-e2b1-4710-a296-9012861de1ea",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6567ab9f-0c4c-4344-b8e5-de4a1474204d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "28ec4a10-1b43-4355-9225-479d3d723b43",
"CreateDate": "2026-05-14T13:12:01.3582148-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-14T13:12:01.3582148-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "8cfdb2b6-e204-45c7-89ef-e33abfbd2873",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "93d72450-5f87-465b-aa12-1e7bf6869503",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "34d38d54-522c-4e95-8037-e47d9c0e6e7a",
"CreateDate": "2026-05-14T13:12:01.3582148-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-14T13:12:01.3582148-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "38180645-fa6b-48d7-8110-52a23f2a053b",
"FieldId": "d2c6ab60-1e13-40cc-9247-e0efeca640d9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "38180645-fa6b-48d7-8110-52a23f2a053b",
"FieldId": "d2c6ab60-1e13-40cc-9247-e0efeca640d9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ca4343cb-bfd0-4079-bfe3-4a6939f335d5",
"CreateDate": "2026-05-14T13:12:01.3582148-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-14T13:12:01.3582148-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}