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": "5ccc6f2c-8fc6-4dad-acbb-0f07498c929f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cc3b5c75-39ec-485e-8422-ff1ce5c1fb8d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "05cf98c4-f715-4272-9822-55bab1ec3653",
"CreateDate": "2026-11-10T02:23:30.1552815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-10T02:23:30.1552815-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "93ea89a3-7894-4781-8366-fa597464a807",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4f8552c1-9087-44f1-91fb-929e29ed183e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "95d41a20-ebbf-459d-b55b-42f778e5ed82",
"CreateDate": "2026-11-10T02:23:30.1552815-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-10T02:23:30.1552815-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7c9d3677-6076-47ef-90ff-2eaf9e5804d9",
"FieldId": "52c72b83-1289-44bd-aa36-84c25bb66fc2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7c9d3677-6076-47ef-90ff-2eaf9e5804d9",
"FieldId": "52c72b83-1289-44bd-aa36-84c25bb66fc2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "82182381-f54c-494a-9d49-4a2e04cd4984",
"CreateDate": "2026-11-10T02:23:30.1552815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-10T02:23:30.1552815-08: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": "eba3efa9-7ef6-4b48-8624-0ddf5560933b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ecb73d3a-fd42-436e-814a-a231e18d9fdb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71ccaad0-6b9e-422a-91fb-9519e8ff21df",
"CreateDate": "2026-11-10T02:23:30.1709475-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-10T02:23:30.1709475-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "36d239b2-c860-4dc4-8940-b240abb802cf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6991a1e9-6b0c-4090-9910-95c1a007b804",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8ee0dd1c-ce34-4366-a48a-8c1b33f89647",
"CreateDate": "2026-11-10T02:23:30.1709475-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-10T02:23:30.1709475-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9093c3f1-e21b-4d80-b842-a8b8846e41ca",
"FieldId": "3eb40a5e-76e8-41f8-be01-79da3b2c8c78",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9093c3f1-e21b-4d80-b842-a8b8846e41ca",
"FieldId": "3eb40a5e-76e8-41f8-be01-79da3b2c8c78",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "597d553e-5d80-4ed9-bf13-92093b41efd9",
"CreateDate": "2026-11-10T02:23:30.1709475-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-10T02:23:30.1709475-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}