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": "8d198415-0455-4253-9b92-6d5c46351677",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5badcb54-9801-416b-97fb-b6e765188127",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3234b9a2-3355-4b41-9581-5b709c1c8243",
"CreateDate": "2026-09-21T16:26:04.4468486-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T16:26:04.4468486-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "6aa562f6-3b5d-441b-b2bd-2265aab0f5ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "78010a53-b6e3-45ea-a097-d2191b818990",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6a81192c-9744-45ca-8997-37420acd75e0",
"CreateDate": "2026-09-21T16:26:04.4468486-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:26:04.4468486-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "db96c092-821c-4b7a-be96-c5a2183f9413",
"FieldId": "f005c8c3-f00e-4dc0-b345-b8db9c9052e8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "db96c092-821c-4b7a-be96-c5a2183f9413",
"FieldId": "f005c8c3-f00e-4dc0-b345-b8db9c9052e8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "16b75963-3f3b-48bc-a8d9-b90e0f79d0d4",
"CreateDate": "2026-09-21T16:26:04.4468486-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T16:26:04.4468486-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": "93ace229-c241-48ab-bc8a-5ec728fa5cca",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e4596828-4c69-444c-9ee7-505b675a8bbe",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0091e67d-0998-4cfe-881e-b1eb83e78fcf",
"CreateDate": "2026-09-21T16:26:04.4468486-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T16:26:04.4468486-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "dbeca2ad-47fe-4620-ac34-e0d2e6d1d39d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e9e5f67b-1f34-47b5-afee-863643ed541a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db067ad8-7608-4598-a9a3-8435db6cf7b8",
"CreateDate": "2026-09-21T16:26:04.4468486-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:26:04.4468486-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ba1db62a-78f2-4d11-9f8a-59dd7f539d0c",
"FieldId": "70fc72af-833b-49f3-ab61-3ab3e1529238",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ba1db62a-78f2-4d11-9f8a-59dd7f539d0c",
"FieldId": "70fc72af-833b-49f3-ab61-3ab3e1529238",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "3c63ae87-4862-4580-ad11-b499c91e08f3",
"CreateDate": "2026-09-21T16:26:04.4468486-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T16:26:04.4468486-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}