# Get Business Endpoint: GET /business/{business_id} Version: v1 Security: x-api-key, A-api-key ## Path parameters: - `business_id` (integer, required) ## Response 200 fields (application/json): - `links` (object) - `links.self` (string) Example: "https://api.pracsuite.com/v1/business/1" - `links.appointment` (string) Example: "https://api.pracsuite.com/v1/business/1/appointment" - `tenant_id` (integer) Example: 1 - `business_id` (integer) Example: 123 - `business_name` (string) - `display_name` (string) - `address_1` (string,null) - `address_2` (string,null) - `address_3` (string,null) - `address_4` (string,null) - `suburb` (string,null) - `address_state` (string,null) - `postcode` (string,null) - `country` (string,null) - `archive` (boolean,null) - `phone` (string,null) - `fax` (string,null) - `email` (string,null) - `website` (string,null) - `appointment_start_time` (string,null) - `appointment_end_time` (string,null) - `registration_number` (string,null) - `registration_type` (string,null) - `short_description` (string,null) - `ndis_registration_number` (string,null) ## Response 400 fields (application/json): - `error` (object, required) - `error.status` (integer, required) Example: 400 - `error.code` (string, required) Example: "INVALID_PARAMS" - `error.title` (string, required) Example: "Invalid Params" - `error.detail` (string) Human readable explanation of the error Example: "One or more request parameters are invalid." - `request_id` (string, required) Example: "00000000-0000-0000-0000-000000000000" ## Response 401 fields (application/json): - `error` (object, required) - `error.status` (integer, required) Example: 403 - `error.code` (string, required) Example: "UNAUTHORIZED" - `error.title` (string, required) Example: "Unauthorised" - `error.detail` (string) Human readable explanation of the error Example: "Access could not be verified for this request." - `request_id` (string, required) Example: "00000000-0000-0000-0000-000000000000" ## Response 403 fields (application/json): - `error` (object, required) - `error.status` (integer, required) Example: 403 - `error.code` (string, required) Example: "MISSING_AUTHENTICATION_TOKEN" - `error.title` (string, required) Example: "Unauthorised" - `error.detail` (string) Human readable explanation of the error Example: "Authentication token is missing or the requested endpoint does not exist" - `request_id` (string, required) Example: "00000000-0000-0000-0000-000000000000" ## Response 404 fields (application/json): - `error` (object, required) - `error.status` (integer, required) Example: 404 - `error.code` (string, required) Example: "NOT_FOUND" - `error.title` (string, required) Example: "Not Found" - `error.detail` (string) Human readable explanation of the error Example: "Could not find {Resource} with ID {ID_HERE}" - `request_id` (string) Example: "00000000-0000-0000-0000-000000000000" ## Response 500 fields (application/json): - `error` (object, required) - `error.status` (integer, required) Example: 500 - `error.code` (string, required) Example: "SERVER_ERROR" - `error.title` (string, required) Example: "Server Error" - `error.detail` (string) Human readable explanation of the error Example: "An unexpected error occurred while processing your request. Please try again in a few minutes. If it keeps happening, contact support with Request ID: 00000000-0000-0000-0000-000000000000." - `request_id` (string, required) Example: "00000000-0000-0000-0000-000000000000"