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": "50a18db5-e7e9-4af7-9898-fecd5d80cbdd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "42946e93-e33a-4f7c-b0c6-2a3d601a7417",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c92a9f7c-dba1-4bb4-b2a4-680db31bd42b",
"CreateDate": "2026-06-23T06:31:04.0519032-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T06:31:04.0519032-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "279f276c-87df-47cf-a085-03ff0160ddce",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5c4f2285-565f-458b-b283-3830bad9bd1c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "29f6e143-278c-40b9-b6b9-a38d70df5787",
"CreateDate": "2026-06-23T06:31:04.0519032-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-23T06:31:04.0519032-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ab117438-9807-4803-a922-fab0a333f2c7",
"FieldId": "7cba1945-4373-4645-81e6-8f7b75b7b3a0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ab117438-9807-4803-a922-fab0a333f2c7",
"FieldId": "7cba1945-4373-4645-81e6-8f7b75b7b3a0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "26f2f9cc-7f56-4265-80cf-863c3b621911",
"CreateDate": "2026-06-23T06:31:04.0519032-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-23T06:31:04.0519032-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": "8c146a08-2a96-459a-a5cc-5842b2b205c7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "97767080-49af-4baa-8c3d-ccc6cac5ccdd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e352540d-34bc-4d42-9ba1-18217fcdc3fc",
"CreateDate": "2026-06-23T06:31:04.0519032-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T06:31:04.0519032-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f9fb99f1-2dc1-41af-b6c7-a5c3de78f3c0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ab808679-7ddc-451d-ad16-0a9721db9963",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "92dd4f83-4038-4bfa-b89a-54e098dea962",
"CreateDate": "2026-06-23T06:31:04.0519032-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-23T06:31:04.0519032-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3692dc17-9c5b-45e4-ad63-b6cc8b766cc8",
"FieldId": "89868132-42ff-43f2-8724-d871b4710691",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3692dc17-9c5b-45e4-ad63-b6cc8b766cc8",
"FieldId": "89868132-42ff-43f2-8724-d871b4710691",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "444f37f8-901e-4675-b69d-88d267a2eb57",
"CreateDate": "2026-06-23T06:31:04.0519032-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-23T06:31:04.0519032-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}