{
  "swagger": "2.0",
  "info": {
    "version": "v1",
    "title": "SmartConnect REST API",
    "description": "eOne Solutions SmartConnect REST API",
    "contact": {
      "name": "support@smartconnect.com",
      "url": "https://smartconnect.eonesolutions.com/",
      "email": "support@smartconnect.com"
    }
  },
  "host": "smartconnect-eone-api.azurewebsites.net",
  "schemes": [
    "https"
  ],
  "paths": {
    "/v1/connection": {
      "get": {
        "tags": [
          "Connection"
        ],
        "summary": "Returns the list of connections available to the signed in user.",
        "operationId": "Connection_GetConnections",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConnectionModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "9d42ad05-20d2-4d34-a9f6-c4141d44d6ec",
                  "Description": "Business Central Sandbox",
                  "ConnectionType": "Dynamics 365 Business Central OData"
                },
                {
                  "Id": "840be619-0e10-4980-8f07-ae2e6a3d8bb3",
                  "Description": "F&O Sandbox",
                  "ConnectionType": "Dynamics 365 Finance & Operations"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Connection"
        ],
        "summary": "returns a filtered list of connections filtered",
        "operationId": "Connection_ConnectionsSearch",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "description": "(ConnectionRequest) filters to limit the connections returned",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConnectionRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConnectionModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "7d4d580c-3690-4a55-91a3-2853877aef90",
                  "Description": "Business Central Sandbox",
                  "ConnectionType": "Dynamics 365 Business Central OData"
                },
                {
                  "Id": "32296920-b762-45dd-ba3d-e8f81c9decec",
                  "Description": "F&O Sandbox",
                  "ConnectionType": "Dynamics 365 Finance & Operations"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/connection/{id}": {
      "get": {
        "tags": [
          "Connection"
        ],
        "summary": "Returns the specified connection",
        "operationId": "Connection_GetConnection",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of the required connection",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ConnectionModel"
            },
            "examples": {
              "application/json": {
                "Id": "7dd58286-e7e7-4b7c-842d-a30925a5514e",
                "Description": "Business Central Sandbox",
                "ConnectionType": "Dynamics 365 Business Central OData"
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/connection/{id}/integrations-target": {
      "get": {
        "tags": [
          "Connection"
        ],
        "summary": "Returns a list of processes with a destination attached to the specified connection",
        "operationId": "Connection_GetConnectionTargetProcesses",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of the required connection",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SimpleIntegrationModel"
              }
            },
            "examples": {
              "application/json": []
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/connection/{id}/integrations-source": {
      "get": {
        "tags": [
          "Connection"
        ],
        "summary": "Returns a list of processes with a data source attached to the specified connection",
        "operationId": "Connection_GetConnectionSourceProcesses",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of the required connection",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SimpleIntegrationModel"
              }
            },
            "examples": {
              "application/json": []
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/connection/{id}/sources": {
      "get": {
        "tags": [
          "Connection"
        ],
        "summary": "returns a list of data sources attached to the specified connection",
        "operationId": "Connection_GetSourcesForConnection",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) indentifier of the required connection",
            "required": true,
            "type": "string"
          },
          {
            "name": "includeProcesses",
            "in": "query",
            "description": "(bool) optional, include a list of processes attached to each source",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DataSourceModel"
              }
            },
            "examples": {
              "application/json": []
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/source": {
      "get": {
        "tags": [
          "Datasource"
        ],
        "summary": "returns all data sources for this customer",
        "operationId": "Datasource_GetDataSources",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "includeIntegrations",
            "in": "query",
            "description": "(bool) default false, include integrations linked to the applicable source",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DataSourceModel"
              }
            },
            "examples": {
              "application/json": []
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/source/{id}": {
      "get": {
        "tags": [
          "Datasource"
        ],
        "summary": "returns the specified data source",
        "operationId": "Datasource_GetDataSource",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of required data source",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/DataSourceModel"
            },
            "examples": {
              "application/json": {
                "Id": "00000000-0000-0000-0000-000000000000",
                "Description": null,
                "ConnectionId": "00000000-0000-0000-0000-000000000000",
                "Type": null,
                "Processes": null
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/source/{id}/data": {
      "get": {
        "tags": [
          "Datasource"
        ],
        "summary": "returns the data from the specified data source",
        "operationId": "Datasource_GetDataSourceData",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of required data source",
            "required": true,
            "type": "string"
          },
          {
            "name": "requestId",
            "in": "query",
            "description": "(guid) identifier of cached query",
            "required": false,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "page",
            "in": "query",
            "description": "(int) current page - first page is page 1",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(int) page size - default 100",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/DataSourceDataModel"
            },
            "examples": {
              "application/json": {
                "RequestId": "e53b8a79-8b75-4b70-8fe8-20802b9164fc",
                "RecordCount": 1000,
                "CurrentPage": 1,
                "PageSize": 100,
                "Columns": [
                  {
                    "Item1": "Identity",
                    "Item2": "System.Int32"
                  },
                  {
                    "Item1": "FieldOne",
                    "Item2": "System.String"
                  },
                  {
                    "Item1": "FieldTwo",
                    "Item2": "System.String"
                  }
                ],
                "Rows": [
                  {
                    "Identity": 0,
                    "FieldOne": "Field Value 0",
                    "FieldTwo": "Field Value 0a"
                  },
                  {
                    "Identity": 1,
                    "FieldOne": "Field Value 1",
                    "FieldTwo": "Field Value 1a"
                  },
                  {
                    "Identity": 2,
                    "FieldOne": "Field Value 2",
                    "FieldTwo": "Field Value 2a"
                  },
                  {
                    "Identity": 3,
                    "FieldOne": "Field Value 3",
                    "FieldTwo": "Field Value 3a"
                  },
                  {
                    "Identity": 4,
                    "FieldOne": "Field Value 4",
                    "FieldTwo": "Field Value 4a"
                  },
                  {
                    "Identity": 5,
                    "FieldOne": "Field Value 5",
                    "FieldTwo": "Field Value 5a"
                  },
                  {
                    "Identity": 6,
                    "FieldOne": "Field Value 6",
                    "FieldTwo": "Field Value 6a"
                  },
                  {
                    "Identity": 7,
                    "FieldOne": "Field Value 7",
                    "FieldTwo": "Field Value 7a"
                  },
                  {
                    "Identity": 8,
                    "FieldOne": "Field Value 8",
                    "FieldTwo": "Field Value 8a"
                  },
                  {
                    "Identity": 9,
                    "FieldOne": "Field Value 9",
                    "FieldTwo": "Field Value 9a"
                  },
                  {
                    "Identity": 10,
                    "FieldOne": "Field Value 10",
                    "FieldTwo": "Field Value 10a"
                  },
                  {
                    "Identity": 11,
                    "FieldOne": "Field Value 11",
                    "FieldTwo": "Field Value 11a"
                  },
                  {
                    "Identity": 12,
                    "FieldOne": "Field Value 12",
                    "FieldTwo": "Field Value 12a"
                  },
                  {
                    "Identity": 13,
                    "FieldOne": "Field Value 13",
                    "FieldTwo": "Field Value 13a"
                  },
                  {
                    "Identity": 14,
                    "FieldOne": "Field Value 14",
                    "FieldTwo": "Field Value 14a"
                  },
                  {
                    "Identity": 15,
                    "FieldOne": "Field Value 15",
                    "FieldTwo": "Field Value 15a"
                  },
                  {
                    "Identity": 16,
                    "FieldOne": "Field Value 16",
                    "FieldTwo": "Field Value 16a"
                  },
                  {
                    "Identity": 17,
                    "FieldOne": "Field Value 17",
                    "FieldTwo": "Field Value 17a"
                  },
                  {
                    "Identity": 18,
                    "FieldOne": "Field Value 18",
                    "FieldTwo": "Field Value 18a"
                  },
                  {
                    "Identity": 19,
                    "FieldOne": "Field Value 19",
                    "FieldTwo": "Field Value 19a"
                  },
                  {
                    "Identity": 20,
                    "FieldOne": "Field Value 20",
                    "FieldTwo": "Field Value 20a"
                  },
                  {
                    "Identity": 21,
                    "FieldOne": "Field Value 21",
                    "FieldTwo": "Field Value 21a"
                  },
                  {
                    "Identity": 22,
                    "FieldOne": "Field Value 22",
                    "FieldTwo": "Field Value 22a"
                  },
                  {
                    "Identity": 23,
                    "FieldOne": "Field Value 23",
                    "FieldTwo": "Field Value 23a"
                  },
                  {
                    "Identity": 24,
                    "FieldOne": "Field Value 24",
                    "FieldTwo": "Field Value 24a"
                  },
                  {
                    "Identity": 25,
                    "FieldOne": "Field Value 25",
                    "FieldTwo": "Field Value 25a"
                  },
                  {
                    "Identity": 26,
                    "FieldOne": "Field Value 26",
                    "FieldTwo": "Field Value 26a"
                  },
                  {
                    "Identity": 27,
                    "FieldOne": "Field Value 27",
                    "FieldTwo": "Field Value 27a"
                  },
                  {
                    "Identity": 28,
                    "FieldOne": "Field Value 28",
                    "FieldTwo": "Field Value 28a"
                  },
                  {
                    "Identity": 29,
                    "FieldOne": "Field Value 29",
                    "FieldTwo": "Field Value 29a"
                  },
                  {
                    "Identity": 30,
                    "FieldOne": "Field Value 30",
                    "FieldTwo": "Field Value 30a"
                  },
                  {
                    "Identity": 31,
                    "FieldOne": "Field Value 31",
                    "FieldTwo": "Field Value 31a"
                  },
                  {
                    "Identity": 32,
                    "FieldOne": "Field Value 32",
                    "FieldTwo": "Field Value 32a"
                  },
                  {
                    "Identity": 33,
                    "FieldOne": "Field Value 33",
                    "FieldTwo": "Field Value 33a"
                  },
                  {
                    "Identity": 34,
                    "FieldOne": "Field Value 34",
                    "FieldTwo": "Field Value 34a"
                  },
                  {
                    "Identity": 35,
                    "FieldOne": "Field Value 35",
                    "FieldTwo": "Field Value 35a"
                  },
                  {
                    "Identity": 36,
                    "FieldOne": "Field Value 36",
                    "FieldTwo": "Field Value 36a"
                  },
                  {
                    "Identity": 37,
                    "FieldOne": "Field Value 37",
                    "FieldTwo": "Field Value 37a"
                  },
                  {
                    "Identity": 38,
                    "FieldOne": "Field Value 38",
                    "FieldTwo": "Field Value 38a"
                  },
                  {
                    "Identity": 39,
                    "FieldOne": "Field Value 39",
                    "FieldTwo": "Field Value 39a"
                  },
                  {
                    "Identity": 40,
                    "FieldOne": "Field Value 40",
                    "FieldTwo": "Field Value 40a"
                  },
                  {
                    "Identity": 41,
                    "FieldOne": "Field Value 41",
                    "FieldTwo": "Field Value 41a"
                  },
                  {
                    "Identity": 42,
                    "FieldOne": "Field Value 42",
                    "FieldTwo": "Field Value 42a"
                  },
                  {
                    "Identity": 43,
                    "FieldOne": "Field Value 43",
                    "FieldTwo": "Field Value 43a"
                  },
                  {
                    "Identity": 44,
                    "FieldOne": "Field Value 44",
                    "FieldTwo": "Field Value 44a"
                  },
                  {
                    "Identity": 45,
                    "FieldOne": "Field Value 45",
                    "FieldTwo": "Field Value 45a"
                  },
                  {
                    "Identity": 46,
                    "FieldOne": "Field Value 46",
                    "FieldTwo": "Field Value 46a"
                  },
                  {
                    "Identity": 47,
                    "FieldOne": "Field Value 47",
                    "FieldTwo": "Field Value 47a"
                  },
                  {
                    "Identity": 48,
                    "FieldOne": "Field Value 48",
                    "FieldTwo": "Field Value 48a"
                  },
                  {
                    "Identity": 49,
                    "FieldOne": "Field Value 49",
                    "FieldTwo": "Field Value 49a"
                  },
                  {
                    "Identity": 50,
                    "FieldOne": "Field Value 50",
                    "FieldTwo": "Field Value 50a"
                  },
                  {
                    "Identity": 51,
                    "FieldOne": "Field Value 51",
                    "FieldTwo": "Field Value 51a"
                  },
                  {
                    "Identity": 52,
                    "FieldOne": "Field Value 52",
                    "FieldTwo": "Field Value 52a"
                  },
                  {
                    "Identity": 53,
                    "FieldOne": "Field Value 53",
                    "FieldTwo": "Field Value 53a"
                  },
                  {
                    "Identity": 54,
                    "FieldOne": "Field Value 54",
                    "FieldTwo": "Field Value 54a"
                  },
                  {
                    "Identity": 55,
                    "FieldOne": "Field Value 55",
                    "FieldTwo": "Field Value 55a"
                  },
                  {
                    "Identity": 56,
                    "FieldOne": "Field Value 56",
                    "FieldTwo": "Field Value 56a"
                  },
                  {
                    "Identity": 57,
                    "FieldOne": "Field Value 57",
                    "FieldTwo": "Field Value 57a"
                  },
                  {
                    "Identity": 58,
                    "FieldOne": "Field Value 58",
                    "FieldTwo": "Field Value 58a"
                  },
                  {
                    "Identity": 59,
                    "FieldOne": "Field Value 59",
                    "FieldTwo": "Field Value 59a"
                  },
                  {
                    "Identity": 60,
                    "FieldOne": "Field Value 60",
                    "FieldTwo": "Field Value 60a"
                  },
                  {
                    "Identity": 61,
                    "FieldOne": "Field Value 61",
                    "FieldTwo": "Field Value 61a"
                  },
                  {
                    "Identity": 62,
                    "FieldOne": "Field Value 62",
                    "FieldTwo": "Field Value 62a"
                  },
                  {
                    "Identity": 63,
                    "FieldOne": "Field Value 63",
                    "FieldTwo": "Field Value 63a"
                  },
                  {
                    "Identity": 64,
                    "FieldOne": "Field Value 64",
                    "FieldTwo": "Field Value 64a"
                  },
                  {
                    "Identity": 65,
                    "FieldOne": "Field Value 65",
                    "FieldTwo": "Field Value 65a"
                  },
                  {
                    "Identity": 66,
                    "FieldOne": "Field Value 66",
                    "FieldTwo": "Field Value 66a"
                  },
                  {
                    "Identity": 67,
                    "FieldOne": "Field Value 67",
                    "FieldTwo": "Field Value 67a"
                  },
                  {
                    "Identity": 68,
                    "FieldOne": "Field Value 68",
                    "FieldTwo": "Field Value 68a"
                  },
                  {
                    "Identity": 69,
                    "FieldOne": "Field Value 69",
                    "FieldTwo": "Field Value 69a"
                  },
                  {
                    "Identity": 70,
                    "FieldOne": "Field Value 70",
                    "FieldTwo": "Field Value 70a"
                  },
                  {
                    "Identity": 71,
                    "FieldOne": "Field Value 71",
                    "FieldTwo": "Field Value 71a"
                  },
                  {
                    "Identity": 72,
                    "FieldOne": "Field Value 72",
                    "FieldTwo": "Field Value 72a"
                  },
                  {
                    "Identity": 73,
                    "FieldOne": "Field Value 73",
                    "FieldTwo": "Field Value 73a"
                  },
                  {
                    "Identity": 74,
                    "FieldOne": "Field Value 74",
                    "FieldTwo": "Field Value 74a"
                  },
                  {
                    "Identity": 75,
                    "FieldOne": "Field Value 75",
                    "FieldTwo": "Field Value 75a"
                  },
                  {
                    "Identity": 76,
                    "FieldOne": "Field Value 76",
                    "FieldTwo": "Field Value 76a"
                  },
                  {
                    "Identity": 77,
                    "FieldOne": "Field Value 77",
                    "FieldTwo": "Field Value 77a"
                  },
                  {
                    "Identity": 78,
                    "FieldOne": "Field Value 78",
                    "FieldTwo": "Field Value 78a"
                  },
                  {
                    "Identity": 79,
                    "FieldOne": "Field Value 79",
                    "FieldTwo": "Field Value 79a"
                  },
                  {
                    "Identity": 80,
                    "FieldOne": "Field Value 80",
                    "FieldTwo": "Field Value 80a"
                  },
                  {
                    "Identity": 81,
                    "FieldOne": "Field Value 81",
                    "FieldTwo": "Field Value 81a"
                  },
                  {
                    "Identity": 82,
                    "FieldOne": "Field Value 82",
                    "FieldTwo": "Field Value 82a"
                  },
                  {
                    "Identity": 83,
                    "FieldOne": "Field Value 83",
                    "FieldTwo": "Field Value 83a"
                  },
                  {
                    "Identity": 84,
                    "FieldOne": "Field Value 84",
                    "FieldTwo": "Field Value 84a"
                  },
                  {
                    "Identity": 85,
                    "FieldOne": "Field Value 85",
                    "FieldTwo": "Field Value 85a"
                  },
                  {
                    "Identity": 86,
                    "FieldOne": "Field Value 86",
                    "FieldTwo": "Field Value 86a"
                  },
                  {
                    "Identity": 87,
                    "FieldOne": "Field Value 87",
                    "FieldTwo": "Field Value 87a"
                  },
                  {
                    "Identity": 88,
                    "FieldOne": "Field Value 88",
                    "FieldTwo": "Field Value 88a"
                  },
                  {
                    "Identity": 89,
                    "FieldOne": "Field Value 89",
                    "FieldTwo": "Field Value 89a"
                  },
                  {
                    "Identity": 90,
                    "FieldOne": "Field Value 90",
                    "FieldTwo": "Field Value 90a"
                  },
                  {
                    "Identity": 91,
                    "FieldOne": "Field Value 91",
                    "FieldTwo": "Field Value 91a"
                  },
                  {
                    "Identity": 92,
                    "FieldOne": "Field Value 92",
                    "FieldTwo": "Field Value 92a"
                  },
                  {
                    "Identity": 93,
                    "FieldOne": "Field Value 93",
                    "FieldTwo": "Field Value 93a"
                  },
                  {
                    "Identity": 94,
                    "FieldOne": "Field Value 94",
                    "FieldTwo": "Field Value 94a"
                  },
                  {
                    "Identity": 95,
                    "FieldOne": "Field Value 95",
                    "FieldTwo": "Field Value 95a"
                  },
                  {
                    "Identity": 96,
                    "FieldOne": "Field Value 96",
                    "FieldTwo": "Field Value 96a"
                  },
                  {
                    "Identity": 97,
                    "FieldOne": "Field Value 97",
                    "FieldTwo": "Field Value 97a"
                  },
                  {
                    "Identity": 98,
                    "FieldOne": "Field Value 98",
                    "FieldTwo": "Field Value 98a"
                  },
                  {
                    "Identity": 99,
                    "FieldOne": "Field Value 99",
                    "FieldTwo": "Field Value 99a"
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/errors": {
      "get": {
        "tags": [
          "Errors"
        ],
        "summary": "Returns list of process errors records",
        "operationId": "Errors_GetErrors",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "integrationKey",
            "in": "query",
            "description": "(guid) integration identifier",
            "required": false,
            "type": "string"
          },
          {
            "name": "runNumber",
            "in": "query",
            "description": "(long) run number",
            "required": false,
            "type": "integer",
            "format": "int64"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ProcessErrorsRunModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "IntegrationKey": "e750bfb5-c4c1-4f53-998f-5a452bf7ba01",
                  "IntegrationId": "TEST_ONE",
                  "RunNumber": 22,
                  "ErrorData": [
                    {
                      "ErrorId": "94996fc2-d8b0-46b9-85e9-b5f4b7926822",
                      "TenantServer": "https://testserver.com",
                      "TenantTechnical": "CompanyA",
                      "ErrorCount": 4,
                      "ErrorUri": ""
                    },
                    {
                      "ErrorId": "36fba735-2b8d-47d3-b7b8-72d26049a77f",
                      "TenantServer": "https://testserver.com",
                      "TenantTechnical": "CompanyB",
                      "ErrorCount": 2,
                      "ErrorUri": ""
                    }
                  ]
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/errors/{id}": {
      "get": {
        "tags": [
          "Errors"
        ],
        "summary": "Returns process errors data",
        "operationId": "Errors_GetErrorRecord",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) process errors identifier",
            "required": true,
            "type": "string"
          },
          {
            "name": "page",
            "in": "query",
            "description": "(int) data page requested, defaults to 1",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(int) page size requested, defaults to 1000",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ProcessErrorsDataModel"
            },
            "examples": {
              "application/json": {
                "CurrentPage": 1,
                "PageSize": 1000,
                "RecordCount": 5,
                "Columns": [
                  {
                    "Key": "custnumber",
                    "Value": "String"
                  },
                  {
                    "Key": "custname",
                    "Value": "String"
                  },
                  {
                    "Key": "EONERUNIDENT",
                    "Value": "String"
                  },
                  {
                    "Key": "EONERUNERRORS",
                    "Value": "String"
                  }
                ],
                "Rows": [
                  {
                    "custnumber": "C0001",
                    "custname": "Customer C0001",
                    "EONERUNIDENT": "054803c6-f33a-417f-8406-8c57f7e88e44",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0002",
                    "custname": "Customer C0002",
                    "EONERUNIDENT": "ae84f703-9663-4892-8e90-51a924b4104f",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0003",
                    "custname": "Customer C0003",
                    "EONERUNIDENT": "f8f9b502-8381-4eac-b23d-ad595f71b3cc",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0004",
                    "custname": "Customer C0004",
                    "EONERUNIDENT": "08f5f251-4c00-4c89-a6b7-fb0986e83fb0",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0005",
                    "custname": "Customer C0005",
                    "EONERUNIDENT": "c94d578d-195e-4237-abcf-6ee943461a01",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  }
                ],
                "NextPageUri": null
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Errors"
        ],
        "summary": "Delete specified process errors record",
        "operationId": "Errors_DeleteErrorRecord",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) process errors identifier",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Errors"
        ],
        "summary": "updates the process error records",
        "operationId": "Errors_UpdateErrorRecord",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) process error record id",
            "required": true,
            "type": "string"
          },
          {
            "name": "errorRows",
            "in": "body",
            "description": "(List of Dictionary(string,string) row data to be updated",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/events": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Returns event logs",
        "operationId": "Events_GetEvents",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "fromDate",
            "in": "query",
            "description": "(datetime) filters by event log dates after the supplied date",
            "required": false,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "(datetime) filters by event log dates before the supplied date",
            "required": false,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "searchString",
            "in": "query",
            "description": "(string) search string to be applied to the result set",
            "required": false,
            "type": "string"
          },
          {
            "name": "page",
            "in": "query",
            "description": "(int) current page",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(int) page size, max 1000",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "sessionId",
            "in": "query",
            "description": "(guid) passed when paging to retrieve the data from the cache instead of querying every time",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/events/{deleteType}": {
      "delete": {
        "tags": [
          "Events"
        ],
        "summary": "Deletes selected event log records",
        "operationId": "Events_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "deleteType",
            "in": "path",
            "description": "(EventDeleteType) Method to be used to delete records",
            "required": true,
            "type": "string",
            "enum": [
              "all",
              "today",
              "week",
              "date"
            ]
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "(datetime) records older than this date will be deleted (only valid for date deleteType)",
            "required": false,
            "type": "string",
            "format": "date-time"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/file": {
      "get": {
        "tags": [
          "File"
        ],
        "summary": "returns a list of files",
        "operationId": "File_GetFiles",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "integrationId",
            "in": "query",
            "description": "(guid) filters files by files linked to the specified integration id",
            "required": false,
            "type": "string"
          },
          {
            "name": "email",
            "in": "query",
            "description": "(string) filters files to those created by the specified email",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/FileHolderModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "FileHolderId": "0c69bd9e-656b-436f-8ffe-e437fa299074",
                  "Email": "support@eonesolutions.com",
                  "Description": "Export zip for integration TEST001",
                  "Type": "mapOutput",
                  "LinkedIntegrationId": "6a03972c-7ddb-499d-9006-0709e5cb4b6a",
                  "RunNumber": 2,
                  "CreateDate": "2026-11-14T06:02:45.7913Z",
                  "Files": [
                    {
                      "FileId": "dfa44b68-9fb3-4030-b58d-6090273d9fed",
                      "Name": "TEST001___2.zip",
                      "FileType": "zip",
                      "ContentType": "application/x-zip-compressed",
                      "DataType": "mapoutput",
                      "FileUrl": null
                    }
                  ]
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/file/{id}": {
      "get": {
        "tags": [
          "File"
        ],
        "summary": "downloads the file associated with the specified id",
        "operationId": "File_GetFile",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(string) file id",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/search": {
      "post": {
        "tags": [
          "Integration"
        ],
        "summary": "returns a list of integrations",
        "operationId": "Integration_Search",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "description": "(IntegrationListRequest) integraton list search parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/IntegrationRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SimpleIntegrationModel"
              }
            },
            "examples": {
              "application/json": []
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/gp": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "Returns a list of integrations - may be filtered with use of the query string parameters",
        "operationId": "Integration_GetGpList",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "processType",
            "in": "query",
            "description": "Optional parameter to restrict process types : values are all, extender, smartlist, smartview",
            "required": false,
            "type": "string"
          },
          {
            "name": "extenderType",
            "in": "query",
            "description": "Optional parameter when process type is extender - returns matches for the specified Extender type",
            "required": false,
            "type": "string"
          },
          {
            "name": "extenderId",
            "in": "query",
            "description": "Optional parameter when process type is extender - returns matches for specified Extender identifier",
            "required": false,
            "type": "string"
          },
          {
            "name": "smartListName",
            "in": "query",
            "description": "Optional parameter when process type is smartlist - returns matches for the specified SmartList name",
            "required": false,
            "type": "string"
          },
          {
            "name": "favoriteName",
            "in": "query",
            "description": "Optional parameter when process type is smartlist - returns matches for the specified SmartList favorite name",
            "required": false,
            "type": "string"
          },
          {
            "name": "smartViewId",
            "in": "query",
            "description": "Required when process type is smartview - returns matches for the specified SmartView identifier",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SimpleIntegrationModel"
              }
            },
            "examples": {
              "application/json": []
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/{id}": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "returns specified process",
        "operationId": "Integration_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of the required integration",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/SimpleIntegrationModel"
            },
            "examples": {
              "application/json": {
                "Key": "00000000-0000-0000-0000-000000000000",
                "Id": null,
                "Description": null,
                "SourceSystem": null,
                "TargetSystem": null,
                "CreatedDate": null,
                "LastRunDate": null
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/{id}/columns": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "returns columns from specified integration",
        "operationId": "Integration_GetColumnList",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of integration",
            "required": true,
            "type": "string"
          },
          {
            "name": "allColumns",
            "in": "query",
            "description": "(bool) return additional columns as well as data source columns",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationColumnModel"
              }
            },
            "examples": {
              "application/json": []
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/{id}/data": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "return data from the specifed integration",
        "operationId": "Integration_GetData",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of integration",
            "required": true,
            "type": "string"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(int) page size",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "page",
            "in": "query",
            "description": "(int) current page - first page is page 1",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "requestId",
            "in": "query",
            "description": "(guid) identifier of cached data - used when paging",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/DataSourceDataModel"
            },
            "examples": {
              "application/json": {
                "RequestId": "c7ead3b2-875a-4b6e-bead-ab48c43ce1a0",
                "RecordCount": 1000,
                "CurrentPage": 1,
                "PageSize": 100,
                "Columns": [
                  {
                    "Item1": "Identity",
                    "Item2": "System.Int32"
                  },
                  {
                    "Item1": "FieldOne",
                    "Item2": "System.String"
                  },
                  {
                    "Item1": "FieldTwo",
                    "Item2": "System.String"
                  }
                ],
                "Rows": [
                  {
                    "Identity": 0,
                    "FieldOne": "Field Value 0",
                    "FieldTwo": "Field Value 0a"
                  },
                  {
                    "Identity": 1,
                    "FieldOne": "Field Value 1",
                    "FieldTwo": "Field Value 1a"
                  },
                  {
                    "Identity": 2,
                    "FieldOne": "Field Value 2",
                    "FieldTwo": "Field Value 2a"
                  },
                  {
                    "Identity": 3,
                    "FieldOne": "Field Value 3",
                    "FieldTwo": "Field Value 3a"
                  },
                  {
                    "Identity": 4,
                    "FieldOne": "Field Value 4",
                    "FieldTwo": "Field Value 4a"
                  },
                  {
                    "Identity": 5,
                    "FieldOne": "Field Value 5",
                    "FieldTwo": "Field Value 5a"
                  },
                  {
                    "Identity": 6,
                    "FieldOne": "Field Value 6",
                    "FieldTwo": "Field Value 6a"
                  },
                  {
                    "Identity": 7,
                    "FieldOne": "Field Value 7",
                    "FieldTwo": "Field Value 7a"
                  },
                  {
                    "Identity": 8,
                    "FieldOne": "Field Value 8",
                    "FieldTwo": "Field Value 8a"
                  },
                  {
                    "Identity": 9,
                    "FieldOne": "Field Value 9",
                    "FieldTwo": "Field Value 9a"
                  },
                  {
                    "Identity": 10,
                    "FieldOne": "Field Value 10",
                    "FieldTwo": "Field Value 10a"
                  },
                  {
                    "Identity": 11,
                    "FieldOne": "Field Value 11",
                    "FieldTwo": "Field Value 11a"
                  },
                  {
                    "Identity": 12,
                    "FieldOne": "Field Value 12",
                    "FieldTwo": "Field Value 12a"
                  },
                  {
                    "Identity": 13,
                    "FieldOne": "Field Value 13",
                    "FieldTwo": "Field Value 13a"
                  },
                  {
                    "Identity": 14,
                    "FieldOne": "Field Value 14",
                    "FieldTwo": "Field Value 14a"
                  },
                  {
                    "Identity": 15,
                    "FieldOne": "Field Value 15",
                    "FieldTwo": "Field Value 15a"
                  },
                  {
                    "Identity": 16,
                    "FieldOne": "Field Value 16",
                    "FieldTwo": "Field Value 16a"
                  },
                  {
                    "Identity": 17,
                    "FieldOne": "Field Value 17",
                    "FieldTwo": "Field Value 17a"
                  },
                  {
                    "Identity": 18,
                    "FieldOne": "Field Value 18",
                    "FieldTwo": "Field Value 18a"
                  },
                  {
                    "Identity": 19,
                    "FieldOne": "Field Value 19",
                    "FieldTwo": "Field Value 19a"
                  },
                  {
                    "Identity": 20,
                    "FieldOne": "Field Value 20",
                    "FieldTwo": "Field Value 20a"
                  },
                  {
                    "Identity": 21,
                    "FieldOne": "Field Value 21",
                    "FieldTwo": "Field Value 21a"
                  },
                  {
                    "Identity": 22,
                    "FieldOne": "Field Value 22",
                    "FieldTwo": "Field Value 22a"
                  },
                  {
                    "Identity": 23,
                    "FieldOne": "Field Value 23",
                    "FieldTwo": "Field Value 23a"
                  },
                  {
                    "Identity": 24,
                    "FieldOne": "Field Value 24",
                    "FieldTwo": "Field Value 24a"
                  },
                  {
                    "Identity": 25,
                    "FieldOne": "Field Value 25",
                    "FieldTwo": "Field Value 25a"
                  },
                  {
                    "Identity": 26,
                    "FieldOne": "Field Value 26",
                    "FieldTwo": "Field Value 26a"
                  },
                  {
                    "Identity": 27,
                    "FieldOne": "Field Value 27",
                    "FieldTwo": "Field Value 27a"
                  },
                  {
                    "Identity": 28,
                    "FieldOne": "Field Value 28",
                    "FieldTwo": "Field Value 28a"
                  },
                  {
                    "Identity": 29,
                    "FieldOne": "Field Value 29",
                    "FieldTwo": "Field Value 29a"
                  },
                  {
                    "Identity": 30,
                    "FieldOne": "Field Value 30",
                    "FieldTwo": "Field Value 30a"
                  },
                  {
                    "Identity": 31,
                    "FieldOne": "Field Value 31",
                    "FieldTwo": "Field Value 31a"
                  },
                  {
                    "Identity": 32,
                    "FieldOne": "Field Value 32",
                    "FieldTwo": "Field Value 32a"
                  },
                  {
                    "Identity": 33,
                    "FieldOne": "Field Value 33",
                    "FieldTwo": "Field Value 33a"
                  },
                  {
                    "Identity": 34,
                    "FieldOne": "Field Value 34",
                    "FieldTwo": "Field Value 34a"
                  },
                  {
                    "Identity": 35,
                    "FieldOne": "Field Value 35",
                    "FieldTwo": "Field Value 35a"
                  },
                  {
                    "Identity": 36,
                    "FieldOne": "Field Value 36",
                    "FieldTwo": "Field Value 36a"
                  },
                  {
                    "Identity": 37,
                    "FieldOne": "Field Value 37",
                    "FieldTwo": "Field Value 37a"
                  },
                  {
                    "Identity": 38,
                    "FieldOne": "Field Value 38",
                    "FieldTwo": "Field Value 38a"
                  },
                  {
                    "Identity": 39,
                    "FieldOne": "Field Value 39",
                    "FieldTwo": "Field Value 39a"
                  },
                  {
                    "Identity": 40,
                    "FieldOne": "Field Value 40",
                    "FieldTwo": "Field Value 40a"
                  },
                  {
                    "Identity": 41,
                    "FieldOne": "Field Value 41",
                    "FieldTwo": "Field Value 41a"
                  },
                  {
                    "Identity": 42,
                    "FieldOne": "Field Value 42",
                    "FieldTwo": "Field Value 42a"
                  },
                  {
                    "Identity": 43,
                    "FieldOne": "Field Value 43",
                    "FieldTwo": "Field Value 43a"
                  },
                  {
                    "Identity": 44,
                    "FieldOne": "Field Value 44",
                    "FieldTwo": "Field Value 44a"
                  },
                  {
                    "Identity": 45,
                    "FieldOne": "Field Value 45",
                    "FieldTwo": "Field Value 45a"
                  },
                  {
                    "Identity": 46,
                    "FieldOne": "Field Value 46",
                    "FieldTwo": "Field Value 46a"
                  },
                  {
                    "Identity": 47,
                    "FieldOne": "Field Value 47",
                    "FieldTwo": "Field Value 47a"
                  },
                  {
                    "Identity": 48,
                    "FieldOne": "Field Value 48",
                    "FieldTwo": "Field Value 48a"
                  },
                  {
                    "Identity": 49,
                    "FieldOne": "Field Value 49",
                    "FieldTwo": "Field Value 49a"
                  },
                  {
                    "Identity": 50,
                    "FieldOne": "Field Value 50",
                    "FieldTwo": "Field Value 50a"
                  },
                  {
                    "Identity": 51,
                    "FieldOne": "Field Value 51",
                    "FieldTwo": "Field Value 51a"
                  },
                  {
                    "Identity": 52,
                    "FieldOne": "Field Value 52",
                    "FieldTwo": "Field Value 52a"
                  },
                  {
                    "Identity": 53,
                    "FieldOne": "Field Value 53",
                    "FieldTwo": "Field Value 53a"
                  },
                  {
                    "Identity": 54,
                    "FieldOne": "Field Value 54",
                    "FieldTwo": "Field Value 54a"
                  },
                  {
                    "Identity": 55,
                    "FieldOne": "Field Value 55",
                    "FieldTwo": "Field Value 55a"
                  },
                  {
                    "Identity": 56,
                    "FieldOne": "Field Value 56",
                    "FieldTwo": "Field Value 56a"
                  },
                  {
                    "Identity": 57,
                    "FieldOne": "Field Value 57",
                    "FieldTwo": "Field Value 57a"
                  },
                  {
                    "Identity": 58,
                    "FieldOne": "Field Value 58",
                    "FieldTwo": "Field Value 58a"
                  },
                  {
                    "Identity": 59,
                    "FieldOne": "Field Value 59",
                    "FieldTwo": "Field Value 59a"
                  },
                  {
                    "Identity": 60,
                    "FieldOne": "Field Value 60",
                    "FieldTwo": "Field Value 60a"
                  },
                  {
                    "Identity": 61,
                    "FieldOne": "Field Value 61",
                    "FieldTwo": "Field Value 61a"
                  },
                  {
                    "Identity": 62,
                    "FieldOne": "Field Value 62",
                    "FieldTwo": "Field Value 62a"
                  },
                  {
                    "Identity": 63,
                    "FieldOne": "Field Value 63",
                    "FieldTwo": "Field Value 63a"
                  },
                  {
                    "Identity": 64,
                    "FieldOne": "Field Value 64",
                    "FieldTwo": "Field Value 64a"
                  },
                  {
                    "Identity": 65,
                    "FieldOne": "Field Value 65",
                    "FieldTwo": "Field Value 65a"
                  },
                  {
                    "Identity": 66,
                    "FieldOne": "Field Value 66",
                    "FieldTwo": "Field Value 66a"
                  },
                  {
                    "Identity": 67,
                    "FieldOne": "Field Value 67",
                    "FieldTwo": "Field Value 67a"
                  },
                  {
                    "Identity": 68,
                    "FieldOne": "Field Value 68",
                    "FieldTwo": "Field Value 68a"
                  },
                  {
                    "Identity": 69,
                    "FieldOne": "Field Value 69",
                    "FieldTwo": "Field Value 69a"
                  },
                  {
                    "Identity": 70,
                    "FieldOne": "Field Value 70",
                    "FieldTwo": "Field Value 70a"
                  },
                  {
                    "Identity": 71,
                    "FieldOne": "Field Value 71",
                    "FieldTwo": "Field Value 71a"
                  },
                  {
                    "Identity": 72,
                    "FieldOne": "Field Value 72",
                    "FieldTwo": "Field Value 72a"
                  },
                  {
                    "Identity": 73,
                    "FieldOne": "Field Value 73",
                    "FieldTwo": "Field Value 73a"
                  },
                  {
                    "Identity": 74,
                    "FieldOne": "Field Value 74",
                    "FieldTwo": "Field Value 74a"
                  },
                  {
                    "Identity": 75,
                    "FieldOne": "Field Value 75",
                    "FieldTwo": "Field Value 75a"
                  },
                  {
                    "Identity": 76,
                    "FieldOne": "Field Value 76",
                    "FieldTwo": "Field Value 76a"
                  },
                  {
                    "Identity": 77,
                    "FieldOne": "Field Value 77",
                    "FieldTwo": "Field Value 77a"
                  },
                  {
                    "Identity": 78,
                    "FieldOne": "Field Value 78",
                    "FieldTwo": "Field Value 78a"
                  },
                  {
                    "Identity": 79,
                    "FieldOne": "Field Value 79",
                    "FieldTwo": "Field Value 79a"
                  },
                  {
                    "Identity": 80,
                    "FieldOne": "Field Value 80",
                    "FieldTwo": "Field Value 80a"
                  },
                  {
                    "Identity": 81,
                    "FieldOne": "Field Value 81",
                    "FieldTwo": "Field Value 81a"
                  },
                  {
                    "Identity": 82,
                    "FieldOne": "Field Value 82",
                    "FieldTwo": "Field Value 82a"
                  },
                  {
                    "Identity": 83,
                    "FieldOne": "Field Value 83",
                    "FieldTwo": "Field Value 83a"
                  },
                  {
                    "Identity": 84,
                    "FieldOne": "Field Value 84",
                    "FieldTwo": "Field Value 84a"
                  },
                  {
                    "Identity": 85,
                    "FieldOne": "Field Value 85",
                    "FieldTwo": "Field Value 85a"
                  },
                  {
                    "Identity": 86,
                    "FieldOne": "Field Value 86",
                    "FieldTwo": "Field Value 86a"
                  },
                  {
                    "Identity": 87,
                    "FieldOne": "Field Value 87",
                    "FieldTwo": "Field Value 87a"
                  },
                  {
                    "Identity": 88,
                    "FieldOne": "Field Value 88",
                    "FieldTwo": "Field Value 88a"
                  },
                  {
                    "Identity": 89,
                    "FieldOne": "Field Value 89",
                    "FieldTwo": "Field Value 89a"
                  },
                  {
                    "Identity": 90,
                    "FieldOne": "Field Value 90",
                    "FieldTwo": "Field Value 90a"
                  },
                  {
                    "Identity": 91,
                    "FieldOne": "Field Value 91",
                    "FieldTwo": "Field Value 91a"
                  },
                  {
                    "Identity": 92,
                    "FieldOne": "Field Value 92",
                    "FieldTwo": "Field Value 92a"
                  },
                  {
                    "Identity": 93,
                    "FieldOne": "Field Value 93",
                    "FieldTwo": "Field Value 93a"
                  },
                  {
                    "Identity": 94,
                    "FieldOne": "Field Value 94",
                    "FieldTwo": "Field Value 94a"
                  },
                  {
                    "Identity": 95,
                    "FieldOne": "Field Value 95",
                    "FieldTwo": "Field Value 95a"
                  },
                  {
                    "Identity": 96,
                    "FieldOne": "Field Value 96",
                    "FieldTwo": "Field Value 96a"
                  },
                  {
                    "Identity": 97,
                    "FieldOne": "Field Value 97",
                    "FieldTwo": "Field Value 97a"
                  },
                  {
                    "Identity": 98,
                    "FieldOne": "Field Value 98",
                    "FieldTwo": "Field Value 98a"
                  },
                  {
                    "Identity": 99,
                    "FieldOne": "Field Value 99",
                    "FieldTwo": "Field Value 99a"
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Integration"
        ],
        "summary": "return data from the specifed integration, variables may be passed for use in the data source",
        "operationId": "Integration_GetDataWithVariables",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of integration",
            "required": true,
            "type": "string"
          },
          {
            "name": "variables",
            "in": "body",
            "description": "(List of RequestVariable) variables to be applied to the data source",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RequestVariable"
              }
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(int) page size",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "page",
            "in": "query",
            "description": "(int) current page - first page is page 1",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "requestId",
            "in": "query",
            "description": "(guid) identifier of cached data - used when paging",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/DataSourceDataModel"
            },
            "examples": {
              "application/json": {
                "RequestId": "47e12d36-1659-440b-84ca-bbaad3640b18",
                "RecordCount": 1000,
                "CurrentPage": 1,
                "PageSize": 100,
                "Columns": [
                  {
                    "Item1": "Identity",
                    "Item2": "System.Int32"
                  },
                  {
                    "Item1": "FieldOne",
                    "Item2": "System.String"
                  },
                  {
                    "Item1": "FieldTwo",
                    "Item2": "System.String"
                  }
                ],
                "Rows": [
                  {
                    "Identity": 0,
                    "FieldOne": "Field Value 0",
                    "FieldTwo": "Field Value 0a"
                  },
                  {
                    "Identity": 1,
                    "FieldOne": "Field Value 1",
                    "FieldTwo": "Field Value 1a"
                  },
                  {
                    "Identity": 2,
                    "FieldOne": "Field Value 2",
                    "FieldTwo": "Field Value 2a"
                  },
                  {
                    "Identity": 3,
                    "FieldOne": "Field Value 3",
                    "FieldTwo": "Field Value 3a"
                  },
                  {
                    "Identity": 4,
                    "FieldOne": "Field Value 4",
                    "FieldTwo": "Field Value 4a"
                  },
                  {
                    "Identity": 5,
                    "FieldOne": "Field Value 5",
                    "FieldTwo": "Field Value 5a"
                  },
                  {
                    "Identity": 6,
                    "FieldOne": "Field Value 6",
                    "FieldTwo": "Field Value 6a"
                  },
                  {
                    "Identity": 7,
                    "FieldOne": "Field Value 7",
                    "FieldTwo": "Field Value 7a"
                  },
                  {
                    "Identity": 8,
                    "FieldOne": "Field Value 8",
                    "FieldTwo": "Field Value 8a"
                  },
                  {
                    "Identity": 9,
                    "FieldOne": "Field Value 9",
                    "FieldTwo": "Field Value 9a"
                  },
                  {
                    "Identity": 10,
                    "FieldOne": "Field Value 10",
                    "FieldTwo": "Field Value 10a"
                  },
                  {
                    "Identity": 11,
                    "FieldOne": "Field Value 11",
                    "FieldTwo": "Field Value 11a"
                  },
                  {
                    "Identity": 12,
                    "FieldOne": "Field Value 12",
                    "FieldTwo": "Field Value 12a"
                  },
                  {
                    "Identity": 13,
                    "FieldOne": "Field Value 13",
                    "FieldTwo": "Field Value 13a"
                  },
                  {
                    "Identity": 14,
                    "FieldOne": "Field Value 14",
                    "FieldTwo": "Field Value 14a"
                  },
                  {
                    "Identity": 15,
                    "FieldOne": "Field Value 15",
                    "FieldTwo": "Field Value 15a"
                  },
                  {
                    "Identity": 16,
                    "FieldOne": "Field Value 16",
                    "FieldTwo": "Field Value 16a"
                  },
                  {
                    "Identity": 17,
                    "FieldOne": "Field Value 17",
                    "FieldTwo": "Field Value 17a"
                  },
                  {
                    "Identity": 18,
                    "FieldOne": "Field Value 18",
                    "FieldTwo": "Field Value 18a"
                  },
                  {
                    "Identity": 19,
                    "FieldOne": "Field Value 19",
                    "FieldTwo": "Field Value 19a"
                  },
                  {
                    "Identity": 20,
                    "FieldOne": "Field Value 20",
                    "FieldTwo": "Field Value 20a"
                  },
                  {
                    "Identity": 21,
                    "FieldOne": "Field Value 21",
                    "FieldTwo": "Field Value 21a"
                  },
                  {
                    "Identity": 22,
                    "FieldOne": "Field Value 22",
                    "FieldTwo": "Field Value 22a"
                  },
                  {
                    "Identity": 23,
                    "FieldOne": "Field Value 23",
                    "FieldTwo": "Field Value 23a"
                  },
                  {
                    "Identity": 24,
                    "FieldOne": "Field Value 24",
                    "FieldTwo": "Field Value 24a"
                  },
                  {
                    "Identity": 25,
                    "FieldOne": "Field Value 25",
                    "FieldTwo": "Field Value 25a"
                  },
                  {
                    "Identity": 26,
                    "FieldOne": "Field Value 26",
                    "FieldTwo": "Field Value 26a"
                  },
                  {
                    "Identity": 27,
                    "FieldOne": "Field Value 27",
                    "FieldTwo": "Field Value 27a"
                  },
                  {
                    "Identity": 28,
                    "FieldOne": "Field Value 28",
                    "FieldTwo": "Field Value 28a"
                  },
                  {
                    "Identity": 29,
                    "FieldOne": "Field Value 29",
                    "FieldTwo": "Field Value 29a"
                  },
                  {
                    "Identity": 30,
                    "FieldOne": "Field Value 30",
                    "FieldTwo": "Field Value 30a"
                  },
                  {
                    "Identity": 31,
                    "FieldOne": "Field Value 31",
                    "FieldTwo": "Field Value 31a"
                  },
                  {
                    "Identity": 32,
                    "FieldOne": "Field Value 32",
                    "FieldTwo": "Field Value 32a"
                  },
                  {
                    "Identity": 33,
                    "FieldOne": "Field Value 33",
                    "FieldTwo": "Field Value 33a"
                  },
                  {
                    "Identity": 34,
                    "FieldOne": "Field Value 34",
                    "FieldTwo": "Field Value 34a"
                  },
                  {
                    "Identity": 35,
                    "FieldOne": "Field Value 35",
                    "FieldTwo": "Field Value 35a"
                  },
                  {
                    "Identity": 36,
                    "FieldOne": "Field Value 36",
                    "FieldTwo": "Field Value 36a"
                  },
                  {
                    "Identity": 37,
                    "FieldOne": "Field Value 37",
                    "FieldTwo": "Field Value 37a"
                  },
                  {
                    "Identity": 38,
                    "FieldOne": "Field Value 38",
                    "FieldTwo": "Field Value 38a"
                  },
                  {
                    "Identity": 39,
                    "FieldOne": "Field Value 39",
                    "FieldTwo": "Field Value 39a"
                  },
                  {
                    "Identity": 40,
                    "FieldOne": "Field Value 40",
                    "FieldTwo": "Field Value 40a"
                  },
                  {
                    "Identity": 41,
                    "FieldOne": "Field Value 41",
                    "FieldTwo": "Field Value 41a"
                  },
                  {
                    "Identity": 42,
                    "FieldOne": "Field Value 42",
                    "FieldTwo": "Field Value 42a"
                  },
                  {
                    "Identity": 43,
                    "FieldOne": "Field Value 43",
                    "FieldTwo": "Field Value 43a"
                  },
                  {
                    "Identity": 44,
                    "FieldOne": "Field Value 44",
                    "FieldTwo": "Field Value 44a"
                  },
                  {
                    "Identity": 45,
                    "FieldOne": "Field Value 45",
                    "FieldTwo": "Field Value 45a"
                  },
                  {
                    "Identity": 46,
                    "FieldOne": "Field Value 46",
                    "FieldTwo": "Field Value 46a"
                  },
                  {
                    "Identity": 47,
                    "FieldOne": "Field Value 47",
                    "FieldTwo": "Field Value 47a"
                  },
                  {
                    "Identity": 48,
                    "FieldOne": "Field Value 48",
                    "FieldTwo": "Field Value 48a"
                  },
                  {
                    "Identity": 49,
                    "FieldOne": "Field Value 49",
                    "FieldTwo": "Field Value 49a"
                  },
                  {
                    "Identity": 50,
                    "FieldOne": "Field Value 50",
                    "FieldTwo": "Field Value 50a"
                  },
                  {
                    "Identity": 51,
                    "FieldOne": "Field Value 51",
                    "FieldTwo": "Field Value 51a"
                  },
                  {
                    "Identity": 52,
                    "FieldOne": "Field Value 52",
                    "FieldTwo": "Field Value 52a"
                  },
                  {
                    "Identity": 53,
                    "FieldOne": "Field Value 53",
                    "FieldTwo": "Field Value 53a"
                  },
                  {
                    "Identity": 54,
                    "FieldOne": "Field Value 54",
                    "FieldTwo": "Field Value 54a"
                  },
                  {
                    "Identity": 55,
                    "FieldOne": "Field Value 55",
                    "FieldTwo": "Field Value 55a"
                  },
                  {
                    "Identity": 56,
                    "FieldOne": "Field Value 56",
                    "FieldTwo": "Field Value 56a"
                  },
                  {
                    "Identity": 57,
                    "FieldOne": "Field Value 57",
                    "FieldTwo": "Field Value 57a"
                  },
                  {
                    "Identity": 58,
                    "FieldOne": "Field Value 58",
                    "FieldTwo": "Field Value 58a"
                  },
                  {
                    "Identity": 59,
                    "FieldOne": "Field Value 59",
                    "FieldTwo": "Field Value 59a"
                  },
                  {
                    "Identity": 60,
                    "FieldOne": "Field Value 60",
                    "FieldTwo": "Field Value 60a"
                  },
                  {
                    "Identity": 61,
                    "FieldOne": "Field Value 61",
                    "FieldTwo": "Field Value 61a"
                  },
                  {
                    "Identity": 62,
                    "FieldOne": "Field Value 62",
                    "FieldTwo": "Field Value 62a"
                  },
                  {
                    "Identity": 63,
                    "FieldOne": "Field Value 63",
                    "FieldTwo": "Field Value 63a"
                  },
                  {
                    "Identity": 64,
                    "FieldOne": "Field Value 64",
                    "FieldTwo": "Field Value 64a"
                  },
                  {
                    "Identity": 65,
                    "FieldOne": "Field Value 65",
                    "FieldTwo": "Field Value 65a"
                  },
                  {
                    "Identity": 66,
                    "FieldOne": "Field Value 66",
                    "FieldTwo": "Field Value 66a"
                  },
                  {
                    "Identity": 67,
                    "FieldOne": "Field Value 67",
                    "FieldTwo": "Field Value 67a"
                  },
                  {
                    "Identity": 68,
                    "FieldOne": "Field Value 68",
                    "FieldTwo": "Field Value 68a"
                  },
                  {
                    "Identity": 69,
                    "FieldOne": "Field Value 69",
                    "FieldTwo": "Field Value 69a"
                  },
                  {
                    "Identity": 70,
                    "FieldOne": "Field Value 70",
                    "FieldTwo": "Field Value 70a"
                  },
                  {
                    "Identity": 71,
                    "FieldOne": "Field Value 71",
                    "FieldTwo": "Field Value 71a"
                  },
                  {
                    "Identity": 72,
                    "FieldOne": "Field Value 72",
                    "FieldTwo": "Field Value 72a"
                  },
                  {
                    "Identity": 73,
                    "FieldOne": "Field Value 73",
                    "FieldTwo": "Field Value 73a"
                  },
                  {
                    "Identity": 74,
                    "FieldOne": "Field Value 74",
                    "FieldTwo": "Field Value 74a"
                  },
                  {
                    "Identity": 75,
                    "FieldOne": "Field Value 75",
                    "FieldTwo": "Field Value 75a"
                  },
                  {
                    "Identity": 76,
                    "FieldOne": "Field Value 76",
                    "FieldTwo": "Field Value 76a"
                  },
                  {
                    "Identity": 77,
                    "FieldOne": "Field Value 77",
                    "FieldTwo": "Field Value 77a"
                  },
                  {
                    "Identity": 78,
                    "FieldOne": "Field Value 78",
                    "FieldTwo": "Field Value 78a"
                  },
                  {
                    "Identity": 79,
                    "FieldOne": "Field Value 79",
                    "FieldTwo": "Field Value 79a"
                  },
                  {
                    "Identity": 80,
                    "FieldOne": "Field Value 80",
                    "FieldTwo": "Field Value 80a"
                  },
                  {
                    "Identity": 81,
                    "FieldOne": "Field Value 81",
                    "FieldTwo": "Field Value 81a"
                  },
                  {
                    "Identity": 82,
                    "FieldOne": "Field Value 82",
                    "FieldTwo": "Field Value 82a"
                  },
                  {
                    "Identity": 83,
                    "FieldOne": "Field Value 83",
                    "FieldTwo": "Field Value 83a"
                  },
                  {
                    "Identity": 84,
                    "FieldOne": "Field Value 84",
                    "FieldTwo": "Field Value 84a"
                  },
                  {
                    "Identity": 85,
                    "FieldOne": "Field Value 85",
                    "FieldTwo": "Field Value 85a"
                  },
                  {
                    "Identity": 86,
                    "FieldOne": "Field Value 86",
                    "FieldTwo": "Field Value 86a"
                  },
                  {
                    "Identity": 87,
                    "FieldOne": "Field Value 87",
                    "FieldTwo": "Field Value 87a"
                  },
                  {
                    "Identity": 88,
                    "FieldOne": "Field Value 88",
                    "FieldTwo": "Field Value 88a"
                  },
                  {
                    "Identity": 89,
                    "FieldOne": "Field Value 89",
                    "FieldTwo": "Field Value 89a"
                  },
                  {
                    "Identity": 90,
                    "FieldOne": "Field Value 90",
                    "FieldTwo": "Field Value 90a"
                  },
                  {
                    "Identity": 91,
                    "FieldOne": "Field Value 91",
                    "FieldTwo": "Field Value 91a"
                  },
                  {
                    "Identity": 92,
                    "FieldOne": "Field Value 92",
                    "FieldTwo": "Field Value 92a"
                  },
                  {
                    "Identity": 93,
                    "FieldOne": "Field Value 93",
                    "FieldTwo": "Field Value 93a"
                  },
                  {
                    "Identity": 94,
                    "FieldOne": "Field Value 94",
                    "FieldTwo": "Field Value 94a"
                  },
                  {
                    "Identity": 95,
                    "FieldOne": "Field Value 95",
                    "FieldTwo": "Field Value 95a"
                  },
                  {
                    "Identity": 96,
                    "FieldOne": "Field Value 96",
                    "FieldTwo": "Field Value 96a"
                  },
                  {
                    "Identity": 97,
                    "FieldOne": "Field Value 97",
                    "FieldTwo": "Field Value 97a"
                  },
                  {
                    "Identity": 98,
                    "FieldOne": "Field Value 98",
                    "FieldTwo": "Field Value 98a"
                  },
                  {
                    "Identity": 99,
                    "FieldOne": "Field Value 99",
                    "FieldTwo": "Field Value 99a"
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/{id}/history": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "returns process history records for the specified integration",
        "operationId": "Integration_GetHistory",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "maxRecords",
            "in": "query",
            "description": "",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ProcessHistoryModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "HistoryId": "05a27d60-c501-4e4c-96a8-099f4b8973bc",
                  "Id": "SAMPLE_ONE",
                  "Key": "923c4929-7b98-49a0-b781-d2faf054ffaa",
                  "Description": "Sample Integration One",
                  "RunNumber": 1238,
                  "RecordCount": 25,
                  "Successful": true,
                  "ErrorCount": 0,
                  "ErrorsSaved": false,
                  "OutputsSaved": false,
                  "Email": "sample@eonesolutions.com",
                  "StartTime": "2026-11-13T06:02:45.7913Z",
                  "EndTime": "2026-11-13T06:03:45.7913Z",
                  "RunType": "Manual"
                },
                {
                  "HistoryId": "7cc6a871-fe05-4f1a-ad3b-f4a5ff872766",
                  "Id": "SAMPLE_ONE",
                  "Key": "52300300-a661-42db-a731-fcb18df63507",
                  "Description": "Sample Integration One",
                  "RunNumber": 1239,
                  "RecordCount": 46,
                  "Successful": false,
                  "ErrorCount": 6,
                  "ErrorsSaved": true,
                  "OutputsSaved": true,
                  "Email": "sample@eonesolutions.com",
                  "StartTime": "2026-11-12T06:02:45.7913Z",
                  "EndTime": "2026-11-12T06:03:45.7913Z",
                  "RunType": "WebApi"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/{id}/errors": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "returns process error records for the specified integration",
        "operationId": "Integration_GetErrors",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of the required integration",
            "required": true,
            "type": "string"
          },
          {
            "name": "maxRecords",
            "in": "query",
            "description": "(int) default 10, number of error records to return, 0 returns all records",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ProcessErrorModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Key": "1905b4e1-a009-48ce-9005-cf3cdc3d2ceb",
                  "Id": "SAMPLE_ONE",
                  "Description": "Sample BC to CRM Customers",
                  "RunNumber": 98567,
                  "RunTenants": [
                    {
                      "ErrorId": "06de1eda-1917-4cfb-bf2a-8a0d28e94e0a",
                      "TenantServer": "crm4.dynamic.com",
                      "TenantTechnical": "org99999999",
                      "ErrorCount": 2,
                      "ErrorData": null,
                      "GetNextErrorsUri": "",
                      "GetErrorsUri": ""
                    },
                    {
                      "ErrorId": "ec4774b9-24dd-484b-8d8c-0a01dd8fc870",
                      "TenantServer": "crm4.dynamic.com",
                      "TenantTechnical": "org99999998",
                      "ErrorCount": 1,
                      "ErrorData": null,
                      "GetNextErrorsUri": "",
                      "GetErrorsUri": ""
                    }
                  ]
                },
                {
                  "Key": "e205483c-a6bf-43e2-b575-fc6b4480a153",
                  "Id": "SAMPLE_ONE",
                  "Description": "Sample BC to CRM Customers",
                  "RunNumber": 98566,
                  "RunTenants": [
                    {
                      "ErrorId": "d7b61ac8-b8d0-4f89-98af-bbfe88feeabc",
                      "TenantServer": "crm4.dynamic.com",
                      "TenantTechnical": "org99999999",
                      "ErrorCount": 1,
                      "ErrorData": null,
                      "GetNextErrorsUri": "",
                      "GetErrorsUri": ""
                    }
                  ]
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/{id}/error/{runNumber}": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "return process error model for the specified integration and run number",
        "operationId": "Integration_GetErrorsForRun",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of the required integration",
            "required": true,
            "type": "string"
          },
          {
            "name": "runNumber",
            "in": "path",
            "description": "(long) run number of the required error run",
            "required": true,
            "type": "integer",
            "format": "int64"
          },
          {
            "name": "includeErrorData",
            "in": "query",
            "description": "(bool) default false, include the error records in the returned object",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ProcessErrorModel"
            },
            "examples": {
              "application/json": {
                "Key": "849e8a1a-cc30-4c8c-af40-ad5fdfcf9627",
                "Id": "SAMPLE_ONE",
                "Description": "Sample BC to CRM Customers",
                "RunNumber": 98567,
                "RunTenants": [
                  {
                    "ErrorId": "a460b47a-c89e-4c47-81a6-f10ce0829a61",
                    "TenantServer": "crm4.dynamic.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 2,
                    "ErrorData": {
                      "CurrentPage": 1,
                      "PageSize": 1000,
                      "RecordCount": 2,
                      "Columns": [
                        {
                          "Key": "Name",
                          "Value": "System.String"
                        },
                        {
                          "Key": "Code",
                          "Value": "System.String"
                        },
                        {
                          "Key": "Type",
                          "Value": "System.String"
                        },
                        {
                          "Key": "EONERUNIDENT",
                          "Value": "System.Guid"
                        },
                        {
                          "Key": "EONERUNERRORS",
                          "Value": "System.String"
                        }
                      ],
                      "Rows": [
                        {
                          "Name": "Sample Customer One",
                          "Code": "SAMPLE01",
                          "Type": "Retail Customer",
                          "EONERUNIDENT": "dcfc7cbc-f7e4-4e73-bc44-a1da203bdfa8",
                          "EONERUNERRORS": "Customer already exists and update if exists is not selected"
                        },
                        {
                          "Name": "Sample Customer Two",
                          "Code": "SAMPLE02",
                          "Type": "Wholesale Customer",
                          "EONERUNIDENT": "6f22c74f-f58a-4cd7-bf0d-0aa13eb8996c",
                          "EONERUNERRORS": "Customer already exists and update if exists is not selected"
                        }
                      ],
                      "NextPageUri": null
                    },
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": ""
                  },
                  {
                    "ErrorId": "2da00a4e-e57b-4133-a988-9cf2366030e7",
                    "TenantServer": "crm4.dynamic.com",
                    "TenantTechnical": "org99999998",
                    "ErrorCount": 1,
                    "ErrorData": {
                      "CurrentPage": 1,
                      "PageSize": 1000,
                      "RecordCount": 2,
                      "Columns": [
                        {
                          "Key": "Name",
                          "Value": "System.String"
                        },
                        {
                          "Key": "Code",
                          "Value": "System.String"
                        },
                        {
                          "Key": "Type",
                          "Value": "System.String"
                        },
                        {
                          "Key": "EONERUNIDENT",
                          "Value": "System.Guid"
                        },
                        {
                          "Key": "EONERUNERRORS",
                          "Value": "System.String"
                        }
                      ],
                      "Rows": [
                        {
                          "Name": "Sample Customer Three",
                          "Code": "SAMPLE03",
                          "Type": "Retail Customer",
                          "EONERUNIDENT": "1634caab-7571-45be-9057-ac8fb99b2d42",
                          "EONERUNERRORS": "Customer already exists and update if exists is not selected"
                        }
                      ],
                      "NextPageUri": null
                    },
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": ""
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/{id}/output": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "return file outputs for the specified integration, optional run number",
        "operationId": "Integration_GetOutputs",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) identifier of the required integration",
            "required": true,
            "type": "string"
          },
          {
            "name": "runNumber",
            "in": "query",
            "description": "(long) optional, run number of the integration",
            "required": false,
            "type": "integer",
            "format": "int64"
          },
          {
            "name": "maxRecords",
            "in": "query",
            "description": "(int) default 10, number of error records to return, 0 returns all records",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration/groups": {
      "get": {
        "tags": [
          "Integration"
        ],
        "summary": "return integration group list, optional return used only",
        "operationId": "Integration_GetIntegrationGroups",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "usedOnly",
            "in": "query",
            "description": "(bool) optional, return used integration groups only",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationGroupModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "623589f8-72e0-4713-b507-fd9076f819aa",
                  "Name": "Integration Group One",
                  "GroupColor": "#1d6619",
                  "TextColor": "#ffffff"
                },
                {
                  "Id": "6e35f2ea-75dc-43f7-9815-38f0d6444366",
                  "Name": "Integration Group Two",
                  "GroupColor": "#1a54cf",
                  "TextColor": "#ffffff"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration-groups": {
      "get": {
        "tags": [
          "IntegrationGroups"
        ],
        "summary": "Returns a list of integration groups, optionally returns only used groups",
        "operationId": "IntegrationGroups_GetGroups",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "usedOnly",
            "in": "query",
            "description": "(bool) optional, default false - true if only used groups are to be returned",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationGroupModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "5546c5fb-ccdc-4b60-a01f-2a59c7f619fb",
                  "Name": "Integration Group One",
                  "GroupColor": "#1d6619",
                  "TextColor": "#ffffff"
                },
                {
                  "Id": "75d98099-9dea-4f73-8b9d-798ea39c1469",
                  "Name": "Integration Group Two",
                  "GroupColor": "#1a54cf",
                  "TextColor": "#ffffff"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "IntegrationGroups"
        ],
        "summary": "Create a new integration group",
        "operationId": "IntegrationGroups_CreateGroup",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "groupModel",
            "in": "body",
            "description": "(IntegrationGroupRequest) json model for the integration group",
            "required": true,
            "schema": {
              "$ref": "#/definitions/IntegrationGroupRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/integration-groups/{id}": {
      "post": {
        "tags": [
          "IntegrationGroups"
        ],
        "summary": "Update an integration group",
        "operationId": "IntegrationGroups_UpdateGroup",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) integration group identifier",
            "required": true,
            "type": "string"
          },
          {
            "name": "groupModel",
            "in": "body",
            "description": "(string) json model for the integration group",
            "required": true,
            "schema": {
              "$ref": "#/definitions/IntegrationGroupRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "IntegrationGroups"
        ],
        "summary": "Delete an integration group",
        "operationId": "IntegrationGroups_DeleteGroup",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid) integration group identifier",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "return a list of enum types for the SmartConnect API",
        "operationId": "Metadata_GetMetadata",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/MetadataModel"
            },
            "examples": {
              "application/json": {
                "ConnectionTypes": [
                  {
                    "Key": "file",
                    "Description": "File"
                  },
                  {
                    "Key": "genericrest",
                    "Description": "REST Service"
                  },
                  {
                    "Key": "legacy",
                    "Description": "Legacy On Premise"
                  },
                  {
                    "Key": "mscrm",
                    "Description": "Dyanmics 365 Customer Engagement"
                  },
                  {
                    "Key": "msgp",
                    "Description": "Dynamics Great Plains"
                  },
                  {
                    "Key": "msfinops",
                    "Description": "Dynamics 365 Finance & Operations"
                  },
                  {
                    "Key": "msgraphodata",
                    "Description": "Microsoft Graph"
                  },
                  {
                    "Key": "msnavodata",
                    "Description": "Dynamics 365 Business Central Odata"
                  },
                  {
                    "Key": "mssql",
                    "Description": "Microsoft SQL Server"
                  },
                  {
                    "Key": "nav",
                    "Description": "Dynamics 365 Business Central Soap"
                  },
                  {
                    "Key": "netsuite",
                    "Description": "NetSuite"
                  },
                  {
                    "Key": "odbc",
                    "Description": "ODBC Driver"
                  },
                  {
                    "Key": "oledb",
                    "Description": "OLEDB Driver"
                  },
                  {
                    "Key": "popdock",
                    "Description": "Popdock"
                  },
                  {
                    "Key": "rest",
                    "Description": "Legacy REST"
                  },
                  {
                    "Key": "salesforce",
                    "Description": "Salesforce"
                  },
                  {
                    "Key": "slack",
                    "Description": "Slack"
                  },
                  {
                    "Key": "trello",
                    "Description": "Trello"
                  },
                  {
                    "Key": "webservice",
                    "Description": "WCF Service"
                  },
                  {
                    "Key": "other",
                    "Description": "Other"
                  }
                ],
                "ExtenderTypes": [
                  {
                    "Key": "window",
                    "Description": "Extender window"
                  },
                  {
                    "Key": "form",
                    "Description": "Extender form"
                  },
                  {
                    "Key": "detailform",
                    "Description": "Extender detail form"
                  },
                  {
                    "Key": "detailwindow",
                    "Description": "Extender detail window"
                  },
                  {
                    "Key": "none",
                    "Description": "All types"
                  }
                ],
                "SmartConnectSystems": [
                  {
                    "Key": "dotcom",
                    "Description": "SmartConnect.com"
                  },
                  {
                    "Key": "local",
                    "Description": "SmartConnect On Premise"
                  }
                ],
                "SourceTypes": [
                  {
                    "Key": "change",
                    "Description": "Change data sources"
                  },
                  {
                    "Key": "file",
                    "Description": "File data sources"
                  },
                  {
                    "Key": "folder",
                    "Description": "Folder data sources"
                  },
                  {
                    "Key": "query",
                    "Description": "Query data sources"
                  },
                  {
                    "Key": "realtime",
                    "Description": "Real-time data sources"
                  }
                ],
                "ScheduleTypes": [
                  {
                    "Key": "daily",
                    "Description": "Daily"
                  },
                  {
                    "Key": "monthly",
                    "Description": "Monthly"
                  },
                  {
                    "Key": "runonce",
                    "Description": "Run once"
                  },
                  {
                    "Key": "weekly",
                    "Description": "Weekly"
                  }
                ],
                "ScheduleStatus": [
                  {
                    "Key": "active",
                    "Description": "Active"
                  },
                  {
                    "Key": "inactive",
                    "Description": "Inactive"
                  }
                ],
                "DaysOfTheWeek": [
                  {
                    "Key": "Sunday",
                    "Description": "Sunday"
                  },
                  {
                    "Key": "Monday",
                    "Description": "Monday"
                  },
                  {
                    "Key": "Tuesday",
                    "Description": "Tuesday"
                  },
                  {
                    "Key": "Wednesday",
                    "Description": "Wednesday"
                  },
                  {
                    "Key": "Thursday",
                    "Description": "Thursday"
                  },
                  {
                    "Key": "Friday",
                    "Description": "Friday"
                  },
                  {
                    "Key": "Saturday",
                    "Description": "Saturday"
                  }
                ],
                "WhichWeek": [
                  {
                    "Key": "FirstWeek",
                    "Description": "First week of the month"
                  },
                  {
                    "Key": "SecondWeek",
                    "Description": "Second week of the month"
                  },
                  {
                    "Key": "ThirdWeek",
                    "Description": "Third week of the month"
                  },
                  {
                    "Key": "FourthWeek",
                    "Description": "Fourth week of the month"
                  },
                  {
                    "Key": "LastWeek",
                    "Description": "Last week of the month"
                  }
                ],
                "MonthsOfTheYear": [
                  {
                    "Key": "January",
                    "Description": "January"
                  },
                  {
                    "Key": "February",
                    "Description": "February"
                  },
                  {
                    "Key": "March",
                    "Description": "March"
                  },
                  {
                    "Key": "April",
                    "Description": "April"
                  },
                  {
                    "Key": "May",
                    "Description": "May"
                  },
                  {
                    "Key": "June",
                    "Description": "June"
                  },
                  {
                    "Key": "July",
                    "Description": "July"
                  },
                  {
                    "Key": "August",
                    "Description": "August"
                  },
                  {
                    "Key": "September",
                    "Description": "September"
                  },
                  {
                    "Key": "October",
                    "Description": "October"
                  },
                  {
                    "Key": "November",
                    "Description": "November"
                  },
                  {
                    "Key": "December",
                    "Description": "December"
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta/connection-types": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "returns a list of valid connector types",
        "operationId": "Metadata_GetConnectionTypes",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EnumTypeModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Key": "standard",
                  "Description": "Standard"
                },
                {
                  "Key": "premium",
                  "Description": "Premium"
                },
                {
                  "Key": "legacy",
                  "Description": "Legacy"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta/extender-types": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "returns a list of valid extender types",
        "operationId": "Metadata_GetExtenderTypes",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EnumTypeModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Key": "window",
                  "Description": "Extender window"
                },
                {
                  "Key": "form",
                  "Description": "Extender form"
                },
                {
                  "Key": "detailform",
                  "Description": "Extender detail form"
                },
                {
                  "Key": "detailwindow",
                  "Description": "Extender detail window"
                },
                {
                  "Key": "none",
                  "Description": "All types"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta/smartconnect-system": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "returns a list of valid smartconnect system types",
        "operationId": "Metadata_GetSystems",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EnumTypeModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Key": "dotcom",
                  "Description": "SmartConnect.com"
                },
                {
                  "Key": "local",
                  "Description": "SmartConnect On Premise"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta/source-types": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "returns a list of valid source types",
        "operationId": "Metadata_GetSourceTypes",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EnumTypeModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Key": "change",
                  "Description": "Change data sources"
                },
                {
                  "Key": "file",
                  "Description": "File data sources"
                },
                {
                  "Key": "folder",
                  "Description": "Folder data sources"
                },
                {
                  "Key": "query",
                  "Description": "Query data sources"
                },
                {
                  "Key": "realtime",
                  "Description": "Real-time data sources"
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta/weekdays": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "returns a list of valid DaysOfTheWeek enum items",
        "operationId": "Metadata_GetDaysOfWeek",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta/weeks": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "returns a list of WhichWeek enum items",
        "operationId": "Metadata_GetWhichWeeks",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/$meta/Months": {
      "get": {
        "tags": [
          "Metadata"
        ],
        "summary": "return a list of MonthsOfTheYear enum items",
        "operationId": "Metadata_MonthOfTheYear",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/run-integration/{id}": {
      "get": {
        "tags": [
          "RunIntegration"
        ],
        "summary": "runs the specified process",
        "operationId": "RunIntegration_RunMapGet",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid/string) process identifier",
            "required": true,
            "type": "string"
          },
          {
            "name": "returnErrors",
            "in": "query",
            "description": "(bool) optional, default false, return the process run error table",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "returnProcessErrors",
            "in": "query",
            "description": "(bool) optional, default false, return the process errors tenant records",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "maxRows",
            "in": "query",
            "description": "(int) optional, default 100, max number of error table rows to return",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "outputXml",
            "in": "query",
            "description": "(bool) optional, return xml file output",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/RunIntegrationModel"
            },
            "examples": {
              "application/json": {
                "Key": "bd6eada8-591b-4ab2-9ce8-c6f1f0c603ba",
                "Id": "SAMPLE_ONE",
                "Description": "Sample Integration One",
                "RunNumber": 26,
                "Status": "Failed",
                "RecordCount": 2,
                "ErrorCount": 1,
                "Errors": {
                  "CurrentPage": 0,
                  "PageSize": 0,
                  "RecordCount": 0,
                  "Columns": null,
                  "Rows": null
                },
                "ProcessErrors": [
                  {
                    "ErrorId": "cf5ced21-8db3-4cdf-9b55-9ff1d59faa73",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/cf5ced21-8db3-4cdf-9b55-9ff1d59faa73"
                  },
                  {
                    "ErrorId": "78af0e50-709e-4fbc-b709-93349abd6f05",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/78af0e50-709e-4fbc-b709-93349abd6f05"
                  }
                ],
                "ErrorMessage": "The record already exists for CUSTNMBR = 'ALFK1' and update if exists was not checked",
                "ErrorsSaved": true,
                "OutputXml": null
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "RunIntegration"
        ],
        "summary": "runs the specified process and applies the supplied runtime variables",
        "operationId": "RunIntegration_RunMapPost",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(guid/string) process identifier",
            "required": true,
            "type": "string"
          },
          {
            "name": "requestData",
            "in": "body",
            "description": "RequestData object in body containing variables and or data to include in the process",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RequestData"
            }
          },
          {
            "name": "returnErrors",
            "in": "query",
            "description": "(bool) optional, default false, return the process run error table",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "returnProcessErrors",
            "in": "query",
            "description": "(bool) optional, default false, return the process errors tenant records",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "maxRows",
            "in": "query",
            "description": "(int) optional, default 100, max number of error table rows to return",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "outputXml",
            "in": "query",
            "description": "(bool) optional, return xml file output",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/RunIntegrationModel"
            },
            "examples": {
              "application/json": {
                "Key": "b16cec5b-7545-40d2-8722-2fed5435195e",
                "Id": "SAMPLE_ONE",
                "Description": "Sample Integration One",
                "RunNumber": 26,
                "Status": "Failed",
                "RecordCount": 2,
                "ErrorCount": 1,
                "Errors": {
                  "CurrentPage": 0,
                  "PageSize": 0,
                  "RecordCount": 0,
                  "Columns": null,
                  "Rows": null
                },
                "ProcessErrors": [
                  {
                    "ErrorId": "87733d48-5eb4-491b-a457-275a3d95d3ce",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/87733d48-5eb4-491b-a457-275a3d95d3ce"
                  },
                  {
                    "ErrorId": "9de72ca4-bdb5-4d94-b1c8-ba070718f7a1",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/9de72ca4-bdb5-4d94-b1c8-ba070718f7a1"
                  }
                ],
                "ErrorMessage": "The record already exists for CUSTNMBR = 'ALFK1' and update if exists was not checked",
                "ErrorsSaved": true,
                "OutputXml": null
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/schedule": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "summary": "Returns the list if schedules",
        "operationId": "Schedule_GetSchedules",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "scheduleStatus",
            "in": "query",
            "description": "Optional - string - active/inactive - returns schedules that match the provided status",
            "required": false,
            "type": "string",
            "enum": [
              "active",
              "inactive"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "c10c5763-7d0a-4574-a200-a258ed3f1da5",
                  "MapKey": "98f59da8-e079-44cc-b37f-5236b9aba562",
                  "MapId": "SCHEDULED_SALES_1",
                  "MapDescription": "Daily sales import",
                  "ScheduleType": 0,
                  "ScheduleStatus": 0,
                  "RunUser": "scheduled.user@eonesolutions.com",
                  "TimeZone": "America/Chicago",
                  "CurrentTimeZoneOffset": "-5",
                  "DeactivationReason": "",
                  "NextRunDateTimeUtc": "2026-11-14T06:12:45.8069241Z",
                  "LastFailDateTimeUtc": "2026-11-12T06:02:45.8069241Z",
                  "LastSuccessDateTimeUtc": "2026-11-13T06:02:45.8069241Z",
                  "Runs": null
                },
                {
                  "Id": "078183c3-d3f7-48df-b57f-d8007d221e68",
                  "MapKey": "1ecc7c1f-3bcc-4aa3-a40a-e22122e62e1c",
                  "MapId": "SCHEDULED_RECEIPTS_1",
                  "MapDescription": "Daily receipts import",
                  "ScheduleType": 0,
                  "ScheduleStatus": 0,
                  "RunUser": "scheduled.user@eonesolutions.com",
                  "TimeZone": "America/Chicago",
                  "CurrentTimeZoneOffset": "-5",
                  "DeactivationReason": "",
                  "NextRunDateTimeUtc": "2026-11-14T06:12:45.8069241Z",
                  "LastFailDateTimeUtc": "2026-11-12T06:02:45.8069241Z",
                  "LastSuccessDateTimeUtc": "2026-11-13T06:02:45.8069241Z",
                  "Runs": null
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Schedule"
        ],
        "summary": "Creates a new schedule",
        "operationId": "Schedule_CreateSchedule",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "schedule",
            "in": "body",
            "description": "CreateScheduleRequest - Json details of the schedule to be created",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CreateScheduleRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ScheduleModel"
            },
            "examples": {
              "application/json": {
                "Id": "bf694bf2-5bf1-41bd-ae1a-2171a2096b2b",
                "MapKey": "bc15b793-0cec-4dfe-b2d6-737824734514",
                "MapId": "SCHEDULED_SALES_1",
                "MapDescription": "Daily sales import",
                "ScheduleType": 0,
                "ScheduleStatus": 0,
                "RunUser": "scheduled.user@eonesolutions.com",
                "TimeZone": "America/Chicago",
                "CurrentTimeZoneOffset": "-5",
                "DeactivationReason": "",
                "NextRunDateTimeUtc": "2026-11-14T06:12:45.8225496Z",
                "LastFailDateTimeUtc": null,
                "LastSuccessDateTimeUtc": null,
                "Runs": null
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/schedule/{scheduleId}": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "summary": "return the schedule and last 10 runs for the specified schedule",
        "operationId": "Schedule_GetSchedule",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "description": "Guid - id of the required schedule",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ScheduleModel"
            },
            "examples": {
              "application/json": {
                "Id": "3f6b4300-cbcc-4fea-a299-61de2349ce81",
                "MapKey": "4de16aca-3cfa-489e-bf5f-4918ce0e2b92",
                "MapId": "SCHEDULED_MAP_1",
                "MapDescription": "Daily sales import",
                "ScheduleType": 0,
                "ScheduleStatus": 0,
                "RunUser": "scheduled.user@eonesolutions.com",
                "TimeZone": "America/Chicago",
                "CurrentTimeZoneOffset": "-5",
                "DeactivationReason": "",
                "NextRunDateTimeUtc": "2026-11-14T06:12:45.8225496Z",
                "LastFailDateTimeUtc": "2026-11-12T06:02:45.8225496Z",
                "LastSuccessDateTimeUtc": "2026-11-13T06:02:45.8225496Z",
                "Runs": [
                  {
                    "Id": "a260a58f-20c2-4c1b-8b34-a2e588c7d72b",
                    "SourceRecords": 98,
                    "RunNumber": 2954,
                    "Status": 1,
                    "StartTimeUtc": "2026-11-13T06:02:45.8225496Z",
                    "EndTimeUtc": "2026-11-13T06:04:45.8225496Z",
                    "ErrorMessage": "",
                    "NextRunDateTimeUtc": "2026-11-14T06:12:45.8225496Z",
                    "GetErrorMessageUrl": null
                  },
                  {
                    "Id": "10a2c194-1f23-4f3f-b9dd-9ff6b41082df",
                    "SourceRecords": 26,
                    "RunNumber": 2953,
                    "Status": 2,
                    "StartTimeUtc": "2026-11-12T06:02:45.8225496Z",
                    "EndTimeUtc": "2026-11-12T06:04:45.8225496Z",
                    "ErrorMessage": "",
                    "NextRunDateTimeUtc": "2026-11-13T06:02:45.8225496Z",
                    "GetErrorMessageUrl": null
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Schedule"
        ],
        "summary": "Deletes the specifed schedule",
        "operationId": "Schedule_DeleteSchedules",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "description": "Guid - id of the schedule to be deleted",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Schedule"
        ],
        "summary": "Updates the specified schedule",
        "operationId": "Schedule_UpdateSchedule",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "description": "Guid - id of the schedule to be updated",
            "required": true,
            "type": "string"
          },
          {
            "name": "schedule",
            "in": "body",
            "description": "UpdateScheduleRequest - Json details of the updated schedule",
            "required": true,
            "schema": {
              "$ref": "#/definitions/UpdateScheduleRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleRunModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "573a8a19-f510-4199-8b54-48e21cbccbe9",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-13T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-14T06:12:45.8225496Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "c1d4d9c6-53cc-42d6-abba-d98d944286bb",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-11-12T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-12T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "GetErrorMessageUrl": null
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/schedule/{scheduleId}/runs": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "summary": "returns the last 100 runs for the specified schedule",
        "operationId": "Schedule_GetScheduleDetails",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "description": "Guid - id of the required schedule",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleRunModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "5131f106-8578-4cea-8f1c-80d097f6cbad",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-13T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-14T06:12:45.8225496Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "89c7c1a2-1976-44d2-840f-4932506395d4",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-11-12T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-12T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "GetErrorMessageUrl": null
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/schedule/{scheduleId}/runs/{runNumber}/error": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "summary": "returns the complete error message for the specified schedule run",
        "operationId": "Schedule_GetScheduleErrorDetails",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "description": "Guid - id of the required schedule",
            "required": true,
            "type": "string"
          },
          {
            "name": "runNumber",
            "in": "path",
            "description": "long - run number of the required schedule run",
            "required": true,
            "type": "integer",
            "format": "int64"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleRunModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "106acaad-2451-405b-8250-e291ac4678de",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-13T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-14T06:12:45.8225496Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "e301c206-547e-4d84-a121-dd3d53ea624d",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-11-12T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-12T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "GetErrorMessageUrl": null
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/schedule/{scheduleId}/runs/{runNumber}/integration": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "summary": "returns the complete integration error message for the specified schedule run",
        "operationId": "Schedule_GetScheduleIntegrationErrorDetails",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "description": "Guid - id of the required schedule",
            "required": true,
            "type": "string"
          },
          {
            "name": "runNumber",
            "in": "path",
            "description": "long - run number of the required schedule run",
            "required": true,
            "type": "integer",
            "format": "int64"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleRunModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "6a470de1-ee0b-40cd-a4df-19499f6acc80",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-13T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-14T06:12:45.8225496Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "39432f3b-5803-4109-9124-05fd114ad6df",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-11-12T06:02:45.8225496Z",
                  "EndTimeUtc": "2026-11-12T06:04:45.8225496Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-11-13T06:02:45.8225496Z",
                  "GetErrorMessageUrl": null
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/translation": {
      "get": {
        "tags": [
          "Translation"
        ],
        "summary": "returns list of translation tables for customer",
        "operationId": "Translation_GetList",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "includeDetail",
            "in": "query",
            "description": "(bool) Optional, default false, include translation table detail in list",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TranslationModel"
              }
            },
            "examples": {
              "application/json": [
                {
                  "Id": "87315b46-b600-4861-b463-0b914f01a72e",
                  "Key": "POSTCODES",
                  "Description": "Postcode to Suburb name",
                  "Lines": [
                    {
                      "From": "ND 58104",
                      "To": "North Pole"
                    },
                    {
                      "From": "2264",
                      "To": "Dora Creek, New South Wales"
                    },
                    {
                      "From": "3775",
                      "To": "Dixons Creek, Victoria"
                    },
                    {
                      "From": "4347",
                      "To": "Ma Ma Creek, Queensland"
                    },
                    {
                      "From": "4850",
                      "To": "Dalrymple Creek, Queensland"
                    }
                  ]
                },
                {
                  "Id": "f6558e3a-2118-4e14-9721-f743b531633d",
                  "Key": "COUNTRIES",
                  "Description": "Country code translation",
                  "Lines": [
                    {
                      "From": "AU",
                      "To": "Australia"
                    },
                    {
                      "From": "US",
                      "To": "United States"
                    },
                    {
                      "From": "UK",
                      "To": "United Kingdom"
                    }
                  ]
                }
              ]
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Translation"
        ],
        "summary": "creates a new translation table",
        "operationId": "Translation_CreateTranslationTable",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "translation",
            "in": "body",
            "description": "TranslationRequest in body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TranslationCreateRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/TranslationModel"
            },
            "examples": {
              "application/json": {
                "Id": "6f1eba09-b8c2-45f1-a516-ae6c6f5e0426",
                "Key": "POSTCODES",
                "Description": "Postcode to Suburb name",
                "Lines": [
                  {
                    "From": "ND 58104",
                    "To": "North Pole"
                  },
                  {
                    "From": "2264",
                    "To": "Dora Creek, New South Wales"
                  },
                  {
                    "From": "3775",
                    "To": "Dixons Creek, Victoria"
                  },
                  {
                    "From": "4347",
                    "To": "Ma Ma Creek, Queensland"
                  },
                  {
                    "From": "4850",
                    "To": "Dalrymple Creek, Queensland"
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    },
    "/v1/translation/{id}": {
      "get": {
        "tags": [
          "Translation"
        ],
        "summary": "returns specified translation table",
        "operationId": "Translation_GetTranslation",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(Guid/string) id of the translation table, can pass in the Id or Key",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/TranslationModel"
            },
            "examples": {
              "application/json": {
                "Id": "d4dd3c3f-4270-448f-ac30-56b8e115d831",
                "Key": "POSTCODES",
                "Description": "Postcode to Suburb name",
                "Lines": [
                  {
                    "From": "ND 58104",
                    "To": "North Pole"
                  },
                  {
                    "From": "2264",
                    "To": "Dora Creek, New South Wales"
                  },
                  {
                    "From": "3775",
                    "To": "Dixons Creek, Victoria"
                  },
                  {
                    "From": "4347",
                    "To": "Ma Ma Creek, Queensland"
                  },
                  {
                    "From": "4850",
                    "To": "Dalrymple Creek, Queensland"
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Translation"
        ],
        "summary": "Deletes the specified translation table",
        "operationId": "Translation_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(Guid/string) identifier for the table to be updated. Can contain the table id or key",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Translation"
        ],
        "summary": "updates a translation table",
        "operationId": "Translation_UpdateTranslationTable",
        "consumes": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "text/html",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "(Guid/string) identifier for the table to be updated. Can contain the table id or key",
            "required": true,
            "type": "string"
          },
          {
            "name": "translation",
            "in": "body",
            "description": "TranslationModel containing the fields to be updated",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TranslationUpdateRequest"
            }
          },
          {
            "name": "clearLines",
            "in": "query",
            "description": "(bool) optional - clears current lines before adding new lines",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/TranslationModel"
            },
            "examples": {
              "application/json": {
                "Id": "c6634dfb-33a9-4ddc-95f4-5d9e08fd928a",
                "Key": "POSTCODES",
                "Description": "Postcode to Suburb name",
                "Lines": [
                  {
                    "From": "ND 58104",
                    "To": "North Pole"
                  },
                  {
                    "From": "2264",
                    "To": "Dora Creek, New South Wales"
                  },
                  {
                    "From": "3775",
                    "To": "Dixons Creek, Victoria"
                  },
                  {
                    "From": "4347",
                    "To": "Ma Ma Creek, Queensland"
                  },
                  {
                    "From": "4850",
                    "To": "Dalrymple Creek, Queensland"
                  }
                ]
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sampleapi"
            ]
          }
        ]
      }
    }
  },
  "definitions": {
    "ConnectionModel": {
      "required": [
        "Id",
        "Description",
        "ConnectionType"
      ],
      "type": "object",
      "properties": {
        "Id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Description": {
          "type": "string"
        },
        "ConnectionType": {
          "type": "string"
        }
      }
    },
    "ConnectionRequest": {
      "type": "object",
      "properties": {
        "ProductType": {
          "type": "array",
          "items": {
            "enum": [
              "file",
              "genericrest",
              "legacy",
              "mscrm",
              "msgp",
              "msfinops",
              "msgraphodata",
              "msnavodata",
              "mssql",
              "nav",
              "netsuite",
              "odbc",
              "oledb",
              "popdock",
              "rest",
              "salesforce",
              "slack",
              "trello",
              "webservice",
              "other"
            ],
            "type": "string"
          }
        },
        "CreatedFrom": {
          "format": "date-time",
          "type": "string"
        },
        "CreatedTo": {
          "format": "date-time",
          "type": "string"
        },
        "SearchString": {
          "type": "string"
        }
      }
    },
    "SimpleIntegrationModel": {
      "type": "object",
      "properties": {
        "Key": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Id": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "SourceSystem": {
          "type": "string"
        },
        "TargetSystem": {
          "type": "string"
        },
        "CreatedDate": {
          "format": "date-time",
          "type": "string"
        },
        "LastRunDate": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "DataSourceModel": {
      "required": [
        "Id",
        "Description",
        "ConnectionId",
        "Type"
      ],
      "type": "object",
      "properties": {
        "Id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Description": {
          "type": "string"
        },
        "ConnectionId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Type": {
          "type": "string"
        },
        "Processes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/SimpleProcessModel"
          }
        }
      }
    },
    "SimpleProcessModel": {
      "required": [
        "Key",
        "Id",
        "Description"
      ],
      "type": "object",
      "properties": {
        "Key": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Id": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        }
      }
    },
    "DataSourceDataModel": {
      "type": "object",
      "properties": {
        "RequestId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "RecordCount": {
          "format": "int64",
          "type": "integer"
        },
        "CurrentPage": {
          "format": "int64",
          "type": "integer"
        },
        "PageSize": {
          "format": "int64",
          "type": "integer"
        },
        "Columns": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ValueTuple[String,String]"
          }
        },
        "Rows": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      }
    },
    "ValueTuple[String,String]": {
      "type": "object",
      "properties": {
        "Item1": {
          "type": "string"
        },
        "Item2": {
          "type": "string"
        }
      }
    },
    "ProcessErrorsRunModel": {
      "required": [
        "IntegrationKey",
        "IntegrationId",
        "RunNumber"
      ],
      "type": "object",
      "properties": {
        "IntegrationKey": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "IntegrationId": {
          "type": "string"
        },
        "RunNumber": {
          "format": "int64",
          "type": "integer"
        },
        "ErrorData": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ProcessErrorsRunTenantModel"
          }
        }
      }
    },
    "ProcessErrorsRunTenantModel": {
      "type": "object",
      "properties": {
        "ErrorId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "TenantServer": {
          "type": "string"
        },
        "TenantTechnical": {
          "type": "string"
        },
        "ErrorCount": {
          "format": "int64",
          "type": "integer"
        },
        "ErrorUri": {
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ProcessErrorsDataModel": {
      "type": "object",
      "properties": {
        "CurrentPage": {
          "format": "int64",
          "type": "integer"
        },
        "PageSize": {
          "format": "int64",
          "type": "integer"
        },
        "RecordCount": {
          "format": "int64",
          "type": "integer"
        },
        "Columns": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/KeyValuePair[String,String]"
          }
        },
        "Rows": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        },
        "NextPageUri": {
          "type": "string"
        }
      }
    },
    "KeyValuePair[String,String]": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "FileHolderModel": {
      "type": "object",
      "properties": {
        "FileHolderId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Email": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "LinkedIntegrationId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "RunNumber": {
          "format": "int64",
          "type": "integer"
        },
        "CreateDate": {
          "format": "date-time",
          "type": "string"
        },
        "Files": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/FileModel"
          }
        }
      }
    },
    "FileModel": {
      "type": "object",
      "properties": {
        "FileId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Name": {
          "type": "string"
        },
        "FileType": {
          "type": "string"
        },
        "ContentType": {
          "type": "string"
        },
        "DataType": {
          "type": "string"
        },
        "FileUrl": {
          "type": "string"
        }
      }
    },
    "IntegrationRequest": {
      "type": "object",
      "properties": {
        "SourceProductType": {
          "type": "array",
          "items": {
            "enum": [
              "file",
              "genericrest",
              "legacy",
              "mscrm",
              "msgp",
              "msfinops",
              "msgraphodata",
              "msnavodata",
              "mssql",
              "nav",
              "netsuite",
              "odbc",
              "oledb",
              "popdock",
              "rest",
              "salesforce",
              "slack",
              "trello",
              "webservice",
              "other"
            ],
            "type": "string"
          }
        },
        "SourceType": {
          "type": "array",
          "items": {
            "enum": [
              "change",
              "file",
              "folder",
              "query",
              "realtime"
            ],
            "type": "string"
          }
        },
        "TargetProductType": {
          "type": "array",
          "items": {
            "enum": [
              "file",
              "genericrest",
              "legacy",
              "mscrm",
              "msgp",
              "msfinops",
              "msgraphodata",
              "msnavodata",
              "mssql",
              "nav",
              "netsuite",
              "odbc",
              "oledb",
              "popdock",
              "rest",
              "salesforce",
              "slack",
              "trello",
              "webservice",
              "other"
            ],
            "type": "string"
          }
        },
        "SearchString": {
          "type": "string"
        },
        "CreatedFrom": {
          "format": "date-time",
          "type": "string"
        },
        "CreatedTo": {
          "format": "date-time",
          "type": "string"
        },
        "LastRunFrom": {
          "format": "date-time",
          "type": "string"
        },
        "LastRunTo": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "IntegrationColumnModel": {
      "type": "object",
      "properties": {
        "Id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Name": {
          "type": "string"
        },
        "ColumnType": {
          "type": "string"
        },
        "Sequence": {
          "format": "int32",
          "type": "integer"
        },
        "IsKey": {
          "type": "boolean"
        },
        "IsMapped": {
          "type": "boolean"
        }
      }
    },
    "RequestVariable": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Value": {
          "type": "string"
        }
      }
    },
    "ProcessHistoryModel": {
      "required": [
        "HistoryId",
        "Id",
        "Key",
        "Description",
        "RunNumber",
        "RecordCount",
        "Successful",
        "ErrorCount",
        "ErrorsSaved",
        "OutputsSaved",
        "Email",
        "StartTime",
        "EndTime",
        "RunType"
      ],
      "type": "object",
      "properties": {
        "HistoryId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Id": {
          "type": "string"
        },
        "Key": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Description": {
          "type": "string"
        },
        "RunNumber": {
          "format": "int64",
          "type": "integer"
        },
        "RecordCount": {
          "format": "int64",
          "type": "integer"
        },
        "Successful": {
          "type": "boolean"
        },
        "ErrorCount": {
          "format": "int64",
          "type": "integer"
        },
        "ErrorsSaved": {
          "type": "boolean"
        },
        "OutputsSaved": {
          "type": "boolean"
        },
        "Email": {
          "type": "string"
        },
        "StartTime": {
          "format": "date-time",
          "type": "string"
        },
        "EndTime": {
          "format": "date-time",
          "type": "string"
        },
        "RunType": {
          "type": "string"
        }
      }
    },
    "ProcessErrorModel": {
      "type": "object",
      "properties": {
        "Key": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Id": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "RunNumber": {
          "format": "int64",
          "type": "integer"
        },
        "RunTenants": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ProcessErrorsTenantModel"
          }
        }
      }
    },
    "ProcessErrorsTenantModel": {
      "required": [
        "ErrorId",
        "TenantServer",
        "TenantTechnical",
        "ErrorCount"
      ],
      "type": "object",
      "properties": {
        "ErrorId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "TenantServer": {
          "type": "string"
        },
        "TenantTechnical": {
          "type": "string"
        },
        "ErrorCount": {
          "format": "int64",
          "type": "integer"
        },
        "ErrorData": {
          "$ref": "#/definitions/ProcessErrorsDataModel"
        },
        "GetNextErrorsUri": {
          "type": "string",
          "readOnly": true
        },
        "GetErrorsUri": {
          "type": "string",
          "readOnly": true
        }
      }
    },
    "IntegrationGroupModel": {
      "type": "object",
      "properties": {
        "Id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Name": {
          "type": "string"
        },
        "GroupColor": {
          "type": "string"
        },
        "TextColor": {
          "type": "string"
        }
      }
    },
    "IntegrationGroupRequest": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "TextColor": {
          "type": "string"
        },
        "GroupColor": {
          "type": "string"
        }
      }
    },
    "MetadataModel": {
      "type": "object",
      "properties": {
        "ConnectionTypes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "ExtenderTypes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "SmartConnectSystems": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "SourceTypes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "ScheduleTypes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "ScheduleStatus": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "DaysOfTheWeek": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "WhichWeek": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        },
        "MonthsOfTheYear": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EnumTypeModel"
          }
        }
      }
    },
    "EnumTypeModel": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        }
      }
    },
    "CreatePopdockConnectionRequest": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string"
        },
        "Token": {
          "type": "string"
        },
        "AccountId": {
          "type": "string"
        },
        "ServiceUrl": {
          "type": "string"
        },
        "Email": {
          "type": "string"
        }
      }
    },
    "UpdatePopdockConnectionRequest": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string"
        },
        "Token": {
          "type": "string"
        },
        "AccountId": {
          "type": "string"
        },
        "ServiceUrl": {
          "type": "string"
        },
        "Email": {
          "type": "string"
        }
      }
    },
    "RunIntegrationModel": {
      "type": "object",
      "properties": {
        "Key": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Id": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "RunNumber": {
          "format": "int64",
          "type": "integer"
        },
        "Status": {
          "type": "string"
        },
        "RecordCount": {
          "format": "int32",
          "type": "integer"
        },
        "ErrorCount": {
          "format": "int32",
          "type": "integer"
        },
        "Errors": {
          "$ref": "#/definitions/ErrorDataModel"
        },
        "ProcessErrors": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ProcessErrorsTenantModel"
          }
        },
        "ErrorMessage": {
          "type": "string"
        },
        "ErrorsSaved": {
          "type": "boolean"
        },
        "OutputXml": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ErrorDataModel": {
      "type": "object",
      "properties": {
        "CurrentPage": {
          "format": "int64",
          "type": "integer"
        },
        "PageSize": {
          "format": "int64",
          "type": "integer"
        },
        "RecordCount": {
          "format": "int64",
          "type": "integer"
        },
        "Columns": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ValueTuple[String,String]"
          }
        },
        "Rows": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      }
    },
    "RequestData": {
      "type": "object",
      "properties": {
        "Variables": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/RequestVariable"
          }
        },
        "IsDataTable": {
          "type": "boolean"
        },
        "JsonData": {
          "type": "object"
        },
        "XmlData": {
          "$ref": "#/definitions/XElement"
        }
      }
    },
    "XElement": {
      "type": "object",
      "properties": {
        "FirstAttribute": {
          "$ref": "#/definitions/XAttribute",
          "readOnly": true
        },
        "HasAttributes": {
          "type": "boolean",
          "readOnly": true
        },
        "HasElements": {
          "type": "boolean",
          "readOnly": true
        },
        "IsEmpty": {
          "type": "boolean",
          "readOnly": true
        },
        "LastAttribute": {
          "$ref": "#/definitions/XAttribute",
          "readOnly": true
        },
        "Name": {
          "type": "object"
        },
        "NodeType": {
          "enum": [
            "None",
            "Element",
            "Attribute",
            "Text",
            "CDATA",
            "EntityReference",
            "Entity",
            "ProcessingInstruction",
            "Comment",
            "Document",
            "DocumentType",
            "DocumentFragment",
            "Notation",
            "Whitespace",
            "SignificantWhitespace",
            "EndElement",
            "EndEntity",
            "XmlDeclaration"
          ],
          "type": "string",
          "readOnly": true
        },
        "Value": {
          "type": "string"
        },
        "FirstNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "LastNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "NextNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "PreviousNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "BaseUri": {
          "type": "string",
          "readOnly": true
        },
        "Document": {
          "$ref": "#/definitions/XDocument",
          "readOnly": true
        },
        "Parent": {
          "$ref": "#/definitions/XElement",
          "readOnly": true
        }
      }
    },
    "XAttribute": {
      "type": "object",
      "properties": {
        "IsNamespaceDeclaration": {
          "type": "boolean",
          "readOnly": true
        },
        "Name": {
          "type": "object",
          "readOnly": true
        },
        "NextAttribute": {
          "$ref": "#/definitions/XAttribute",
          "readOnly": true
        },
        "NodeType": {
          "enum": [
            "None",
            "Element",
            "Attribute",
            "Text",
            "CDATA",
            "EntityReference",
            "Entity",
            "ProcessingInstruction",
            "Comment",
            "Document",
            "DocumentType",
            "DocumentFragment",
            "Notation",
            "Whitespace",
            "SignificantWhitespace",
            "EndElement",
            "EndEntity",
            "XmlDeclaration"
          ],
          "type": "string",
          "readOnly": true
        },
        "PreviousAttribute": {
          "$ref": "#/definitions/XAttribute",
          "readOnly": true
        },
        "Value": {
          "type": "string"
        },
        "BaseUri": {
          "type": "string",
          "readOnly": true
        },
        "Document": {
          "$ref": "#/definitions/XDocument",
          "readOnly": true
        },
        "Parent": {
          "$ref": "#/definitions/XElement",
          "readOnly": true
        }
      }
    },
    "XNode": {
      "type": "object",
      "properties": {
        "NextNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "PreviousNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "BaseUri": {
          "type": "string",
          "readOnly": true
        },
        "Document": {
          "$ref": "#/definitions/XDocument",
          "readOnly": true
        },
        "NodeType": {
          "enum": [
            "None",
            "Element",
            "Attribute",
            "Text",
            "CDATA",
            "EntityReference",
            "Entity",
            "ProcessingInstruction",
            "Comment",
            "Document",
            "DocumentType",
            "DocumentFragment",
            "Notation",
            "Whitespace",
            "SignificantWhitespace",
            "EndElement",
            "EndEntity",
            "XmlDeclaration"
          ],
          "type": "string",
          "readOnly": true
        },
        "Parent": {
          "$ref": "#/definitions/XElement",
          "readOnly": true
        }
      }
    },
    "XDocument": {
      "type": "object",
      "properties": {
        "Declaration": {
          "$ref": "#/definitions/XDeclaration"
        },
        "DocumentType": {
          "$ref": "#/definitions/XDocumentType",
          "readOnly": true
        },
        "NodeType": {
          "enum": [
            "None",
            "Element",
            "Attribute",
            "Text",
            "CDATA",
            "EntityReference",
            "Entity",
            "ProcessingInstruction",
            "Comment",
            "Document",
            "DocumentType",
            "DocumentFragment",
            "Notation",
            "Whitespace",
            "SignificantWhitespace",
            "EndElement",
            "EndEntity",
            "XmlDeclaration"
          ],
          "type": "string",
          "readOnly": true
        },
        "Root": {
          "$ref": "#/definitions/XElement",
          "readOnly": true
        },
        "FirstNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "LastNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "NextNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "PreviousNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "BaseUri": {
          "type": "string",
          "readOnly": true
        },
        "Document": {
          "$ref": "#/definitions/XDocument",
          "readOnly": true
        },
        "Parent": {
          "$ref": "#/definitions/XElement",
          "readOnly": true
        }
      }
    },
    "XDeclaration": {
      "type": "object",
      "properties": {
        "Encoding": {
          "type": "string"
        },
        "Standalone": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        }
      }
    },
    "XDocumentType": {
      "type": "object",
      "properties": {
        "InternalSubset": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        },
        "NodeType": {
          "enum": [
            "None",
            "Element",
            "Attribute",
            "Text",
            "CDATA",
            "EntityReference",
            "Entity",
            "ProcessingInstruction",
            "Comment",
            "Document",
            "DocumentType",
            "DocumentFragment",
            "Notation",
            "Whitespace",
            "SignificantWhitespace",
            "EndElement",
            "EndEntity",
            "XmlDeclaration"
          ],
          "type": "string",
          "readOnly": true
        },
        "PublicId": {
          "type": "string"
        },
        "SystemId": {
          "type": "string"
        },
        "NextNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "PreviousNode": {
          "$ref": "#/definitions/XNode",
          "readOnly": true
        },
        "BaseUri": {
          "type": "string",
          "readOnly": true
        },
        "Document": {
          "$ref": "#/definitions/XDocument",
          "readOnly": true
        },
        "Parent": {
          "$ref": "#/definitions/XElement",
          "readOnly": true
        }
      }
    },
    "ScheduleModel": {
      "type": "object",
      "properties": {
        "Id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "MapKey": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "MapId": {
          "type": "string"
        },
        "MapDescription": {
          "type": "string"
        },
        "ScheduleType": {
          "enum": [
            "daily",
            "monthly",
            "runonce",
            "weekly"
          ],
          "type": "string"
        },
        "ScheduleStatus": {
          "enum": [
            "active",
            "inactive"
          ],
          "type": "string"
        },
        "RunUser": {
          "type": "string"
        },
        "TimeZone": {
          "type": "string"
        },
        "CurrentTimeZoneOffset": {
          "type": "string"
        },
        "DeactivationReason": {
          "type": "string"
        },
        "NextRunDateTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "LastFailDateTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "LastSuccessDateTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "Runs": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ScheduleRunModel"
          }
        }
      }
    },
    "ScheduleRunModel": {
      "type": "object",
      "properties": {
        "Id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "SourceRecords": {
          "format": "int64",
          "type": "integer"
        },
        "RunNumber": {
          "format": "int64",
          "type": "integer"
        },
        "Status": {
          "enum": [
            "fail",
            "success",
            "successerror"
          ],
          "type": "string"
        },
        "StartTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "EndTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "ErrorMessage": {
          "type": "string"
        },
        "NextRunDateTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "GetErrorMessageUrl": {
          "type": "string"
        }
      }
    },
    "CreateScheduleRequest": {
      "required": [
        "IntegrationId",
        "ScheduleType"
      ],
      "type": "object",
      "properties": {
        "IntegrationId": {
          "type": "string"
        },
        "RunUser": {
          "type": "string"
        },
        "ScheduleType": {
          "enum": [
            "daily",
            "monthly",
            "runonce",
            "weekly"
          ],
          "type": "string"
        },
        "ScheduleStatus": {
          "enum": [
            "active",
            "inactive"
          ],
          "type": "string"
        },
        "Year": {
          "format": "int32",
          "type": "integer"
        },
        "Month": {
          "format": "int32",
          "type": "integer"
        },
        "Day": {
          "format": "int32",
          "type": "integer"
        },
        "Hour": {
          "format": "int32",
          "type": "integer"
        },
        "Minute": {
          "format": "int32",
          "type": "integer"
        },
        "RepeatStep": {
          "format": "int32",
          "type": "integer"
        },
        "RepeatMinutes": {
          "format": "int32",
          "type": "integer"
        },
        "RepeatDurationMinutes": {
          "format": "int32",
          "type": "integer"
        },
        "StartDateTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "TimeZoneOffset": {
          "type": "string"
        },
        "TimeZone": {
          "type": "string"
        },
        "Days": {
          "type": "array",
          "items": {
            "enum": [
              "Sunday",
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday",
              "Saturday"
            ],
            "type": "string"
          }
        },
        "Weeks": {
          "type": "array",
          "items": {
            "enum": [
              "FirstWeek",
              "SecondWeek",
              "ThirdWeek",
              "FourthWeek",
              "LastWeek"
            ],
            "type": "string"
          }
        },
        "Months": {
          "type": "array",
          "items": {
            "enum": [
              "January",
              "February",
              "March",
              "April",
              "May",
              "June",
              "July",
              "August",
              "September",
              "October",
              "November",
              "December"
            ],
            "type": "string"
          }
        }
      }
    },
    "UpdateScheduleRequest": {
      "type": "object",
      "properties": {
        "IntegrationId": {
          "type": "string"
        },
        "RunUser": {
          "type": "string"
        },
        "ScheduleType": {
          "enum": [
            "daily",
            "monthly",
            "runonce",
            "weekly"
          ],
          "type": "string"
        },
        "ScheduleStatus": {
          "enum": [
            "active",
            "inactive"
          ],
          "type": "string"
        },
        "Year": {
          "format": "int32",
          "type": "integer"
        },
        "Month": {
          "format": "int32",
          "type": "integer"
        },
        "Day": {
          "format": "int32",
          "type": "integer"
        },
        "Hour": {
          "format": "int32",
          "type": "integer"
        },
        "Minute": {
          "format": "int32",
          "type": "integer"
        },
        "RepeatStep": {
          "format": "int32",
          "type": "integer"
        },
        "RepeatMinutes": {
          "format": "int32",
          "type": "integer"
        },
        "RepeatDurationMinutes": {
          "format": "int32",
          "type": "integer"
        },
        "StartDateTimeUtc": {
          "format": "date-time",
          "type": "string"
        },
        "TimeZoneOffset": {
          "type": "string"
        },
        "TimeZone": {
          "type": "string"
        },
        "Days": {
          "type": "array",
          "items": {
            "enum": [
              "Sunday",
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday",
              "Saturday"
            ],
            "type": "string"
          }
        },
        "Months": {
          "type": "array",
          "items": {
            "enum": [
              "January",
              "February",
              "March",
              "April",
              "May",
              "June",
              "July",
              "August",
              "September",
              "October",
              "November",
              "December"
            ],
            "type": "string"
          }
        },
        "Weeks": {
          "type": "array",
          "items": {
            "enum": [
              "FirstWeek",
              "SecondWeek",
              "ThirdWeek",
              "FourthWeek",
              "LastWeek"
            ],
            "type": "string"
          }
        }
      }
    },
    "TranslationModel": {
      "type": "object",
      "properties": {
        "Id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "Key": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Lines": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/TranslationLineModel"
          }
        }
      }
    },
    "TranslationLineModel": {
      "type": "object",
      "properties": {
        "From": {
          "type": "string"
        },
        "To": {
          "type": "string"
        }
      }
    },
    "TranslationCreateRequest": {
      "required": [
        "Key",
        "Description",
        "Lines"
      ],
      "type": "object",
      "properties": {
        "Key": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Lines": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/KeyValuePair[String,String]"
          }
        }
      }
    },
    "TranslationUpdateRequest": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Lines": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/KeyValuePair[String,String]"
          }
        }
      }
    }
  },
  "securityDefinitions": {
    "oauth2": {
      "type": "oauth2",
      "description": "OAuth2 implicit flow",
      "flow": "password",
      "tokenUrl": "/token",
      "scopes": {}
    }
  }
}