Page tree
Skip to end of metadata
Go to start of metadata

This function can be used to search for articles in your handbook. It supports pagination. 

If you want to link the result back to the handbook, here is the recipe to how the url's should look like:

Example of complete link when using multiuser:

You need to build the link to the article like this:

  • https://
  • The url from the search result (SearchResult.Url)
  • /SecureLogin.itas?
  • The customers direct login key, eg. LIS=x0pHD91VdxB4KqLO2lLrtaIsSmEZD0FTTNUaGT9HTvgaMKpksoaPGg%3d%3d
  • &Returl=
  • http:// or https:// and url from the search result (SearchResult.Url)
  • /content/readbyid/
  • the ContextId from the search result (SearchHit.ContextId)

Result should look something like this: 

http://stage.phb.no/SecureLogin.itas?LIS=x0pHD91VdxB4KqLO2lLrtaIsSmEZD0FTTNUaGT9HTvgaMKpksoaPGg%3d%3d&returl=http://stage.phb.no/content/readbyid/100103


Example of complete link when using single users:

  • https://
  • The url from the search result (SearchResult.Url)
  • /content/readbyid/
  • the ContextId from the search result (SearchHit.ContextId)

The url should look something like this:

http://stage.phb.no/content/readbyid/100103

Parameters
NameTypeDescription
SoapHeaderServiceAuthenticateSoapHeaderExternalUserThe authenticationheader described above
searchQuerystringThe string to search for
itemsOnPageCountintThe number of results to return for each page (default is 10)
pageNointThe page you want to return (default to 1, the first page), result 11-20 is page 2, given the previous parameter
ReturnsDTO.SearchResultThe result object. Description below

Return objects

DTO.SearchResult

PropertiesType
Urlstring
Titlestring
HitsCollection of DTO.SearchHit
HitCountint
PageCountint

DTO.SearchHit

PropertiesType
Idint
HitNumberint
Namestring
Extractstring
  • No labels