GET api/v1/Search/GetRequest/{id}

Pobierz stan i dane o zleconym wcześniej wyszukaniu

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

RequestResult
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Query

string

None.

State

SearchStatus

None.

Result

SearchResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "71bdb5a5-1c03-4345-a341-bbb27ee82488",
  "Query": "sample string 2",
  "State": "Unknown",
  "Result": {
    "WebSite": [
      "sample string 1",
      "sample string 2"
    ],
    "NIP": "sample string 1",
    "KRS": "sample string 2",
    "Name": "sample string 3",
    "Rating": 4.0,
    "Address": {
      "Street": "sample string 1",
      "ZipCode": "sample string 2",
      "City": "sample string 3",
      "ZipCodeCity": "sample string 2 sample string 3"
    },
    "Allegro": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "Ceneo": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "Opineo": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "OpiniaFirm": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "GoldenLine": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "GoWork": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "Facebook": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "GooglePlus": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ],
    "Twitter": [
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      },
      {
        "Id": "sample string 1",
        "Url": "sample string 2",
        "Rating": 3.0,
        "IsEmpty": true,
        "Created": "2018-11-10T19:33:10.7550472+00:00"
      }
    ]
  }
}

text/html

Sample:
{"Id":"71bdb5a5-1c03-4345-a341-bbb27ee82488","Query":"sample string 2","State":"Unknown","Result":{"WebSite":["sample string 1","sample string 2"],"NIP":"sample string 1","KRS":"sample string 2","Name":"sample string 3","Rating":4.0,"Address":{"Street":"sample string 1","ZipCode":"sample string 2","City":"sample string 3","ZipCodeCity":"sample string 2 sample string 3"},"Allegro":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"Ceneo":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"Opineo":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"OpiniaFirm":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"GoldenLine":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"GoWork":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"Facebook":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"GooglePlus":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}],"Twitter":[{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"},{"Id":"sample string 1","Url":"sample string 2","Rating":3.0,"IsEmpty":true,"Created":"2018-11-10T19:33:10.7550472+00:00"}]}}

application/xml, text/xml

Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pinki.Api.Models">
  <Id>71bdb5a5-1c03-4345-a341-bbb27ee82488</Id>
  <Query>sample string 2</Query>
  <Result>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Proxy.DTO.Common">
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:Street>sample string 1</d3p1:Street>
      <d3p1:ZipCode>sample string 2</d3p1:ZipCode>
    </Address>
    <Allegro xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:Allegro>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Allegro>
      <d3p1:Allegro>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Allegro>
    </Allegro>
    <Ceneo xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:Ceneo>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Ceneo>
      <d3p1:Ceneo>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Ceneo>
    </Ceneo>
    <Facebook xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:Facebook>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Facebook>
      <d3p1:Facebook>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Facebook>
    </Facebook>
    <GoWork xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:GoWork>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:GoWork>
      <d3p1:GoWork>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:GoWork>
    </GoWork>
    <GoldenLine xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:GoldenLine>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:GoldenLine>
      <d3p1:GoldenLine>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:GoldenLine>
    </GoldenLine>
    <GooglePlus xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:GooglePlus>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:GooglePlus>
      <d3p1:GooglePlus>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:GooglePlus>
    </GooglePlus>
    <KRS>sample string 2</KRS>
    <NIP>sample string 1</NIP>
    <Name>sample string 3</Name>
    <Opineo xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:Opineo>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Opineo>
      <d3p1:Opineo>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Opineo>
    </Opineo>
    <OpiniaFirm xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:OpiniaFirm>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:OpiniaFirm>
      <d3p1:OpiniaFirm>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:OpiniaFirm>
    </OpiniaFirm>
    <Rating>4</Rating>
    <Twitter xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pinki.Api.Models.Profile">
      <d3p1:Twitter>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Twitter>
      <d3p1:Twitter>
        <d3p1:Created>2018-11-10T19:33:10.7550472+00:00</d3p1:Created>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsEmpty>true</d3p1:IsEmpty>
        <d3p1:Rating>3</d3p1:Rating>
        <d3p1:Url>sample string 2</d3p1:Url>
      </d3p1:Twitter>
    </Twitter>
    <WebSite xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </WebSite>
  </Result>
  <State>Unknown</State>
</RequestResult>