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": "5a3364d1-621c-4bb2-a2fc-1544b86ac012",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "006cfa88-0adb-476e-90b4-f86a35593ad8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "300dbb24-726a-4b27-8eea-f311781631bf",
"CreateDate": "2026-08-17T09:13:43.979923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T09:13:43.979923-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "cd103d1a-64e7-4f92-acf7-68278992aa7f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "87881269-f3e1-445f-b181-84cbd1ad5bcb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "56458865-85ca-4d45-b0db-801af2548703",
"CreateDate": "2026-08-17T09:13:43.979923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T09:13:43.979923-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "36de09c9-6ce5-4238-99a0-aeaf7042b13f",
"FieldId": "443add7d-5f8f-41c2-a866-441e4efda9cf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "36de09c9-6ce5-4238-99a0-aeaf7042b13f",
"FieldId": "443add7d-5f8f-41c2-a866-441e4efda9cf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "62eb0ba1-53fe-445a-af4d-2dff4c9bc51e",
"CreateDate": "2026-08-17T09:13:43.979923-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T09:13:43.979923-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": "77908930-b887-4375-90e0-d638b554cb50",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "886aad8c-0562-46fb-a6b0-78867c23ed1b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "673a44c5-d74f-48c2-855e-9fd1f00e0444",
"CreateDate": "2026-08-17T09:13:43.979923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T09:13:43.979923-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c242d3b5-ef8c-451e-b027-afc814896bca",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4712d68e-423c-4ba3-a9d7-332e59574e81",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fbff375b-d2ed-48d5-8e30-5704a4bc4ca7",
"CreateDate": "2026-08-17T09:13:43.979923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T09:13:43.979923-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "26a1fd5f-3658-46ec-8c90-c3dce947a08f",
"FieldId": "bcb0f624-e588-4d97-900f-979a3de42be2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "26a1fd5f-3658-46ec-8c90-c3dce947a08f",
"FieldId": "bcb0f624-e588-4d97-900f-979a3de42be2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1c951d8e-1fcb-4576-a226-d0b988ae8a07",
"CreateDate": "2026-08-17T09:13:43.979923-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T09:13:43.979923-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}