{"openapi":"3.0.0","info":{"description":"\nThis API will return a collection of Service Areas by Site\n\nThe base endpoint URL for this API in production is: `https://marko.aramark.net/v1`\n\nFor testing the API with the \"Try\" tool on this page or in your app, use either our testing server \"qa-marko\" or our development server \"dev-marko\".\n","version":"1.0.0-oas3","title":"Service Areas"},"security":[{"apiKey":[]}],"tags":[{"name":"Service Areas"}],"paths":{"/service_areas":{"get":{"summary":"Service areas by site ID","description":"\nReturns Service Areas with a given Site ID\n\n![This endpoint is in production](/themes/portal/images/statuspngs/statusprod.png)\n","operationId":"getServiceAreas","tags":["Service Areas"],"parameters":[{"$ref":"#/components/parameters/siteIdParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"responses":{"200":{"description":"List all Service Areas for a Site","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'"},"count":{"type":"string","description":"Number of records returned in request"},"service_sub_locations":{"type":"array","items":{"$ref":"#/components/schemas/service_areas"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}}},"servers":[{"url":"https://qa-marko.aramark.net/v1/service_areas","description":"Testing server"},{"url":"https://dev-marko.aramark.net/v1/service_areas","description":"Development server"}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"apikey","description":"This HTTP Header variable will verify permissions."}},"parameters":{"siteIdParam":{"name":"site_id","in":"query","description":"Unique ID of Site","required":true,"schema":{"type":"string"}},"bypassCacheParam":{"in":"header","name":"bypass-cache","description":"This HTTP Header variable will bypass cache.","schema":{"type":"string","enum":["true","false"],"default":false}},"smokeParam":{"in":"header","name":"smoke","description":"When set to 'true' this HTTP header variable will route the API call to the Integration testing environment. Only applicable in QA.","schema":{"type":"string","default":false}}},"schemas":{"service_areas":{"type":"object","properties":{"service_area_id":{"type":"integer","description":"Unique code for a Service Area, sourced by PRIMA and kept for backwards compatibility, will be DEPRECATED"},"service_area_name":{"type":"string","description":"Service Area descriptive name"},"enabled":{"type":"string","description":"T or F denoting whether or not the service area is enabled"}}}}}}