{"openapi":"3.0.0","info":{"description":"\nThis API will return Daily Financial data from Aramark's GFF Application\n\n\nThe base endpoint URL for this API in production is:\n`https://marko.aramark.net/v1/financial/daily`.\n\n\nFor testing the API with the \"Try\" tool on this page or in your app, use\neither our testing server \"qa-marko\" or our development server \"dev-marko\".\n","version":"1.0.0-oas3","title":"Financial Daily Account Summary"},"tags":[{"name":"Results","description":"Get Daily Financial data by Accounts"}],"security":[{"apiKey":[]}],"paths":{"/account_summary/{org_value}":{"get":{"operationId":"getFinancialSummaryByOrgValue","summary":"GFF daily summary","description":"\nReturns ALL GFF Daily Accounts Summary\n\n![This endpoint is in production](/themes/portal/images/statuspngs/statusprod.png)\n","tags":["Results"],"parameters":[{"$ref":"#/components/parameters/orgValueParam"},{"$ref":"#/components/parameters/accountParam"},{"$ref":"#/components/parameters/rollupParam"},{"$ref":"#/components/parameters/startDateParam"},{"$ref":"#/components/parameters/endDateParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"responses":{"200":{"description":"Provides the Financial Account Summary for a specific Organization","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'","default":"Success"},"count":{"type":"string","description":"Number of records returned","default":"0"},"financial_summary":{"type":"array","items":{"$ref":"#/components/schemas/financial_summary"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}}},"servers":[{"url":"https://qa-marko.aramark.net/v1/financial/daily","description":"Testing server"},{"url":"https://dev-marko.aramark.net/v1/financial/daily","description":"Development server"}],"components":{"parameters":{"orgValueParam":{"in":"path","name":"org_value","description":"Aramark Organization code for rollup","required":true,"schema":{"type":"string"}},"startDateParam":{"in":"query","name":"start_date","description":"Calendar date for daily transactions. \"mm/dd/yyyy\"","required":true,"schema":{"type":"string"}},"endDateParam":{"in":"query","name":"end_date","description":"Calendar end date for daily transactions. Will use start_date if not provided. \"mm/dd/yyyy\"","required":false,"schema":{"type":"string"}},"rollupParam":{"in":"query","name":"rollup","description":"Flag to rollup results. If 'Y' all results will be summarized into one object per day. 'N' will group the data by Day and Account.","required":false,"schema":{"type":"string","enum":["Y","N"],"default":"N"}},"accountParam":{"in":"query","name":"account","description":"Provide a single or multiple accounts in comma delimited string for rollup","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 to the Integration environment. Only applicable in QA Server.","schema":{"type":"string","enum":["true","false"]}}},"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"apikey","description":"This HTTP Header variable will verify security"}},"schemas":{"financial_summary":{"type":"object","properties":{"calendar_date":{"type":"string","description":"Date or transactional rollup"},"fiscal_period":{"type":"string","description":"Fiscal Month of data"},"fiscal_week_no":{"type":"number","description":"Fiscal Week of Month"},"fiscal_day":{"type":"number","description":"Fiscal Day of Week"},"org_value":{"type":"string","description":"Aramark Organization code for rollup"},"org_name":{"type":"string","description":"Name or Aramark Organization rollup"},"gl_account":{"type":"string","description":"GL Account code. This can be Null if rollup = 'Y'"},"gl_account_description":{"type":"string","description":"GL Account code description. This can be Null if rollup = 'Y'"},"actual_amount":{"type":"number","description":"Total sales number"},"prior_year_amount":{"type":"number","description":"Total sales number last year for same period"}}}}}}