This entities API enables visitors to the parent organization site to do a search within the child database. With this entities API, visitors are able to search accounts, campaigns, and other forms related to their group of children. This information is able to be accessed, manipulated, and displayed on a webpage in whatever way the parent organization chooses.
Search API
V 1.0
Usage
GET https://wedid.it/api/search/v1/entities?entity_type=ENTITY_TYPE&client_id=CLIENT_ID[&text=TEXT_TO_SEARCH][&zip_code=ZIP_CODE]
Returns: text/json
Format:
[
{
"url": "https://wedid.it/partners/42",
"title": "Super organization",
"description": "Super organization is the best organization to support."
},
{
"url": "...",
"title": "...",
"description": "..."
}
]
API Reference
Required parameters
ENTITY_TYPE = { Client | Campaign | ContactForm }
CLIENT_ID - The ID associated with the organization in question. If searching within all children of a parent org, use the parent org’s ID.
Optional parameters
TEXT_TO_SEARCH - A URL encoded string to search
ZIP_CODE - restrict search to this zip code
Contact devs@wedid.it if you have questions.
Comments