Required role: | Administrator |
All Verbs | /service/UpdateProspectRDB |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
SalesRepId | form | string | No | |
Name | form | string | No | |
Phone | form | string | No | |
form | string | No | ||
Address1 | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Zip | form | string | No | |
BestCallTime | form | string | No | |
ProspectStatus | form | string | No | |
ProspectSource | form | string | No | |
ProspectRanking | form | string | No | |
Modified | form | bool | No | |
Uploaded | form | bool | No | |
CompanyName | form | string | No | |
Notes | form | string | No | |
StoreTypeId | form | string | No | |
DateCreated | form | DateTime | No | |
VendorIDs | form | string | No | |
ConvertedToCustomerId | form | string | No | |
Qualification | form | string | No | |
QualificationReason | form | string | No | |
DateContacted | form | DateTime | No | |
DateConverted | form | DateTime | No | |
Title | form | string | No | |
Website | form | string | No | |
PotentialDollar | form | int | No | |
Competition | form | string | No | |
Hot | form | bool | No | |
AccountType | form | string | No | |
Category | form | string | No | |
OrderSource | form | string | No | |
Country | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/UpdateProspectRDB HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/jsv
Content-Type: text/jsv
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-01,
vendorIDs: String,
convertedToCustomerId: String,
qualification: String,
qualificationReason: String,
dateContacted: 0001-01-01,
dateConverted: 0001-01-01,
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/jsv Content-Length: length 0