This is the JSON for the example and can be added to the API hooks in the Portal.

Service Url needs to be a public accessible endpoint, in this case it is exposed with a authorization token "abc1234"


{
  "id": "112126-4957-43d8-971212e2-04b06a1369ad",
  "name": "US Brewery Lookup",
  "requestinfo": {
    "serviceurl": "https://apihookskeleton20230507080329.azurewebsites.net/",
    "secret": "abc1234",
    "timeout": 3000
  },
  "endpoints": [
    {
      "id": "ccc7222-74c6-4b5b-b180-862dfdbf1234",
      "name": "Search brewery by name",
      "endpoint": "api/Search",
      "apiendpointtype": 0,
      "inputparameters": [
        {
          "name": "search",
          "required": true,
          "description": "Name",
          "schema": {
            "type": 1,
            "minimum": 3,
            "maximum": 99
          }
        }
      ],
      "sampleurl": "?search=draftersample",
      "nextendpoint": "api/GetBrewery",
      "nextendpointdatavalue": "id",
      "selectorfields": "name;city"
    }
  ]
} 