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": "ae920424-9764-4d6f-a370-23990bfd2690",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6eb75501-023e-4da5-a645-d3655e62c6dd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "584334de-2b17-497b-820c-7322c028a0f3",
"CreateDate": "2026-06-15T03:44:41.0546836-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-15T03:44:41.0546836-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "212d2ea5-0535-4b7e-948f-976148ae6d37",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8c9b7765-ab70-4357-b1c3-024415401c98",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2b66db73-b0ae-4670-ae79-f981c298bfb5",
"CreateDate": "2026-06-15T03:44:41.0546836-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-15T03:44:41.0546836-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d450a3b5-363d-400a-9f08-8cd20db25840",
"FieldId": "c2f58f24-02e0-4366-abf0-a88b649fd510",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d450a3b5-363d-400a-9f08-8cd20db25840",
"FieldId": "c2f58f24-02e0-4366-abf0-a88b649fd510",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "fcc9eaa3-bea4-4547-8127-c906d7b40c47",
"CreateDate": "2026-06-15T03:44:41.0546836-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-15T03:44:41.0546836-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": "f6c89796-a9da-44c7-a1b3-668343dafb62",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9303ac62-f6e6-4b55-b74d-27fd8ee0161b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6d039088-95dc-43f1-847e-640a31fa3d03",
"CreateDate": "2026-06-15T03:44:41.0546836-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-15T03:44:41.0546836-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "483df2a4-98c3-4ddb-811a-afa9ddc88263",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6f3c6404-6a4d-4919-bcd2-7a709ffb7cf7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0f4e20c2-8682-4296-ac30-9d5732ec8ca5",
"CreateDate": "2026-06-15T03:44:41.0546836-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-15T03:44:41.0546836-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "536deb87-c274-46c7-8673-3c6e5e04afa3",
"FieldId": "04b96f14-61a1-43cb-8357-fda96efb8cc3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "536deb87-c274-46c7-8673-3c6e5e04afa3",
"FieldId": "04b96f14-61a1-43cb-8357-fda96efb8cc3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c92181fe-efc2-4a1a-9c27-d183b3311b10",
"CreateDate": "2026-06-15T03:44:41.0546836-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-15T03:44:41.0546836-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}