icardos


Click here for a complete list of operations.

Cpart_GetSearchResults

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/icardos.asmx HTTP/1.1
Host: restless.homeless.co.il
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://homeless.co.il/WebServices/Cpart_GetSearchResults"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Cpart_GetSearchResults xmlns="http://homeless.co.il/WebServices/">
      <boardName>string</boardName>
      <page>int</page>
      <pvalues>
        <ParameterValue>
          <id>string</id>
          <value>string</value>
        </ParameterValue>
        <ParameterValue>
          <id>string</id>
          <value>string</value>
        </ParameterValue>
      </pvalues>
    </Cpart_GetSearchResults>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Cpart_GetSearchResultsResponse xmlns="http://homeless.co.il/WebServices/">
      <Cpart_GetSearchResultsResult>
        <TotalRows>int</TotalRows>
        <Description>string</Description>
        <Ads>
          <SearchResultAd>
            <ID>int</ID>
            <Title>string</Title>
            <SubTitle>string</SubTitle>
            <Description>string</Description>
            <DescSplitPattern>string</DescSplitPattern>
            <Image>string</Image>
            <Longitude>string</Longitude>
            <Latitude>string</Latitude>
            <BoardName>string</BoardName>
            <DatePublished>dateTime</DatePublished>
            <Mode>Bold or Light or Regular</Mode>
            <Phone>string</Phone>
            <Address>string</Address>
            <WebSite>string</WebSite>
            <MainDomain>string</MainDomain>
            <SubDomain>string</SubDomain>
          </SearchResultAd>
          <SearchResultAd>
            <ID>int</ID>
            <Title>string</Title>
            <SubTitle>string</SubTitle>
            <Description>string</Description>
            <DescSplitPattern>string</DescSplitPattern>
            <Image>string</Image>
            <Longitude>string</Longitude>
            <Latitude>string</Latitude>
            <BoardName>string</BoardName>
            <DatePublished>dateTime</DatePublished>
            <Mode>Bold or Light or Regular</Mode>
            <Phone>string</Phone>
            <Address>string</Address>
            <WebSite>string</WebSite>
            <MainDomain>string</MainDomain>
            <SubDomain>string</SubDomain>
          </SearchResultAd>
        </Ads>
        <SEOTitle>string</SEOTitle>
        <SEODescription>string</SEODescription>
      </Cpart_GetSearchResultsResult>
    </Cpart_GetSearchResultsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/icardos.asmx HTTP/1.1
Host: restless.homeless.co.il
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Cpart_GetSearchResults xmlns="http://homeless.co.il/WebServices/">
      <boardName>string</boardName>
      <page>int</page>
      <pvalues>
        <ParameterValue>
          <id>string</id>
          <value>string</value>
        </ParameterValue>
        <ParameterValue>
          <id>string</id>
          <value>string</value>
        </ParameterValue>
      </pvalues>
    </Cpart_GetSearchResults>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Cpart_GetSearchResultsResponse xmlns="http://homeless.co.il/WebServices/">
      <Cpart_GetSearchResultsResult>
        <TotalRows>int</TotalRows>
        <Description>string</Description>
        <Ads>
          <SearchResultAd>
            <ID>int</ID>
            <Title>string</Title>
            <SubTitle>string</SubTitle>
            <Description>string</Description>
            <DescSplitPattern>string</DescSplitPattern>
            <Image>string</Image>
            <Longitude>string</Longitude>
            <Latitude>string</Latitude>
            <BoardName>string</BoardName>
            <DatePublished>dateTime</DatePublished>
            <Mode>Bold or Light or Regular</Mode>
            <Phone>string</Phone>
            <Address>string</Address>
            <WebSite>string</WebSite>
            <MainDomain>string</MainDomain>
            <SubDomain>string</SubDomain>
          </SearchResultAd>
          <SearchResultAd>
            <ID>int</ID>
            <Title>string</Title>
            <SubTitle>string</SubTitle>
            <Description>string</Description>
            <DescSplitPattern>string</DescSplitPattern>
            <Image>string</Image>
            <Longitude>string</Longitude>
            <Latitude>string</Latitude>
            <BoardName>string</BoardName>
            <DatePublished>dateTime</DatePublished>
            <Mode>Bold or Light or Regular</Mode>
            <Phone>string</Phone>
            <Address>string</Address>
            <WebSite>string</WebSite>
            <MainDomain>string</MainDomain>
            <SubDomain>string</SubDomain>
          </SearchResultAd>
        </Ads>
        <SEOTitle>string</SEOTitle>
        <SEODescription>string</SEODescription>
      </Cpart_GetSearchResultsResult>
    </Cpart_GetSearchResultsResponse>
  </soap12:Body>
</soap12:Envelope>