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 .jsv suffix or ?format=jsv

HTTP + JSV

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.bernhardt.com 
Accept: text/jsv
Content-Type: text/jsv
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-01,
	salesRepID: String,
	storeType: String,
	hot: False,
	tags: 
	{
		String: 
		[
			String
		]
	}
}