Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Error attempting to obtain valueslist

mcastrigno
Contributor III

I attempted the call listed here for the flat valueslistids

https://help.archerirm.cloud/platform_614/en-us/content/platform/api_restapi/segmentsresources/metadata_values_list.htm

--header 'Content-Type: application/json' \
--header 'Authorization: Archer session-id=REDACTED' \
--header 'X-Http-Method-Override: Get' \
--data ''
 
but got this error message:
{
    "Message": "The request is invalid.",
    "MessageDetail": "The parameters dictionary contains a null entry for parameter 'valuesListId' of non-nullable type 'System.Int32' for method 'System.Collections.Generic.IEnumerable`1[ArcherTech.Common.Domain.Result.WebApiRequestResult`1[ArcherTech.Common.Domain.ValuesListValueDefinition]] GetFlat(Int32)' in 'ArcherApi.Controllers.System.ValuesListValueController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter."
}

What did I do incorectly?

0 REPLIES 0