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": "e5119fa5-808a-48cf-bdcd-f0b77c4b42b6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1450c124-007e-4625-bace-e036893c2da2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f4b598d2-90ad-481e-b5d5-79940d58a0b6",
"CreateDate": "2026-08-24T09:39:53.8381335-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T09:39:53.8381335-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "8de604b0-c3d5-4198-bf8a-f6f6c765f6c3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "70b16c18-daef-4f4f-b122-40b35d46cdf3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "289ca8e2-53fd-4d0f-af70-22ee00d76fee",
"CreateDate": "2026-08-24T09:39:53.8381335-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T09:39:53.8381335-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7cc2951e-1bf1-4e80-b59f-32cef38f9685",
"FieldId": "04f61e8f-c886-4f07-8e26-c1bea45ff657",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7cc2951e-1bf1-4e80-b59f-32cef38f9685",
"FieldId": "04f61e8f-c886-4f07-8e26-c1bea45ff657",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d7f15a4b-2faa-4d3f-80b7-ac5afb97d912",
"CreateDate": "2026-08-24T09:39:53.8381335-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T09:39:53.8381335-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": "6341c6e5-8416-4310-b348-8ed8944ac2ea",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0bd0d96d-1564-4425-a351-374ea404c439",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9ba875a6-d7fa-4bef-bb09-94ff6c7b349a",
"CreateDate": "2026-08-24T09:39:53.8381335-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T09:39:53.8381335-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "dcf937cc-892b-43e0-a241-6c7d7eb42367",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "94045c2d-91cc-4f09-aa57-a25969fc7de0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bd54e283-9f83-40a0-b47e-2e74493a5eea",
"CreateDate": "2026-08-24T09:39:53.8381335-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T09:39:53.8381335-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a1564f71-ee11-4d49-9146-7533627d12ca",
"FieldId": "158a4704-22c0-456a-9387-4cc57fe45784",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a1564f71-ee11-4d49-9146-7533627d12ca",
"FieldId": "158a4704-22c0-456a-9387-4cc57fe45784",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1aca38cf-c80a-4ee9-9b8a-791d53b6af8d",
"CreateDate": "2026-08-24T09:39:53.8381335-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T09:39:53.8381335-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}