POST api/osl/v2/search

Request Information

URI Parameters

None.

Body Parameters

OslSearchCriteria
NameDescriptionTypeAdditional information
address1

string

None.

clientIds

Collection of string

None.

email

string

None.

firstName

string

None.

lastName

string

None.

phone

string

None.

postalCode

string

None.

submitId

string

None.

trackingId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "address1": "sample string 1",
  "clientIds": [
    "sample string 1",
    "sample string 2"
  ],
  "email": "sample string 2",
  "firstName": "sample string 3",
  "lastName": "sample string 4",
  "phone": "sample string 5",
  "postalCode": "sample string 6",
  "submitId": "sample string 7",
  "trackingId": "sample string 8"
}

application/xml, text/xml

Sample:
<OslSearchCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YA.Common.SweepStakes.API.Data">
  <address1>sample string 1</address1>
  <clientIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </clientIds>
  <email>sample string 2</email>
  <firstName>sample string 3</firstName>
  <lastName>sample string 4</lastName>
  <phone>sample string 5</phone>
  <postalCode>sample string 6</postalCode>
  <submitId>sample string 7</submitId>
  <trackingId>sample string 8</trackingId>
</OslSearchCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.