User Options JSON structure for REST

Idea ID 2804918

User Options JSON structure for REST

Hi,

In our customer environment, we are transfering created Request in SMAX to the Service Manager for resolving (the project for replacing SM is in the first phase).

We have found out that that selected values of User Options are in the request details in the additional JSON format, which is very hard to transfer into SM for resolver's easy usage. for User options ENTITY_LINK attribute type are visible only ID's of records and for ENUM attribute type only technical name of the list value:

{
"entities": [
{
"entity_type": "Request",
"properties": {
"UserOptions": "{\"complexTypeProperties\":[{\"properties\":{\"DynamicComplexTypeRefName_c\":\"UserOption558fe9213ba016345da1d69d43027f79dcc4_c\",\"LaptopModel_c\":\"11132\",\"OSType_c\":\"Mainframe\",\"OrderLaptop_c\":true}}]}",
"Description": "<p>dfsgy</p>",
"LastUpdateTime": 1591982216001,
"Id": "87561"
}

Would be great, if Admin can get additional information for User Options, especially ENTITY_LINK type (Display Label, SubType, etc) and to get User Options in the JSON format of Request as details of linked attributes (e.g. Requested for Person):

{
"entities": [
{
"entity_type": "Request",
"properties": {
"Description": "<p>dfsgy</p>",
"LastUpdateTime": 1591982216001,
"Id": "87561"
},
"related_properties": {
"RequestedForPerson": {
"Email": "**PERSONAL INFORMATION REMOVED**",
"FirstName": "User",
"Id": "16345",
"LastName": "User"
}
}
}

1 Comment
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
Status changed to: Waiting for Votes

Thank you for sharing your idea! It’s open for comments and kudos, and we’re looking forward to input from the community. Once there is enough community traction, it will be further reviewed by the product team.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.