Route: /api/v2/autocomplete/recipient/
Method: POST
This route sends a request to the backend to retrieve recipient names or DUNS matching the specified search text.
{
"search_text": "test",
"limit": 10
}
search_text
- required - a string that contains the search term(s) on which to search for the recipient name or DUNSlimit
- optional - an integer representing the number of desired entries per budget title type. It can be an integer or a string representation of an integer. Defaults to 10.
{
"results": {
[
{
"legal_entity_id": 1,
"recipient_name": "COMMERCIAL TESTING LABORATORY, INC",
"recipient_unique_id": "123456789"
}
...
]
}
}
Possible HTTP Status Codes:
- 400 : Missing parameters or limit is not a valid, positive integer
- 500 : All other errors
{
"message": "Sample error message"
}