Sending a GET request to the Web API with an array of parameters, e.g .:
GET {{url}}/check?archival=1&ids[0].type=gitid&ids[0].value=123456&ids[1].type=shortid&ids[1].value=d4a
The archival parameter is inserted into the object, the ids list is not.
Query object class looks like this:
public class CheckIdentifiers : IQuery<CheckIdentifiersDto>
{
public IList<Identifier> Ids { get; set; }
public bool Archival { get; set; }
}
public class Identifier
{
public string Type { get; set; }
public string Value { get; set; }
}