Query Contacts with Abbreviated Details
POST {{baseUrl}}/api/Contact/Query?skip=<integer>&take=<integer>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
skip | string | The number of records to skip. Default = 0. | |
take | string | The number of records to take. Default = 10. Max is 1000. |
Request Body
{"queryLocation"=>{"topLatitude"=>"<double>", "leftLongitude"=>"<double>", "bottomLatitude"=>"<double>", "rightLongitude"=>"<double>"}, "groups"=>[{"conditions"=>[{"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}, {"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}]}, {"conditions"=>[{"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}, {"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}]}], "sortBy"=>"<string>", "descending"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"list":[{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","contactType":"\u003cstring\u003e","contactName":"\u003cstring\u003e","address":"\u003cstring\u003e","email":"\u003cstring\u003e","phone":"\u003cstring\u003e","contactViewUrl":"\u003cstring\u003e"},{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","contactType":"\u003cstring\u003e","contactName":"\u003cstring\u003e","address":"\u003cstring\u003e","email":"\u003cstring\u003e","phone":"\u003cstring\u003e","contactViewUrl":"\u003cstring\u003e"}],"total":"\u003cinteger\u003e"}