Search presidents by keyword
GET
/api/v1/President/search/{keyword}
This endpoint returns a list of presidents any of the following fields(Name, Description, PoliticalParty,LastName) match the provided keyword
Parameters
Path Parameters
keyword*
Typestring
RequiredExample
"Rafael"Responses
Success
application/json
JSON
[
{
"id": 0,
"image": "string",
"name": "string",
"lastName": "string",
"startPeriodDate": "string",
"endPeriodDate": "string",
"politicalParty": "string",
"description": "string",
"cityId": 0,
"city": "[Circular Reference]"
}
]