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": "723b70b7-d22d-4914-9944-c6a50b0c58a9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1fb56c42-0f49-49f8-a461-75471db6d2f1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2b66144a-c81b-4e17-bdd5-4398f9f2691a",
"CreateDate": "2026-11-21T04:50:59.1664191-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T04:50:59.1664191-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "6676c2d0-305d-4c88-a15c-d4c780e7b2ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "40ccfe2b-5f3a-402b-9e53-f3cd301d06b0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3605605d-155b-4a17-809c-689fa92e498d",
"CreateDate": "2026-11-21T04:50:59.1664191-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T04:50:59.1664191-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "045c608c-d6f3-4dbb-b596-c08a6c5e9d17",
"FieldId": "009d008b-2291-43cf-a291-93c7d7fc0cee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "045c608c-d6f3-4dbb-b596-c08a6c5e9d17",
"FieldId": "009d008b-2291-43cf-a291-93c7d7fc0cee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "83e7f00b-b471-47ff-b178-8f40c90eedae",
"CreateDate": "2026-11-21T04:50:59.1820444-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T04:50:59.1820444-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": "1d56519d-3799-471d-af24-c6eeedf7a9f3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "56a26c89-9e3e-4078-a479-5fdfad1e70fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d721841a-c983-4e12-b36e-fffbe14de579",
"CreateDate": "2026-11-21T04:50:59.1976789-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T04:50:59.1976789-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "04bbee2a-f824-40f9-8e6d-99cf84219504",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bd1aa16e-ed75-4878-b13b-23ada4457b07",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "93f48ce4-26b3-4704-a868-d449b0733c91",
"CreateDate": "2026-11-21T04:50:59.1976789-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T04:50:59.1976789-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7febf90b-b194-4545-a615-7c3f1149f03f",
"FieldId": "88497c4a-847c-41d2-afc9-61d1fce5ac98",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7febf90b-b194-4545-a615-7c3f1149f03f",
"FieldId": "88497c4a-847c-41d2-afc9-61d1fce5ac98",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "cf42be44-67a3-441e-8f22-55822bd2d97c",
"CreateDate": "2026-11-21T04:50:59.1976789-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T04:50:59.1976789-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}