Required role: | REGISUserRole |
POST | /DynamicsCRM/Lead/Search |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
guid | form | string | No | |
first_name | form | string | No | |
last_name | form | string | No | |
middle_name | form | string | No | |
preferred_name | form | string | No | |
former_name | form | string | No | |
prefix | form | string | No | |
spouse_name | form | string | No | |
addr1 | form | string | No | |
addr2 | form | string | No | |
city | form | string | No | |
state | form | string | No | |
country | form | string | No | |
code | form | string | No | |
citizenship | form | string | No | |
citizenship_other | form | string | No | |
permanent_resident | form | string | No | |
dob | form | DateTime? | No | |
denomination | form | string | No | |
gender | form | string | No | |
marital_status | form | string | No | |
send_admissions_marketing_materials | form | bool | No | |
form | string | No | ||
email_secondary | form | string | No | |
phone_home | form | string | No | |
phone_bus | form | string | No | |
phone_cell | form | string | No | |
added_by | form | string | No | |
added_date | form | DateTime? | No | |
changed_by | form | string | No | |
changed_date | form | DateTime? | No | |
owner_full_name | 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 /DynamicsCRM/Lead/Search HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
email: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }, guid: String, first_name: String, last_name: String, middle_name: String, preferred_name: String, former_name: String, prefix: String, spouse_name: String, addr1: String, addr2: String, city: String, state: String, country: String, code: String, citizenship: String, citizenship_other: String, permanent_resident: String, dob: 0001-01-01, denomination: String, gender: String, marital_status: String, send_admissions_marketing_materials: False, email: String, email_secondary: String, phone_home: String, phone_bus: String, phone_cell: String, added_by: String, added_date: 0001-01-01, changed_by: String, changed_date: 0001-01-01, owner_full_name: String }