TeleportService

<back to all web services

Catalog_Search

Requires Authentication
The following routes are available for this service:
POST, GET/Catalog_Search
Catalog_Search Parameters:
NameParameterData TypeRequiredDescription
ContactbodystringNo
PhrasesbodyList<string>No
MaxResultsbodyintNoDefault = 10, Max = 100
CatalogSearchResponse Parameters:
NameParameterData TypeRequiredDescription
SearchResultformList<CatalogSearchDto>No
errCodeformintNo
ResponseStatusformResponseStatusNo
CatalogSearchDto Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ArticleformstringNo
DescriptionformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Catalog_Search HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Contact":"String","Phrases":["String"],"MaxResults":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"SearchResult":[{"Id":"String","Article":"String","Description":"String"}],"errCode":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}