Every API here is available over the APIs.io API and to AI agents over MCP.
{"openapi":"3.0.0","info":{"description":"These APIs will return a collection of organizations based on a user's profile security\n\n__The base endpoint URL for this API in production is:__ `https://marko.aramark.net/v1/profile/user`.\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":"Profile"},"tags":[{"name":"Role","description":"This API will return a list of Role Levels to which a user is mapped"},{"name":"Profit Centers","description":"This API will return a list of Aramark Profit Centers to which a user is mapped"},{"name":"Districts","description":"This API will return a list of Aramark Districts to which a user is mapped"},{"name":"Regions","description":"This API will return a list of Aramark Regions to which a user is mapped"},{"name":"Clients","description":"This API will return a list of Clients to which a user is mapped"},{"name":"Locations","description":"This API will return a list of Aramark Locations to which a user is mapped for a specific App"},{"name":"Hierarchy","description":"This API will return a Hierarchical list of Aramark Organizations to which a user is mapped"}],"security":[{"apiKey":[]}],"paths":{"/my_role":{"get":{"summary":"User roles","description":"Return a collection of Roles to which a user is mapped\n\n\n","operationId":"getMyRole","parameters":[{"$ref":"#/components/parameters/userIdParam"},{"$ref":"#/components/parameters/searchParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"tags":["Role"],"responses":{"200":{"description":"Roles to which a user is mapped.","content":{"*/*":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success' or 'Error'","default":"Success"},"count":{"type":"string","description":"Number of records returned in request"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/roles"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/my_hierarchy":{"get":{"summary":"User Hierarchy","description":"Return a Hierarchical collection of organizations to which a user is mapped\n\n\n","operationId":"getMyHierarchy","parameters":[{"$ref":"#/components/parameters/userIdNoReqParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"tags":["Hierarchy"],"responses":{"200":{"description":"Hierarchical organizations to which a user is mapped.","content":{"*/*":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success' or 'Error'","default":"Success"},"count":{"type":"string","description":"Number of records returned in request"},"page":{"type":"string","description":"Page number of result set","default":"1"},"size":{"type":"string","description":"Number of records returned with the result set","default":"50"},"user_hierarchy":{"type":"array","items":{"$ref":"#/components/schemas/user_hierarchy"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/my_profit_centers":{"get":{"summary":"User profit centers","description":"Return a collection of Profit Centers to which a user is mapped\n\n\n","operationId":"getMyProfitCenters","parameters":[{"$ref":"#/components/parameters/userIdParam"},{"$ref":"#/components/parameters/searchParam"},{"$ref":"#/components/parameters/segmentCategoryParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/sizeParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"tags":["Profit Centers"],"responses":{"200":{"description":"List Profit Center to which a User is mapped.","content":{"*/*":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success' or 'Error'","default":"Success"},"count":{"type":"string","description":"Number of records returned in request"},"page":{"type":"string","description":"Page number of result set","default":"1"},"size":{"type":"string","description":"Number of records returned with the result set","default":"50"},"profit_centers":{"type":"array","items":{"$ref":"#/components/schemas/profit_centers"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/my_districts":{"get":{"summary":"User districts","description":"Return a collection of districts to which a user is mapped\n\n\n","operationId":"getMyDistricts","parameters":[{"$ref":"#/components/parameters/userIdParam"},{"$ref":"#/components/parameters/searchParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/sizeParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"tags":["Districts"],"responses":{"200":{"description":"List Districts to which a User is mapped.","content":{"*/*":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success' or 'Error'","default":"Success"},"count":{"type":"string","description":"Number of records returned in request"},"page":{"type":"string","description":"Page number of result set","default":"1"},"size":{"type":"string","description":"Number of records returned with the result set","default":"50"},"districts":{"type":"array","items":{"$ref":"#/components/schemas/districts"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/my_regions":{"get":{"summary":"User regions","description":"Return a collection of regions to which a user is mapped\n\n\n","operationId":"getMyRegions","parameters":[{"$ref":"#/components/parameters/userIdParam"},{"$ref":"#/components/parameters/searchParam"},{"$ref":"#/components/parameters/segmentCategoryParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/sizeParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"tags":["Regions"],"responses":{"200":{"description":"List all Regions.","content":{"*/*":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success' or 'Error'","default":"Success"},"count":{"type":"string","description":"Number of records returned in request"},"page":{"type":"string","description":"Page number of result set","default":"1"},"size":{"type":"string","description":"Number of records returned with the result set","default":"50"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/regions"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/my_locations":{"get":{"summary":"User Locations","description":"Return a collection of Locations to which a user is mapped for a specific App\n\n\n","operationId":"getMyLocations","parameters":[{"$ref":"#/components/parameters/userIdParam"},{"$ref":"#/components/parameters/appParam"},{"$ref":"#/components/parameters/searchParam"},{"$ref":"#/components/parameters/segmentCategoryParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/sizeParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"tags":["Locations"],"responses":{"200":{"description":"List User Locations mappings for a specific app","content":{"*/*":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success' or 'Error'","default":"Success"},"count":{"type":"string","description":"Number of records returned in request"},"page":{"type":"string","description":"Page number of result set","default":"1"},"size":{"type":"string","description":"Number of records returned with the result set","default":"50"},"locations":{"type":"array","items":{"$ref":"#/components/schemas/locations"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/my_clients":{"get":{"summary":"User clients","description":"Return a collection of Clients to which a user is mapped\n\n\n","operationId":"getMyClients","parameters":[{"$ref":"#/components/parameters/userIdParam"},{"$ref":"#/components/parameters/searchParam"},{"$ref":"#/components/parameters/segmentCategoryParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/sizeParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"tags":["Clients"],"responses":{"200":{"description":"List all Clients.","content":{"*/*":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success' or 'Error'","default":"Success"},"count":{"type":"string","description":"Number of records returned in request"},"page":{"type":"string","description":"Page number of result set","default":"1"},"size":{"type":"string","description":"Number of records returned with the result set","default":"50"},"clients":{"type":"array","items":{"$ref":"#/components/schemas/clients"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}}},"servers":[{"url":"https://qa-marko.aramark.net/v1/profile/user","description":"Testing server"},{"url":"https://dev-marko.aramark.net/v1/profile/user","description":"Development server"}],"components":{"parameters":{"userIdParam":{"name":"user_id","in":"query","description":"Email address of user","required":true,"schema":{"type":"string","default":"last-first@aramark.com"}},"userIdNoReqParam":{"name":"user_id","in":"query","description":"Email address of the user","required":false,"schema":{"type":"string"}},"appParam":{"name":"app","in":"query","description":"App to get user mappings for","required":true,"schema":{"type":"string","enum":["MySecurity","marketPro"],"default":"MySecurity"}},"searchParam":{"name":"search","in":"query","description":"Search string to find Organizations","required":false,"schema":{"type":"string"}},"segmentCategoryParam":{"name":"segment_category","in":"query","description":"Identifier of different financial groupings","required":false,"schema":{"type":"string","enum":["OPERATIONAL","OVERHEAD","NVD","LOST","ALL","ALL_CLOSED"],"default":"OPERATIONAL"}},"pageParam":{"name":"page","in":"query","description":"Page number of result set","required":false,"schema":{"type":"string","default":1}},"sizeParam":{"name":"size","in":"query","description":"Number of records to be returned in each page of result set","schema":{"type":"string","default":50}},"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","enum":["true","false"]}}},"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"apikey","description":"This HTTP Header variable will verify security"}},"schemas":{"profit_centers":{"type":"object","properties":{"profit_center":{"type":"string","description":"Unique code for a Profit Center, sourced by BIC or MDG"},"profit_center_name":{"type":"string","description":"Profit Center name"},"segment_category":{"type":"string","description":"category of segmentation"},"segment":{"type":"string","description":"detailed segmentation group"}}},"locations":{"type":"object","properties":{"app_id":{"type":"number","description":"ID of the App the Location mappings apply to"},"app_name":{"type":"string","description":"Name of the App the Location mappings apply to"},"location":{"type":"string","description":"Unique code for a Location"},"location_name":{"type":"string","description":"Location name"},"profit_center":{"type":"string","description":"Unique code for a Profit Center, sourced by BIC or MDG"},"profit_center_name":{"type":"string","description":"Profit Center name"},"user_id":{"type":"string","description":"ID of the User the Location mappings apply to"},"segment_category":{"type":"string","description":"Category of Segmentation for the Profit Center"},"service_type":{"type":"string","description":"Type of Service for the Location"}}},"districts":{"type":"object","properties":{"district":{"type":"string","description":"Unique code for a Disctrict, sourced by BIC or MDG"},"district_name":{"type":"string","description":"District name"}}},"regions":{"type":"object","properties":{"region":{"type":"string","description":"Unique code for a Region, sourced by BIC or MDG"},"region_name":{"type":"string","description":"Region name"}}},"clients":{"type":"object","properties":{"client":{"type":"string","description":"Unique code for a Clients, sourced by BIC or MDG"},"client_name":{"type":"string","description":"Client name"}}},"roles":{"type":"object","properties":{"role_level":{"type":"string","description":"Unique code for a level in the Aramark Organization"},"role_level_number":{"type":"string","description":"Digit associated with a level in the Aramark Organization"}}},"user_hierarchy":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the user"},"country_code":{"type":"string","description":"Country Code of the user"},"company":{"type":"string","description":"Company Value of the user"},"company_name":{"type":"string","description":"Company Name of the user"},"division":{"type":"string","description":"Division Value of the user"},"division_name":{"type":"string","description":"Division Name of the user"},"business_unit":{"type":"string","description":"Business Unit Value of the user"},"business_unit_name":{"type":"string","description":"Business Unit Name of the user"},"line_of_business":{"type":"string","description":"Line of Business Value of the user"},"line_of_business_name":{"type":"string","description":"Line of Business Name of the user"},"region":{"type":"string","description":"Region Value of the user"},"region_name":{"type":"string","description":"Region Name of the user"},"district":{"type":"string","description":"District Value of the user"},"district_name":{"type":"string","description":"District Name of the user"}}}}}}