EMUN1 ASP.NET

<back to all web services

RemoteCreateProspect

The following routes are available for this service:
All Verbs/service/Remote/CreateProspect
RemoteCreateProspect Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
CompanyNamequerystringNo
NamequerystringNo
AddressquerystringNo
Address2querystringNo
CityquerystringNo
StatequerystringNo
ZipquerystringNo
PhonequerystringNo
StatusquerystringNo
SourcequerystringNo
RankingquerystringNo
NotesquerystringNo
EmailquerystringNo
WebsitequerystringNo
MetaqueryDictionary<string, string>No
CreatedOnqueryDateTimeNo
SalesRepIDquerystringNo
StoreTypequerystringNo
HotqueryboolNo
TagsqueryDictionary<string, HashSet<String>>No

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/Remote/CreateProspect HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"id":"String","companyName":"String","name":"String","address":"String","address2":"String","city":"String","state":"String","zip":"String","phone":"String","status":"String","source":"String","ranking":"String","notes":"String","email":"String","website":"String","meta":{"String":"String"},"createdOn":"0001-01-01T00:00:00.0000000Z","salesRepID":"String","storeType":"String","hot":false,"tags":{"String":["String"]}}