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": "9cab17c5-bcd0-4d05-8408-f6c0b29c4eab",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bc3fa7dd-fa5f-40c3-ba87-c49eddd314cf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a8383e86-e2cd-4da6-8570-343c1784dd04",
"CreateDate": "2026-10-27T00:48:27.0500695-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-27T00:48:27.0500695-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "164a8c03-b8ea-41bc-88f3-baca8d125302",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c9183664-e975-4b47-96d3-d8094a1a3383",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "23b947f9-aa0d-4eb1-8732-86f88bcb4fae",
"CreateDate": "2026-10-27T00:48:27.0500695-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T00:48:27.0500695-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "67d05a44-962b-4b89-b495-9a7eaf912271",
"FieldId": "31828f77-bc31-499d-b30c-e623e0fc39b2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "67d05a44-962b-4b89-b495-9a7eaf912271",
"FieldId": "31828f77-bc31-499d-b30c-e623e0fc39b2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "be295644-3355-4d1f-9012-ffcd093a3d1f",
"CreateDate": "2026-10-27T00:48:27.0656985-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T00:48:27.0656985-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": "372a728c-b70c-4601-9026-1a842b2fc725",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "141d8794-fa3b-4e89-b2a6-e6987885bef6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9192b364-0791-43f3-a5e2-2a205fafea03",
"CreateDate": "2026-10-27T00:48:27.2531995-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-27T00:48:27.2531995-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "19ace160-b512-425d-b4fc-01f5dbcad277",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3b17e369-ec78-444b-8f87-a4f386e262f5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "216b5d65-1048-456e-8ea4-f39c659b0b89",
"CreateDate": "2026-10-27T00:48:27.2531995-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T00:48:27.2531995-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "13c2b703-870d-4658-8c32-c3b1b977f4c7",
"FieldId": "bd408349-3df1-4606-a62d-695c6aff2317",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "13c2b703-870d-4658-8c32-c3b1b977f4c7",
"FieldId": "bd408349-3df1-4606-a62d-695c6aff2317",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "83bb1925-df4a-4f81-8e0a-a232560487c7",
"CreateDate": "2026-10-27T00:48:27.2531995-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T00:48:27.2531995-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}