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": "582670b7-108f-48ba-95e9-716f2a15419a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "352acca8-391a-4589-929e-adff80c4d26e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "51a461db-258c-40b4-a3b2-608ccbcf2cf1",
"CreateDate": "2026-11-22T14:12:52.1997646-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:52.1997646-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "659501a4-e5a2-4b93-bee7-d4a7ba20d11d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8cc167e1-f556-4b00-94df-bd1a198ccc70",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "04a95419-e05e-414b-82b0-9b4b4476a44b",
"CreateDate": "2026-11-22T14:12:52.1997646-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:52.1997646-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a1a53627-aad3-454f-a43d-a20d12a000df",
"FieldId": "180713ca-7019-473f-b594-74a31ca6c2d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a1a53627-aad3-454f-a43d-a20d12a000df",
"FieldId": "180713ca-7019-473f-b594-74a31ca6c2d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e4ab4a23-9173-4535-9085-ed92046a4bf4",
"CreateDate": "2026-11-22T14:12:52.1997646-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:52.1997646-08: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": "aa34aeb7-905e-4cca-9a06-7ebcfa114f79",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "96dc8d93-c8b3-44af-8ff7-d1e7665a3ea9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e998ceb8-d598-410d-a149-6e59eac63cc6",
"CreateDate": "2026-11-22T14:12:52.1997646-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:52.1997646-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "222c26cc-b3c8-47af-ae91-e3491ac6fedb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d7266aeb-d6bb-494a-aecd-e0260681f217",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dae3d8a6-a2ba-4f5a-9f57-626d73e14fc0",
"CreateDate": "2026-11-22T14:12:52.1997646-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:52.1997646-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6bae1965-0acf-4034-8f40-9c017c6734c6",
"FieldId": "b6a1567c-c59e-427a-b386-3d22fcb9124a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6bae1965-0acf-4034-8f40-9c017c6734c6",
"FieldId": "b6a1567c-c59e-427a-b386-3d22fcb9124a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "404f53fe-a220-46d4-95d5-0ddd1f8c9949",
"CreateDate": "2026-11-22T14:12:52.1997646-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:52.1997646-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}