GET v1/tmp?term={term}&customErrMsg={customErrMsg}
Search for all TMP records within current user's company whose name matches the term passed in
Request Information
URI Parameters
| Name | Description | Type |
|---|---|---|
| term |
word being searched for |
string |
| customErrMsg |
true/false if the custom error message for the results is needed |
boolean |
Body Parameters
No parameters.
Response Information
Response Codes
| Status Code | Description |
|---|---|
| 200 |
OK
Array of JSON objects for matched users if custom errors is not required. An object that contains if the search was succesful, the custom message and the search results if custom errors is needed |
| 400 |
BadRequest
term passed in is invalid |
Resource Description
An array of JSON objects containing the matched records. Note that this returns a 200 OK with an empty array if there's no matches
No parameters.
Response Formats
application/json, text/json
Sample:
Sample not available.