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": "52c13b9c-f46e-4521-b580-593e82ea0458",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6166d6e5-d7c0-4706-ad3a-507489285f0b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "920b2761-2f9b-4fea-98ac-fdb2cadab28a",
"CreateDate": "2025-12-30T08:50:11.3376647-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:50:11.3376647-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "8f0421a2-a93c-46f8-a16a-8bfdd191691a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ffc6cfcd-8f75-4908-b881-1adc823a17f8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b6261207-1432-4435-9496-866069455a7f",
"CreateDate": "2025-12-30T08:50:11.3376647-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:50:11.3376647-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a0bae17a-cd29-46ce-a47e-c5889601f94c",
"FieldId": "c40d306b-e90f-4f48-97f4-f7593ebcaab9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a0bae17a-cd29-46ce-a47e-c5889601f94c",
"FieldId": "c40d306b-e90f-4f48-97f4-f7593ebcaab9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "90259471-d081-42b7-b898-02d3dcc3d661",
"CreateDate": "2025-12-30T08:50:11.3376647-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:50:11.3376647-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": "5ae1c9e1-ca64-4799-b0ed-b998a29e1ffc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4fd75674-4cc5-4bbe-b84a-c08a9f4123ca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0f5e4c87-225e-4c1d-9777-458c3a31acc6",
"CreateDate": "2025-12-30T08:50:11.3376647-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:50:11.3376647-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a66604df-0916-4a91-b0bf-906a9c9a5341",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "46189692-e48c-40e1-8d3a-48276a2c417a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e8b08189-849b-414a-83c1-9f96295da5bb",
"CreateDate": "2025-12-30T08:50:11.3376647-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:50:11.3376647-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cb4f27d1-be57-41fa-ada1-5a9a67f7ea55",
"FieldId": "115c83c2-d770-4456-8274-c8f143a2342b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cb4f27d1-be57-41fa-ada1-5a9a67f7ea55",
"FieldId": "115c83c2-d770-4456-8274-c8f143a2342b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ffb43580-f449-4698-a173-6f0f3763aeb3",
"CreateDate": "2025-12-30T08:50:11.3376647-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:50:11.3376647-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}