Food Hygiene Rating API Version 2 Resource Detail
GET BusinessTypes/{id}
Returns details of a single business type, selected by Id.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | The target BusinessType Id. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{ "BusinessTypeId": 1, "BusinessTypeName": "sample string 2", "links": [ { "rel": "sample string 1", "href": "sample string 2" }, { "rel": "sample string 1", "href": "sample string 2" } ] }
application/xml, text/xml
Sample:
<businessType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FHRS.Model.Basic"> <links xmlns="http://schemas.datacontract.org/2004/07/FHRS.Model.MetaLinks"> <link> <href>sample string 2</href> <rel>sample string 1</rel> </link> <link> <href>sample string 2</href> <rel>sample string 1</rel> </link> </links> <BusinessTypeId>1</BusinessTypeId> <BusinessTypeName>sample string 2</BusinessTypeName> </businessType>
application/x-www-form-urlencoded
Sample:
Sample not available.