PUT PropertyTypes
Updates the given property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to update
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": "44c40dc8-70d4-48d5-b4a0-f4cf01bf11a6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fe0d269e-d899-4a88-b745-36bce7f4825c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "794cd86b-afcf-4996-a00e-847d31f70be3",
"CreateDate": "2026-05-12T17:05:38.8503162-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:05:38.8503162-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f2c171f0-f1ba-498d-a5a1-1113dd13b933",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9456af2f-d00e-4f58-8e0c-c1971d0554b6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8c44b760-dd52-4e85-8796-c7e5608e2e36",
"CreateDate": "2026-05-12T17:05:38.8503162-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:38.8503162-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "95209eeb-2ec5-47c7-a027-719067905d24",
"FieldId": "b8beeb2b-25c6-4ccc-b9f8-106f376867c7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "95209eeb-2ec5-47c7-a027-719067905d24",
"FieldId": "b8beeb2b-25c6-4ccc-b9f8-106f376867c7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "6d81b753-e002-49da-ba17-11504db4bcf3",
"CreateDate": "2026-05-12T17:05:38.8503162-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:05:38.8503162-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the updated 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": "d4912983-ebb9-4eaf-99f2-f79ae224954a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "770b996c-9180-419a-94ed-9dccece66e76",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "66472d19-a2d5-4936-84f4-2014a4a57ff1",
"CreateDate": "2026-05-12T17:05:38.8503162-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:05:38.8503162-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c9cd30f4-bd7c-4e63-811d-c3ac0a305d72",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ae8733d4-7582-4955-84fb-08b75e255b00",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "96f29bde-dcae-43a2-b421-7a9526252ba8",
"CreateDate": "2026-05-12T17:05:38.8503162-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:38.8503162-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e53a8524-c64f-4217-bed5-617565f5cc2f",
"FieldId": "d5fc5cbb-439c-4a40-9cd8-486f32dfbade",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e53a8524-c64f-4217-bed5-617565f5cc2f",
"FieldId": "d5fc5cbb-439c-4a40-9cd8-486f32dfbade",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d5c06dc9-0f8f-438e-bb31-2e883ec3e237",
"CreateDate": "2026-05-12T17:05:38.8503162-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:05:38.8503162-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}