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": "9bcc6f5e-b82b-496a-bc7c-a6133102e767",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1755d2d6-34bf-4aca-8705-c8287920038a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46570530-b73e-43ac-82f7-ff0053a99b5b",
"CreateDate": "2026-01-07T15:54:55.5385257-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:54:55.5385257-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f4478aeb-dc5a-4102-bd31-845c358095bc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5a963aab-8829-451e-8707-72e90b4cab37",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5a4253e8-857a-4422-8776-6463d8d0e8d2",
"CreateDate": "2026-01-07T15:54:55.5385257-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:54:55.5385257-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c422bc9f-2bd9-471a-a7e0-5d53773eba75",
"FieldId": "2270c83e-78f2-4c28-8778-714a876bf0eb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c422bc9f-2bd9-471a-a7e0-5d53773eba75",
"FieldId": "2270c83e-78f2-4c28-8778-714a876bf0eb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c3b5c02d-fd9b-4428-85e1-01235ee11810",
"CreateDate": "2026-01-07T15:54:55.5385257-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:54:55.5385257-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": "1d116fbb-cfbc-42a0-9fb4-24b4385406a5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d8bbeb3d-598c-4967-9f53-e590c23fbeab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "565b0e26-6a56-47b9-931e-2b0a67d08d77",
"CreateDate": "2026-01-07T15:54:55.5385257-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:54:55.5385257-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "861d0127-a6d1-488b-9dfa-6930c9dd8567",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "95f1a653-8247-4e2c-9519-0ddb1d610b81",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c453c939-ab3f-4ef9-a253-47a4aef40f73",
"CreateDate": "2026-01-07T15:54:55.5385257-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:54:55.5385257-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b69e1b1b-f1c0-4fd1-a368-93ce01b19a98",
"FieldId": "90de5746-65c1-4f2f-ad13-bfe3dc65b008",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b69e1b1b-f1c0-4fd1-a368-93ce01b19a98",
"FieldId": "90de5746-65c1-4f2f-ad13-bfe3dc65b008",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c44c439c-9f7c-490a-bee6-cccc7d808b40",
"CreateDate": "2026-01-07T15:54:55.5542212-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:54:55.5542212-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}