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": "ece6d281-4b00-4517-bd64-e5e2fc23d1cf",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "beeb727e-ee85-4296-a460-3de097b22879",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "185e668d-2d07-43e0-a5b6-e8cca6b22e2b",
"CreateDate": "2026-10-19T20:51:33.2458238-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-19T20:51:33.2458238-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "474016bc-9a00-460a-80a0-f046bdff2915",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "195710de-9c67-4234-9ed6-7e84e380c774",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "308121b0-462f-4b54-9495-e6e95d47e53e",
"CreateDate": "2026-10-19T20:51:33.2458238-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-19T20:51:33.2458238-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e11daaf-db41-4d0a-a572-eb12569768ba",
"FieldId": "9d36fd43-35e9-4498-bd8a-dfb2527987ad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e11daaf-db41-4d0a-a572-eb12569768ba",
"FieldId": "9d36fd43-35e9-4498-bd8a-dfb2527987ad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1de8793c-9345-4390-8a74-97c0fb078731",
"CreateDate": "2026-10-19T20:51:33.2458238-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T20:51:33.2458238-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": "d1241f89-e294-4d7b-aa16-ef0603ce5d22",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "18ba9a65-7fc8-4ec2-b892-c4910d62f405",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c13d17f3-4c2c-44fa-969d-2b9d49328e89",
"CreateDate": "2026-10-19T20:51:33.2614915-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-19T20:51:33.2614915-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4f8be9bc-33aa-4cc1-b90b-8958bba42bad",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a9678158-0a33-4ed6-a954-fc954fcef4d1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "de407f69-1ce5-47c3-8510-edf5a1ad8ca1",
"CreateDate": "2026-10-19T20:51:33.2614915-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-19T20:51:33.2614915-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b1905814-36d9-44a5-8631-a631be0295a5",
"FieldId": "b6df6d08-2734-492b-81fd-0a468cd63212",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b1905814-36d9-44a5-8631-a631be0295a5",
"FieldId": "b6df6d08-2734-492b-81fd-0a468cd63212",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1fedcef6-4f63-461f-a066-5ff6629a3368",
"CreateDate": "2026-10-19T20:51:33.2614915-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T20:51:33.2614915-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}