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": "3197b3f0-f666-4a27-bf45-704f39d81885",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c2783c35-a93a-4364-8a0f-4685d0eb5f9f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "19683ad8-cb66-4aa1-93b7-22aa7cdf0d4d",
"CreateDate": "2026-11-17T01:18:46.1091757-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T01:18:46.1091757-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "82587b52-5a90-446c-9e02-44bef2dd9c88",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "61603f83-ec1c-48e3-921c-709482e30064",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5ad309b1-6401-48c1-9842-c718ab672cf8",
"CreateDate": "2026-11-17T01:18:46.1091757-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-17T01:18:46.1091757-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0bd466f3-6196-47c0-81b5-cc510e2024e5",
"FieldId": "6c4598cf-611e-4079-a5a9-1e77309698cb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0bd466f3-6196-47c0-81b5-cc510e2024e5",
"FieldId": "6c4598cf-611e-4079-a5a9-1e77309698cb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9959230c-afe4-456c-852d-4d178390d7de",
"CreateDate": "2026-11-17T01:18:46.1091757-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-17T01:18:46.1091757-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": "b2f82ac3-084c-49d0-a30e-775cfb323d6a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8d8cba4d-ea12-466b-94dd-5196368ced69",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c35b017d-4e55-4317-98cd-b53645b50b03",
"CreateDate": "2026-11-17T01:18:46.1091757-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-17T01:18:46.1091757-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f4870d92-7a1f-4b53-a69b-7c96b8b4edad",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "67d9ba79-a966-43f5-b8f0-a598219edffc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d0bbfda5-0d50-4e04-b5b4-2607f772c73b",
"CreateDate": "2026-11-17T01:18:46.1091757-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-17T01:18:46.1091757-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a743f096-4b7f-4ded-973a-583b38d58af6",
"FieldId": "accb488c-0b75-4f46-a242-4d9499c9b766",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a743f096-4b7f-4ded-973a-583b38d58af6",
"FieldId": "accb488c-0b75-4f46-a242-4d9499c9b766",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ce56bfd7-1996-45c1-9722-3afa4661e8c7",
"CreateDate": "2026-11-17T01:18:46.1091757-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-17T01:18:46.1091757-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}