{"openapi":"3.0.0","info":{"description":"This API will return a collection of Organization Data.\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":"Organization"},"tags":[{"name":"GL Accounts","description":"A collection of GL Account Data"},{"name":"Suppliers","description":"A collection of Suppliers Data"}],"paths":{"/organization/gl_account":{"get":{"summary":"Get GL Account Data","operationId":"getGLAccount","tags":["GL Accounts"],"parameters":[{"$ref":"#/components/parameters/orgValuePathParam"},{"$ref":"#/components/parameters/levelParam"},{"$ref":"#/components/parameters/hierarchyParam"},{"$ref":"#/components/parameters/valueParam"},{"$ref":"#/components/parameters/bypassCacheParam"}],"responses":{"200":{"description":"GL Account Data","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'"},"count":{"type":"number","description":"Number of records"},"gl_accounts":{"type":"array","items":{"$ref":"#/components/schemas/gl_accounts"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/organization/gl_account/details":{"get":{"summary":"Get GL Account Detail Data","operationId":"getGLAccountDetails","tags":["GL Accounts"],"parameters":[{"$ref":"#/components/parameters/orgValuePathParam"},{"$ref":"#/components/parameters/searchDetailsParam"},{"$ref":"#/components/parameters/valueReqParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/sizeParam"},{"$ref":"#/components/parameters/bypassCacheParam"}],"responses":{"200":{"description":"GL Account Detail Data","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'"},"count":{"type":"number","description":"Number of records"},"gl_account_details":{"type":"array","items":{"$ref":"#/components/schemas/gl_account_details"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/organization/suppliers":{"get":{"summary":"Get Supplier Data","operationId":"getSuppliers","tags":["Suppliers"],"parameters":[{"$ref":"#/components/parameters/orgValuePathParam"},{"$ref":"#/components/parameters/searchParam"},{"$ref":"#/components/parameters/enablementTypeParam"},{"$ref":"#/components/parameters/enabledOnlyParam"},{"$ref":"#/components/parameters/msaParam"},{"$ref":"#/components/parameters/pageParam"},{"$ref":"#/components/parameters/sizeParam"},{"$ref":"#/components/parameters/bypassCacheParam"}],"responses":{"200":{"description":"GL Account Data","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'"},"count":{"type":"number","description":"Number of records"},"gl_accounts":{"type":"array","items":{"$ref":"#/components/schemas/suppliers"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}}},"servers":[{"url":"https://qa-marko.aramark.net/v1","description":"Testing server"},{"url":"https://dev-marko.aramark.net/v1","description":"Development server"}],"components":{"parameters":{"orgValuePathParam":{"in":"path","name":"org_value","description":"Org Value for data to be returned","required":true,"schema":{"type":"string"}},"msaParam":{"in":"query","name":"msa","description":"MSA of the data to be returned","required":false,"schema":{"type":"number"}},"searchDetailsParam":{"in":"query","name":"search","description":"field to search against","required":true,"schema":{"type":"string","enum":["category","gl_account","category_code"]}},"searchParam":{"name":"search","in":"query","description":"Search value","required":false,"schema":{"type":"string"}},"enablementTypeParam":{"name":"enablement_type","in":"query","description":"User to filter records by Enablement Type. Multiple entries allowed in a comma separated list","required":false,"schema":{"type":"string","enum":["DIRECT BILL","ERCV","PROGRAM - INVOICE ONLY","PUNCHOUT","ADOPTED"]}},"shortDescriptionParam":{"name":"short_description","in":"query","description":"Short Description of the account in lower case","required":true,"schema":{"type":"string"}},"searchReqParam":{"name":"search","in":"query","description":"Search string","required":true,"schema":{"type":"string"}},"levelParam":{"name":"level","in":"query","description":"Level against which search will be done","required":true,"schema":{"type":"number","enum":[1,2,3,4,5]}},"hierarchyParam":{"name":"hierarchy","in":"query","description":"Hierarchy of account","required":false,"schema":{"type":"string","enum":["segment","family","class","commodity","offering"]}},"valueParam":{"name":"value","in":"query","description":"Value","required":false,"schema":{"type":"string"}},"valueReqParam":{"name":"value","in":"query","description":"Value to search","required":true,"schema":{"type":"string"}},"enabledOnlyParam":{"name":"enabled_only","in":"query","description":"Flag used to determine if Enabled or not","required":false,"schema":{"type":"string","enum":[true,false]}},"pageParam":{"name":"page","in":"query","description":"Page of the result set","required":false,"schema":{"type":"number","default":1}},"sizeParam":{"name":"size","in":"query","description":"Size of the result set","required":false,"schema":{"type":"number","default":50}},"bypassCacheParam":{"in":"header","name":"bypass-cache","description":"This HTTP Header variable will bypass cache","schema":{"type":"string","enum":["true","false"]}},"smokeParam":{"in":"header","name":"smoke","description":"When set to 'true' this HTTP Header variable will route to the Integration environment. Only applicable in QA Server.\n","schema":{"type":"string","enum":["true","false"]}}},"securitySchemes":{"apikey":{"type":"apiKey","in":"header","name":"apikey","description":"This HTTP Header variable will verify security"}},"schemas":{"gl_accounts":{"type":"object","properties":{"category":{"type":"string"},"segment":{"type":"string"},"family":{"type":"string"},"class":{"type":"string"},"commodity":{"type":"string"},"offering":{"type":"string"},"status":{"type":"string"},"gl_level":{"type":"string"},"gl_acc_category":{"type":"string"}}},"gl_account_details":{"type":"object","properties":{"long_description":{"type":"string"},"short_description":{"type":"string"},"gl_account_catergory":{"type":"string"},"gl_level":{"type":"string"},"category_code":{"type":"string"}}},"suppliers":{"type":"object","properties":{"msa":{"type":"string","description":"MSA of the supplier"},"vendor_name":{"type":"string","description":"Name of the supplier"},"supplier_display_name":{"type":"string","description":"Conactinated string of MSA and Vendor Name"},"location":{"type":"string","description":"Aramark Location Code"},"location_name":{"type":"string","description":"Name of Aramark Location"},"customer_number":{"type":"string","description":"Number of the Customer"},"enablement_type":{"type":"string","description":"Enablement Type of the Supplier"},"assignment_start_date":{"type":"string","description":"Start Date of the Assignment of the Supplier"},"harmonized_category":{"type":"string"},"inventory":{"type":"string"},"short_description":{"type":"string"},"vendor_site_cd":{"type":"string"}}}}}}