POST/api/v1/entity/sources/search

Search Sources

POST/api/v1/entity/sources/search

Parameter Details

NameInTypeRequiredDescription
bodybodyentityReqRequirednone

Responses

StatusMeaningDescriptionSchema
200OKSuccessschemaentityresp
400Bad RequestRequest data failed validation(s)
401UnauthorizedAuthentication Failed!
429Too Many RequestsToo Many Requests.
500Internal Server ErrorInternal Server Error

Example Request

# You can also use wget
curl -X POST /api/v1/entity/sources/search \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: API_KEY'

Body parameter

{
  "searchTerm": "Airline",
  "channel": "Direct"
}

Example responses

200 Response
{
  "error": false,
  "searchTerm": "Airline",
  "matchingSources": [
    {
      "_id": "64ae65cfd06e77f95bfefe55",
      "source": "Aegean Airlines",
      "code": 226,
      "status": 1,
      "channel": "Direct",
      "vertical": "flightrates",
      "isActiveStatus": true,
      "userAirlineCode": 112,
      "id": "640aca5b56f99935b4c9deb2"
    }
  ],
  "channel": "Direct"
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.