List Address Suggestions
Beta/v1/core/addresses/suggestionsThis endpoint is idempotent. Learn more
Returns address suggestions for partial address text, for use in type-ahead address entry.
Only street addresses are suggested; cities, regions, and business listings are not returned. Suggestions are lookup results, not saved addresses in your account. Pass a suggestion's id to the address details endpoint to get the full parsed address.
inputstringPartial address text to generate suggestions for.
session_tokenoptional stringOpaque token that groups a series of related autocomplete requests into a single session.
Reuse the same token for each keystroke of one address entry, and again when you retrieve the details of the suggestion the user picks, so the whole entry is treated as one lookup.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of address_suggestionResources in this page.
idstringIdentifier of the suggested place.
Pass this value as the id path parameter of the address details endpoint to retrieve the full parsed address. It is issued by the underlying address provider rather than by OpenMRP, so it is not a durable OpenMRP resource ID.
objectstringenumValues:address_suggestionResource type identifier.
descriptionstringFull description of the address.
main_textstringMain text (typically the street address).
secondary_textstringSecondary text (typically city, state, country).
Responses
Successful response for List Address Suggestions