Hi Camran,
Here is a small Postman collection you can import …
{
"info": {
"_postman_id": "61886a8a-cd0b-4cf1-89a3-93434900b0e4",
"name": "Service Search API (version 2)",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "222854"
},
"item": [
{
"name": "Search by Place (Manchester)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "subscription-key",
"value": "0407c65368f5447aa3a4d2469e49effd"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"filter\": \"OrganisationTypeId eq 'GPB'\",\n \"select\": \"\",\n \"top\": 50,\n \"skip\": 0,\n \"count\": true\n}"
},
"url": {
"raw": "{{baseURL1}}/service-search/search-postcode-or-place?api-version=2&search=Manchester",
"host": [
"{{baseURL1}}"
],
"path": [
"service-search",
"search-postcode-or-place"
],
"query": [
{
"key": "api-version",
"value": "2"
},
{
"key": "search",
"value": "Manchester"
}
]
}
},
"response": []
},
{
"name": "Search by Geographic Co-ordinates (-2.24527799829848 53.4789416719026)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "subscription-key",
"value": "0407c65368f5447aa3a4d2469e49effd"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"filter\": \"OrganisationTypeId eq 'GPB'\",\n \"orderby\": \"geo.distance(Geocode, geography'POINT(-2.24527799829848 53.4789416719026)')\",\n \"select\": \"\",\n \"top\": 10,\n \"skip\": 0,\n \"count\": true\n}"
},
"url": {
"raw": "{{baseURL1}}/service-search/search?api-version=2",
"host": [
"{{baseURL1}}"
],
"path": [
"service-search",
"search"
],
"query": [
{
"key": "api-version",
"value": "2"
}
]
}
},
"response": []
}
]
}