GET api/search/{searchId}/history Authentication required

Use this method to get the modifications submitted for a search

Request

URI Parameters

NameDescriptionTypeAdditional information
searchId

Id of the search

integer

Required

Response

Returns the list of modifications

Output : array of objects (See Model)

Ouput Sample

  • application/json, text/json :
  • [ { "number": 1, "filtersAsJSON": "sample string 2", "createdAt": "sample string 3", "countsAsJSON": "sample string 4", "totalRecord": 5, "duration": 6 }, { "number": 1, "filtersAsJSON": "sample string 2", "createdAt": "sample string 3", "countsAsJSON": "sample string 4", "totalRecord": 5, "duration": 6 } ]
  • application/xml, text/xml :
  • <ArrayOfSearchModification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kapitol.Registered.API.Models"> <SearchModification> <CountsAsJSON>sample string 4</CountsAsJSON> <CreatedAt>sample string 3</CreatedAt> <Duration>6</Duration> <FiltersAsJSON>sample string 2</FiltersAsJSON> <Number>1</Number> <TotalRecord>5</TotalRecord> </SearchModification> <SearchModification> <CountsAsJSON>sample string 4</CountsAsJSON> <CreatedAt>sample string 3</CreatedAt> <Duration>6</Duration> <FiltersAsJSON>sample string 2</FiltersAsJSON> <Number>1</Number> <TotalRecord>5</TotalRecord> </SearchModification> </ArrayOfSearchModification>