openapi: 3.2.0 info: description: 'This is a collection of APIs to support GSC GPO The base endpoint URL for this API in production is: `https://marko.aramark.net/v1/gsc_gpo`. For 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".' version: 1.0.0-oas3 title: GSC GPO Spend API servers: - url: https://qa-marko.aramark.net/v1/gsc_gpo description: Testing server - url: https://dev-marko.aramark.net/v1/gsc_gpo description: Development server security: - apiKey: [] tags: - name: Spend paths: /spend/item_detail: get: operationId: getClientItemDetailSpend tags: - Spend summary: Gets Client Item Detail Spend Data parameters: - $ref: '#/components/parameters/startDateParam' - $ref: '#/components/parameters/endDateParam' - $ref: '#/components/parameters/pageParam' - $ref: '#/components/parameters/sizeParam' - $ref: '#/components/parameters/bypassCacheParam' responses: '200': description: Collection of Item Detail Client Spend Data content: '*/*': schema: type: object properties: status: type: string description: ENUM 'Success' or 'Error' default: Success count: type: number description: Number of records returned item_detail_spend: type: array items: $ref: '#/components/schemas/item_detail_spend' '404': description: Requested resource does not exist. '405': description: HTTP Verb / Operation not supported components: parameters: startDateParam: in: query name: start_date description: Start Date of the result set. MM/DD/YYY format required: true schema: type: string endDateParam: in: query name: end_date description: End Date of the result set. MM/DD/YYY format required: true schema: type: string sizeParam: in: query name: size description: Number of records to be returned in each page of result set schema: type: string default: 1000 bypassCacheParam: in: header name: bypass-cache description: This HTTP Header variable will bypass cache. schema: type: string enum: - 'true' - 'false' default: 'false' pageParam: in: query name: page description: Page number of result set schema: type: number default: 1 schemas: item_detail_spend: type: object properties: accounting_date: type: string spend_date: type: string cust_parent_id_aosd: type: string cust_parent_name_aosd: type: string cust_id: type: string cust_name: type: string cust_reservation_code: type: string program_nm: type: string dist_role_desc: type: string dist_id: type: string dist_name: type: string dist_invoice_id: type: string dist_invoice_dt: type: string item_segment: type: string item_family: type: string item_class: type: string item_commodity: type: string item_num: type: string item_desc: type: string dist_prod_num: type: string dist_prod_desc: type: string mfr_id: type: string mfr_name: type: string dist_mfr_name: type: string manufacturer_brand_name: type: string dist_brand_name: type: string mfr_prod_name: type: string dist_mfr_prod_num: type: string case_pack_literal: type: string dist_case_pack_literal: type: string unit_of_issue: type: string unit_of_issue_desc: type: string size_indicator: type: string sum_spend: type: number quantity: type: number securitySchemes: apiKey: type: apiKey in: header name: apikey description: This HTTP Header variable will verify permissions.