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": "6338b03b-8ea8-41c9-beb8-04625d8eab0e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d56d7af8-4b00-4f08-a681-7e67f3c6f0df",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "74221fa1-5806-4770-acd7-d4c6514d0215",
"CreateDate": "2026-04-20T20:57:27.7079137-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-20T20:57:27.7079137-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "57e67a1a-d58d-41e7-bee0-029cb90a4267",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a8c7bbdf-fa74-47ea-88dd-a170dc1e45d5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2012e5a5-1eda-48cc-8d86-0e6af8e9c2ff",
"CreateDate": "2026-04-20T20:57:27.7079137-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-20T20:57:27.7079137-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2586d17b-02a2-4d6e-afe6-b7e5e87dfbc7",
"FieldId": "44b21397-4021-40b5-a0b1-ef2b9b10ec49",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2586d17b-02a2-4d6e-afe6-b7e5e87dfbc7",
"FieldId": "44b21397-4021-40b5-a0b1-ef2b9b10ec49",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f3ca048b-1229-42f9-b406-12a700ca140f",
"CreateDate": "2026-04-20T20:57:27.7079137-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-20T20:57:27.7079137-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": "57757c7c-1f04-4a05-a306-85aba84d1b1f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b9fb0e88-755f-44f7-b2a6-c241d01a7d0a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "da673e46-d889-4869-b646-291643d1a97e",
"CreateDate": "2026-04-20T20:57:27.7234833-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-20T20:57:27.7234833-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "cbcf0c16-803d-4e37-a925-b873a45da284",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d5039a47-51ec-490e-8818-a858697c93bd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5dbc0c5d-cfb7-4a7e-839a-c31fba3bf07b",
"CreateDate": "2026-04-20T20:57:27.7234833-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-20T20:57:27.7234833-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7f325b24-0bcb-4630-8ff4-73ed49b2078e",
"FieldId": "50fa29ce-df0b-4912-b639-c4f00eb8e4ee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7f325b24-0bcb-4630-8ff4-73ed49b2078e",
"FieldId": "50fa29ce-df0b-4912-b639-c4f00eb8e4ee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0d457a72-e2fe-400e-a9a6-3ff7c624ab03",
"CreateDate": "2026-04-20T20:57:27.7234833-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-20T20:57:27.7234833-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}