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": "437c0dfa-b389-42dc-8055-3aba20737dd0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b98c868b-f45b-4a9c-a740-418216207891",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8c442a94-d09c-4a8c-b810-b94b9ae1c539",
"CreateDate": "2026-11-23T23:03:06.3620086-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-23T23:03:06.3620086-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "176c4a4d-f50e-42ca-a690-059a727d9d8b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "327fd315-46df-4978-805c-15d71fb59d3a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f53035df-5726-443a-95ff-8b07d9f6e651",
"CreateDate": "2026-11-23T23:03:06.3620086-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-23T23:03:06.3620086-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e02afc5-a9a2-458f-8cb7-bdd52ab5e309",
"FieldId": "ef392506-bca1-42b3-b775-001872444e03",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e02afc5-a9a2-458f-8cb7-bdd52ab5e309",
"FieldId": "ef392506-bca1-42b3-b775-001872444e03",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c2b2e381-36a5-4811-9ddf-19687ec73d5a",
"CreateDate": "2026-11-23T23:03:06.3620086-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-23T23:03:06.3620086-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": "c5dae30c-ad2e-468e-9d10-d72c9a18b243",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3eb6c290-193f-4f83-aa10-090993a8904b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6e4a7396-2d5f-43fb-a799-4a56f643594b",
"CreateDate": "2026-11-23T23:03:06.3620086-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-23T23:03:06.3620086-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "1f8fbd62-d013-48c1-a08c-1c49077c6ec1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "74c659ef-935b-4fc7-b9ff-98f3a7218e28",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a9c6a834-ed6a-4165-9bab-e77d297d4c57",
"CreateDate": "2026-11-23T23:03:06.3620086-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-23T23:03:06.3620086-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "20d8e036-e476-462c-b937-5c9643ee94ee",
"FieldId": "653d297c-8c44-402a-9855-7e2c323b4a86",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "20d8e036-e476-462c-b937-5c9643ee94ee",
"FieldId": "653d297c-8c44-402a-9855-7e2c323b4a86",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "8d5cdd8d-30e1-4ab4-837f-2b6566a0370a",
"CreateDate": "2026-11-23T23:03:06.3620086-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-23T23:03:06.3620086-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}