Skip to content

Passing Multiple GUIDs in Query String as List Parameter #1446

Closed
@abhinavchauhan12

Description

@abhinavchauhan12

I have a attribute List<Guid> Ids; in my resource . How to pass the Ids in filter[Ids] such that I could retrieve my Ids from query layer ?

Because , I have used the below endpoint :-
https://localhost:7004/test/?filter[Ids]=d06eb7db-43ff-4c47-8714-f364bcc07e0b,6c23191b-48cb-4e9a-bcad-2783105898fe
but faced the below error :-

"status": "400",
            "title": "The specified filter is invalid.",
            "detail": "Failed to convert 'd06eb7db-43ff-4c47-8714-f364bcc07e0b' of type 'String' to type 'List`1'.",
            "source": {
                "parameter": "filter[Ids]"
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions