EMUN1 ASP.NET

<back to all web services

InsertProspectRDB

Requires Authentication
Required role:Administrator
The following routes are available for this service:
All Verbs/service/InsertProspectRDB
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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /service/InsertProspectRDB HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"id":"String","salesRepId":"String","name":"String","phone":"String","email":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","bestCallTime":"String","prospectStatus":"String","prospectSource":"String","prospectRanking":"String","modified":false,"uploaded":false,"companyName":"String","notes":"String","storeTypeId":"String","dateCreated":"0001-01-01T00:00:00.0000000Z","vendorIDs":"String","convertedToCustomerId":"String","qualification":"String","qualificationReason":"String","dateContacted":"0001-01-01T00:00:00.0000000Z","dateConverted":"0001-01-01T00:00:00.0000000Z","title":"String","website":"String","potentialDollar":0,"competition":"String","hot":false,"accountType":"String","category":"String","orderSource":"String","country":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

0