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": "b64290eb-826d-4975-8593-207597ecd717",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5710ba8a-c328-4ffb-b0e6-db408709d04b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0ef6d642-bb43-4afa-87c9-1d00fbb9e06a",
"CreateDate": "2026-06-29T04:05:48.0853043-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T04:05:48.0853043-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "058f5482-eeaf-47d3-a139-34f949b3c016",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "77c52343-bc12-4cfc-ab79-87857bded5bb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e19d8f9f-e9bf-4486-a797-3307aaa82933",
"CreateDate": "2026-06-29T04:05:48.0853043-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-29T04:05:48.0853043-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da5ae396-34dd-4d71-82e6-196d5648b3b4",
"FieldId": "4ea81e32-5da0-4734-b8a4-be0dd75e4b4f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da5ae396-34dd-4d71-82e6-196d5648b3b4",
"FieldId": "4ea81e32-5da0-4734-b8a4-be0dd75e4b4f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "94c620d3-33da-449a-9a84-d39f5482e700",
"CreateDate": "2026-06-29T04:05:48.0853043-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-29T04:05:48.0853043-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": "16fb614b-aa5b-4c4f-b9ba-29df1d658c13",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cb41a24b-72ae-4699-a770-5d832fca024e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "30b8b8fd-5a92-403c-b3f2-18487f6ac1d3",
"CreateDate": "2026-06-29T04:05:48.0853043-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T04:05:48.0853043-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "504d90ee-233c-49a2-ab3a-d26b39245c2c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eb0e3bb9-cf30-469f-a039-c46461cdf81b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b110ed21-ce7a-4e6a-93be-e88b09256a6d",
"CreateDate": "2026-06-29T04:05:48.0853043-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-29T04:05:48.0853043-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c24a5e1f-3b56-43f8-9256-dfbbf224d873",
"FieldId": "da4f7c0a-a872-4e71-bf53-e05cd445f7c5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c24a5e1f-3b56-43f8-9256-dfbbf224d873",
"FieldId": "da4f7c0a-a872-4e71-bf53-e05cd445f7c5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a34c6d16-c4f3-43c0-9248-0fde5f3f08c9",
"CreateDate": "2026-06-29T04:05:48.0853043-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-29T04:05:48.0853043-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}