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": "0702c73a-62ce-42f1-89d2-14d83295049c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dcffc34f-a8fb-437f-930d-bae0bbc26104",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8b1eae4c-f853-4341-bce6-ce82ccee8a79",
"CreateDate": "2026-02-23T06:32:41.9365528-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T06:32:41.9365528-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "cfa0216e-1eef-4bdc-9352-31dbeda6c4b2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cc7df7d2-bb60-4ccb-a2af-b8c080cacccc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "68bfa4c5-c164-440c-a163-a5f3783a7323",
"CreateDate": "2026-02-23T06:32:41.9365528-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T06:32:41.9365528-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3f07a651-f9ea-44c5-8b8f-df84c57640bf",
"FieldId": "5986420f-89da-4d97-af14-9878f0f82065",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3f07a651-f9ea-44c5-8b8f-df84c57640bf",
"FieldId": "5986420f-89da-4d97-af14-9878f0f82065",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "385d0c81-52c0-4a52-98f9-6591d66d1260",
"CreateDate": "2026-02-23T06:32:41.9365528-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T06:32:41.9365528-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": "05f62a67-4a39-45c4-b4ce-a1a799250ab4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bedb624e-72b5-4127-9ce3-414521020735",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "14d930d8-0ef7-4d1c-84e8-6d06d129303b",
"CreateDate": "2026-02-23T06:32:41.9365528-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T06:32:41.9365528-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "40f5e0c3-7949-46ac-a69b-cef61eec0075",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "728e4494-e8b3-4491-8076-8f5612e9955c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ee6c0998-3e39-4e22-af0a-da9a67786903",
"CreateDate": "2026-02-23T06:32:41.9365528-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T06:32:41.9365528-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f785b9c0-d3d9-4da8-88a9-573e57753f21",
"FieldId": "9d362615-90b2-43f2-97c1-68c11aa7c8c8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f785b9c0-d3d9-4da8-88a9-573e57753f21",
"FieldId": "9d362615-90b2-43f2-97c1-68c11aa7c8c8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "82b79645-2e16-455f-8f98-062b8ec17de5",
"CreateDate": "2026-02-23T06:32:41.9365528-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T06:32:41.9365528-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}