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": "b5a4ac08-e7f1-4f51-93d7-050afb630055",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "47405677-cd3c-4749-a569-96d07216c9c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "678dab69-fda3-4b81-97e7-7b8a12d1a4a1",
"CreateDate": "2026-03-30T16:46:55.5818831-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:46:55.5818831-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "53e1fc1f-c2b1-4b81-a9ad-8361e4998ff5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "66bbc3d9-24d4-4e80-bd47-186c3dec0096",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5c2920a0-2a02-4735-8c2c-f37d09804467",
"CreateDate": "2026-03-30T16:46:55.5818831-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:46:55.5818831-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f89b6997-2afb-46bc-943c-c0460db58152",
"FieldId": "da06ac0e-9bd4-4125-bf76-7471f6e16ee7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f89b6997-2afb-46bc-943c-c0460db58152",
"FieldId": "da06ac0e-9bd4-4125-bf76-7471f6e16ee7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "dc817963-341c-4a3e-af8a-8f6c9b2dc377",
"CreateDate": "2026-03-30T16:46:55.5818831-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:46:55.5818831-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": "2f29819f-a0c4-4670-b42e-ab8411c6e735",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "03954eff-3499-4afb-bf13-07ba3724f906",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3e006fac-3efe-48ce-9992-e60b49bbf825",
"CreateDate": "2026-03-30T16:46:55.5974623-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:46:55.5974623-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "0f034956-1052-4522-b393-329b0280a3d0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3f1e588c-86a6-42bd-8284-15b99927253b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8ccf2f71-ff91-4dc0-8d2f-753099faf542",
"CreateDate": "2026-03-30T16:46:55.5974623-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:46:55.5974623-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b11a2561-1a1b-42d3-80a8-2d3e4b05d95c",
"FieldId": "4913fb77-245b-41d8-a0a0-7a31da3a7b68",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b11a2561-1a1b-42d3-80a8-2d3e4b05d95c",
"FieldId": "4913fb77-245b-41d8-a0a0-7a31da3a7b68",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "10c95bff-c25b-4fed-9a4c-27061a3ae07b",
"CreateDate": "2026-03-30T16:46:55.5974623-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:46:55.5974623-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}