EMUN1 ASP.NET

<back to all web services

InsertProspectRDB

Requires Authentication
Required role:Administrator
ProspectRDB Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
SalesRepIdformstringNo
NameformstringNo
PhoneformstringNo
EmailformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
BestCallTimeformstringNo
ProspectStatusformstringNo
ProspectSourceformstringNo
ProspectRankingformstringNo
ModifiedformboolNo
UploadedformboolNo
CompanyNameformstringNo
NotesformstringNo
StoreTypeIdformstringNo
DateCreatedformDateTimeNo
VendorIDsformstringNo
ConvertedToCustomerIdformstringNo
QualificationformstringNo
QualificationReasonformstringNo
DateContactedformDateTimeNo
DateConvertedformDateTimeNo
TitleformstringNo
WebsiteformstringNo
PotentialDollarformintNo
CompetitionformstringNo
HotformboolNo
AccountTypeformstringNo
CategoryformstringNo
OrderSourceformstringNo
CountryformstringNo

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: www.bernhardthospitality.com 
Content-Type: text/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>

<InsertProspectRDB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.RestDb">
  <AccountType>String</AccountType>
  <Address1>String</Address1>
  <Address2>String</Address2>
  <BestCallTime>String</BestCallTime>
  <Category>String</Category>
  <City>String</City>
  <CompanyName>String</CompanyName>
  <Competition>String</Competition>
  <ConvertedToCustomerId>String</ConvertedToCustomerId>
  <Country>String</Country>
  <DateContacted>0001-01-01T00:00:00</DateContacted>
  <DateConverted>0001-01-01T00:00:00</DateConverted>
  <DateCreated>0001-01-01T00:00:00</DateCreated>
  <Email>String</Email>
  <Hot>false</Hot>
  <Id>String</Id>
  <Modified>false</Modified>
  <Name>String</Name>
  <Notes>String</Notes>
  <OrderSource>String</OrderSource>
  <Phone>String</Phone>
  <PotentialDollar>0</PotentialDollar>
  <ProspectRanking>String</ProspectRanking>
  <ProspectSource>String</ProspectSource>
  <ProspectStatus>String</ProspectStatus>
  <Qualification>String</Qualification>
  <QualificationReason>String</QualificationReason>
  <SalesRepId>String</SalesRepId>
  <State>String</State>
  <StoreTypeId>String</StoreTypeId>
  <Title>String</Title>
  <Uploaded>false</Uploaded>
  <VendorIDs>String</VendorIDs>
  <Website>String</Website>
  <Zip>String</Zip>
</InsertProspectRDB>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</long>

    </soap12:Body>
</soap12:Envelope>