POST api/SalesMktProspect/SearchProspect

Request Information

URI Parameters

None.

Body Parameters

SDSearchQueryData
NameDescriptionTypeAdditional information
SearchField

string

None.

SearchCriteria

string

None.

SearchValue

string

None.

AccountId

integer

None.

CompanyId

string

None.

IsProspectLocation

boolean

None.

IncludeInactive

boolean

None.

IsActive

boolean

None.

Limit

integer

None.

Offset

integer

None.

SortBy

string

None.

OrderBy

string

None.

ServiceType

Collection of string

None.

ActionType

string

None.

PageNumber

integer

None.

PageSize

integer

None.

SortField

string

None.

SortDirection

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchField": "sample string 1",
  "SearchCriteria": "sample string 2",
  "SearchValue": "sample string 3",
  "AccountId": 4,
  "CompanyId": "sample string 5",
  "IsProspectLocation": true,
  "IncludeInactive": true,
  "IsActive": true,
  "Limit": 6,
  "Offset": 7,
  "SortBy": "sample string 8",
  "OrderBy": "sample string 9",
  "ServiceType": [
    "sample string 1",
    "sample string 2"
  ],
  "ActionType": "sample string 10",
  "PageNumber": 11,
  "PageSize": 12,
  "SortField": "sample string 13",
  "SortDirection": "sample string 14"
}

application/xml, text/xml

Sample:
<SDSearchQueryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
  <AccountId>4</AccountId>
  <ActionType>sample string 10</ActionType>
  <CompanyId>sample string 5</CompanyId>
  <IncludeInactive>true</IncludeInactive>
  <IsActive>true</IsActive>
  <IsProspectLocation>true</IsProspectLocation>
  <Limit>6</Limit>
  <Offset>7</Offset>
  <OrderBy>sample string 9</OrderBy>
  <PageNumber>11</PageNumber>
  <PageSize>12</PageSize>
  <SearchCriteria>sample string 2</SearchCriteria>
  <SearchField>sample string 1</SearchField>
  <SearchValue>sample string 3</SearchValue>
  <ServiceType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ServiceType>
  <SortBy>sample string 8</SortBy>
  <SortDirection>sample string 14</SortDirection>
  <SortField>sample string 13</SortField>
</SDSearchQueryData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SMProspectSearchResult
NameDescriptionTypeAdditional information
ARCustomerMasterEntity

ARCustomerMaster

None.

ARCustomerMasterId

string

None.

ARCustomerMaster

ARCustomerMaster

None.

ARStatus

ARStatus

None.

CompanyName

string

None.

FirstName

string

None.

LastName

string

None.

Address1

string

None.

Address2

string

None.

Country

string

None.

ZipCode

string

None.

Email

string

None.

Website

string

None.

PhoneNumber

string

None.

Fax

string

None.

DoNotCall

boolean

None.

DoNotEmail

boolean

None.

UpdatedBy

string

None.

UpdatedOn

date

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.