V16 Upgrade Issue - Rest API not yielding desired results
search cancel

V16 Upgrade Issue - Rest API not yielding desired results

book

Article ID: 234708

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

We have created a custom sub-object to the Project Object and inside the Custom Sub-Object we have a multi-valued lookup attribute.

Until V15.8.1, the Rest API was returning all available values in the Multi-Valued Lookup.

API Response:

 "PrjTskAssRes": {
        "values": [
            {
                "displayValue": "18173044-21229193",
                "id": "18173044-21229193"
            },
            {
                "displayValue": "18173045-21229194",
                "id": "18173045-21229194"
            },
            {
                "displayValue": "18207073-21342702",
                "id": "18207073-21342702"
            },
            {
                "displayValue": "18207077-21402765",
                "id": "18207077-21402765"
            },............................... and so no

 

On V16, the Rest API is returning only the value assigned in the multi-valued lookup field and not all the available values.

 "PrjTskAssRes": {
        "values": [
            {
                "displayValue": "18173044-21229193",
                "id": "18173044-21229193"
            }
        ],
        "_type": "lookup"
    }, 

 

 

 

Environment

Release : 16.0.0

Component : CLARITY XML OPEN GATEWAY (XOG)

Resolution

It was confirmed that by design Rest API will only return selected values for the multi-valued lookup.