Skip to content

Latest commit

 

History

History
134 lines (98 loc) · 3.83 KB

File metadata and controls

134 lines (98 loc) · 3.83 KB

Flipdish.Api.AuditLogsApi

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

Method HTTP request Description
AddOrderAuditLog POST /api/v1.0/auditlogs/orders/{orderId}
AddStoreAuditLogEvent POST /api/v1.0/auditlogs/stores/{storeId}

AddOrderAuditLog

void AddOrderAuditLog (int? orderId, List externalEventCreate)

Example

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

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

            var apiInstance = new AuditLogsApi();
            var orderId = 56;  // int? | 
            var externalEventCreate = new List<ExternalStoreAuditLog>(); // List<ExternalStoreAuditLog> | 

            try
            {
                apiInstance.AddOrderAuditLog(orderId, externalEventCreate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuditLogsApi.AddOrderAuditLog: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
orderId int?
externalEventCreate List<ExternalStoreAuditLog>

Return type

void (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

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

AddStoreAuditLogEvent

void AddStoreAuditLogEvent (int? storeId, List externalEventCreate)

Example

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

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

            var apiInstance = new AuditLogsApi();
            var storeId = 56;  // int? | 
            var externalEventCreate = new List<ExternalStoreAuditLog>(); // List<ExternalStoreAuditLog> | 

            try
            {
                apiInstance.AddStoreAuditLogEvent(storeId, externalEventCreate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuditLogsApi.AddStoreAuditLogEvent: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
storeId int?
externalEventCreate List<ExternalStoreAuditLog>

Return type

void (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

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