Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 1.73 KB

File metadata and controls

70 lines (50 loc) · 1.73 KB

Flipdish.Api.ReceiptsApi

All URIs are relative to https://api.flipdish.co

Method HTTP request Description
GetReceipt GET /api/v1.0/receipts/{orderId}

GetReceipt

GetReceiptByOrderIdQueryResponse GetReceipt (int? orderId)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetReceiptExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new ReceiptsApi();
            var orderId = 56;  // int? | 

            try
            {
                GetReceiptByOrderIdQueryResponse result = apiInstance.GetReceipt(orderId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReceiptsApi.GetReceipt: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
orderId int?

Return type

GetReceiptByOrderIdQueryResponse

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]