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": "d45090ad-6aa2-4436-8afb-f0e1357a1f3d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ffe2e0c4-9e49-4909-968d-a242622a31a3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "018cd4fb-b175-42d3-9c59-bf5478b3394b",
"CreateDate": "2026-08-24T21:34:10.0056054-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:10.0056054-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a21ee7b0-04a1-4bde-8c08-73048a5b8211",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "496e6561-e8f2-4242-9b38-c29b90598345",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "abe0e141-0c24-4b58-a8a8-ebfc9340c03d",
"CreateDate": "2026-08-24T21:34:10.0056054-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:10.0056054-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "61b04c85-a90c-4820-b07a-2d8491c355a8",
"FieldId": "6c128a5b-ef9e-4927-9ca6-05490b920cc9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "61b04c85-a90c-4820-b07a-2d8491c355a8",
"FieldId": "6c128a5b-ef9e-4927-9ca6-05490b920cc9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2531775c-3d24-4cf4-96a7-46f42288a41e",
"CreateDate": "2026-08-24T21:34:10.0056054-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:34:10.0056054-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": "948c84ed-abc2-4ce7-9912-3a47fc04ab80",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1b1b3477-edaa-4406-b9fb-28f10ae372c8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "eef46ca5-38fd-4825-ab9d-3cf8fe71cdbe",
"CreateDate": "2026-08-24T21:34:10.0056054-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:10.0056054-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "fab77fd6-9c36-472e-8ad5-41239a62b1a0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7ae02495-7acc-42c8-9ef3-22f955e3c033",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5fb30e98-57b4-4fb1-b93c-9ea4a1c69140",
"CreateDate": "2026-08-24T21:34:10.0056054-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:10.0056054-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f548e264-b55b-4de0-a3f3-b906748a8011",
"FieldId": "1e5dbc20-4a49-446d-b77b-f1c3c8dc917c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f548e264-b55b-4de0-a3f3-b906748a8011",
"FieldId": "1e5dbc20-4a49-446d-b77b-f1c3c8dc917c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f7e48168-2a2e-4197-b121-62d77eb70217",
"CreateDate": "2026-08-24T21:34:10.0056054-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:34:10.0056054-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}