{
  "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": "bb4b0045-6d11-49ba-b122-ccadf2ac7778",
                  "Description": "Business Central Sandbox",
                  "ConnectionType": "Dynamics 365 Business Central OData"
                },
                {
                  "Id": "2c6cad44-3a34-40c9-85ab-d78d7b91aef8",
                  "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": "9cc92e76-67d4-442a-b252-772e0ee96eb1",
                  "Description": "Business Central Sandbox",
                  "ConnectionType": "Dynamics 365 Business Central OData"
                },
                {
                  "Id": "b8416fdc-edb3-44d1-8ee3-1717cb83d1a2",
                  "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": "50f3d120-fcca-45b5-845a-25802416361a",
                "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": "ac968c1f-edcc-4326-8f42-9d2820da849c",
                "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": "d45b8bec-d2cc-405b-a623-a7ea3b96abb4",
                  "IntegrationId": "TEST_ONE",
                  "RunNumber": 22,
                  "ErrorData": [
                    {
                      "ErrorId": "f8a0c5bb-f97f-4e18-a087-7089872fadf1",
                      "TenantServer": "https://testserver.com",
                      "TenantTechnical": "CompanyA",
                      "ErrorCount": 4,
                      "ErrorUri": ""
                    },
                    {
                      "ErrorId": "d66bf0c8-317b-418e-9e52-58b0531c6d82",
                      "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": "5fbdc968-05fc-4a3c-b7ab-0d69b5a61f87",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0002",
                    "custname": "Customer C0002",
                    "EONERUNIDENT": "a813b8db-ac6d-41ee-ac8b-01f7d75528c7",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0003",
                    "custname": "Customer C0003",
                    "EONERUNIDENT": "96d3ae06-dc54-4bac-8e8f-dd6da6414367",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0004",
                    "custname": "Customer C0004",
                    "EONERUNIDENT": "116f27a9-9154-4f89-854a-65f2a1cfe5d8",
                    "EONERUNERRORS": "Customer already exists and update if exists was not selected"
                  },
                  {
                    "custnumber": "C0005",
                    "custname": "Customer C0005",
                    "EONERUNIDENT": "a53cfc7c-eeeb-48e4-b140-41c8c8b5ff87",
                    "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": "d8574f65-24ff-4027-a72d-372b0702be4f",
                  "Email": "support@eonesolutions.com",
                  "Description": "Export zip for integration TEST001",
                  "Type": "mapOutput",
                  "LinkedIntegrationId": "51b9a201-7e7a-4dbb-8c0b-54c9d785bf3c",
                  "RunNumber": 2,
                  "CreateDate": "2026-09-28T21:51:56.9174003Z",
                  "Files": [
                    {
                      "FileId": "2fcddf28-c87d-4a62-9cbd-78008c778183",
                      "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": "5ee6a3b9-6008-4db4-9dbc-93e31402220f",
                "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": "549dc739-bfb4-4f57-a817-463b7385bdbf",
                "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": "ed74498f-8fc0-432e-a92d-806ea7f3b67e",
                  "Id": "SAMPLE_ONE",
                  "Key": "81e3f0dc-61d6-4744-93ee-0d1edbe72a32",
                  "Description": "Sample Integration One",
                  "RunNumber": 1238,
                  "RecordCount": 25,
                  "Successful": true,
                  "ErrorCount": 0,
                  "ErrorsSaved": false,
                  "OutputsSaved": false,
                  "Email": "sample@eonesolutions.com",
                  "StartTime": "2026-09-27T21:51:56.9330073Z",
                  "EndTime": "2026-09-27T21:52:56.9330073Z",
                  "RunType": "Manual"
                },
                {
                  "HistoryId": "f8d5fd35-bf3b-482e-9af2-87d88a024ee7",
                  "Id": "SAMPLE_ONE",
                  "Key": "7cc75b70-e575-497d-a7f5-0b5bc11c5215",
                  "Description": "Sample Integration One",
                  "RunNumber": 1239,
                  "RecordCount": 46,
                  "Successful": false,
                  "ErrorCount": 6,
                  "ErrorsSaved": true,
                  "OutputsSaved": true,
                  "Email": "sample@eonesolutions.com",
                  "StartTime": "2026-09-26T21:51:56.9330073Z",
                  "EndTime": "2026-09-26T21:52:56.9330073Z",
                  "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": "4caa2e3d-1f11-4dcc-9e48-caab55a6bc92",
                  "Id": "SAMPLE_ONE",
                  "Description": "Sample BC to CRM Customers",
                  "RunNumber": 98567,
                  "RunTenants": [
                    {
                      "ErrorId": "905e61f5-8c9e-4cc7-9c24-d37b30f30f0f",
                      "TenantServer": "crm4.dynamic.com",
                      "TenantTechnical": "org99999999",
                      "ErrorCount": 2,
                      "ErrorData": null,
                      "GetNextErrorsUri": "",
                      "GetErrorsUri": ""
                    },
                    {
                      "ErrorId": "df87176c-a7c0-42d2-88a1-3663c2e013b2",
                      "TenantServer": "crm4.dynamic.com",
                      "TenantTechnical": "org99999998",
                      "ErrorCount": 1,
                      "ErrorData": null,
                      "GetNextErrorsUri": "",
                      "GetErrorsUri": ""
                    }
                  ]
                },
                {
                  "Key": "7563b6ac-235f-4b9a-9017-5db9f3d3a778",
                  "Id": "SAMPLE_ONE",
                  "Description": "Sample BC to CRM Customers",
                  "RunNumber": 98566,
                  "RunTenants": [
                    {
                      "ErrorId": "33518911-4316-4387-a27d-f677930cada3",
                      "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": "b3df0855-5327-4380-a0c6-76685453a119",
                "Id": "SAMPLE_ONE",
                "Description": "Sample BC to CRM Customers",
                "RunNumber": 98567,
                "RunTenants": [
                  {
                    "ErrorId": "ec45c672-029b-41ef-8f11-0cf5b683d711",
                    "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": "35157255-1914-41ff-94fc-4a0375fcd7f1",
                          "EONERUNERRORS": "Customer already exists and update if exists is not selected"
                        },
                        {
                          "Name": "Sample Customer Two",
                          "Code": "SAMPLE02",
                          "Type": "Wholesale Customer",
                          "EONERUNIDENT": "a96c7aec-9be6-4f24-9084-ff4f28d60daa",
                          "EONERUNERRORS": "Customer already exists and update if exists is not selected"
                        }
                      ],
                      "NextPageUri": null
                    },
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": ""
                  },
                  {
                    "ErrorId": "a5320b3a-bcb1-4200-99e9-23f4794f1ac8",
                    "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": "39157ec6-34de-4ae5-a4a0-b22aca139c88",
                          "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": "ea49adfc-ce7c-4ed9-a6fb-9167e2420af9",
                  "Name": "Integration Group One",
                  "GroupColor": "#1d6619",
                  "TextColor": "#ffffff"
                },
                {
                  "Id": "755498ed-d111-483a-9e0d-67e583244b6f",
                  "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": "235ccdf0-170a-4d37-9b73-19d012aae750",
                  "Name": "Integration Group One",
                  "GroupColor": "#1d6619",
                  "TextColor": "#ffffff"
                },
                {
                  "Id": "79444cf0-2341-40fb-b98e-1154e2b422d7",
                  "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": "755a1cc3-7921-4950-80a3-7fa03588ea99",
                "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": "7ccf6fbb-e136-4e99-af69-cb875f41e627",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/7ccf6fbb-e136-4e99-af69-cb875f41e627"
                  },
                  {
                    "ErrorId": "b2a90759-2de3-4f0e-9701-423209217fb4",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/b2a90759-2de3-4f0e-9701-423209217fb4"
                  }
                ],
                "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": "c6fb740a-2bf9-419c-a16e-1a556494b52a",
                "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": "50cf9c78-1548-4b38-9c38-20770b881452",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/50cf9c78-1548-4b38-9c38-20770b881452"
                  },
                  {
                    "ErrorId": "76d4891c-f58a-420f-998b-f3c1c8c0568f",
                    "TenantServer": "crm.dynamics.com",
                    "TenantTechnical": "org99999999",
                    "ErrorCount": 1,
                    "ErrorData": null,
                    "GetNextErrorsUri": "",
                    "GetErrorsUri": "https://api.smartconnect.com/v1/errors/76d4891c-f58a-420f-998b-f3c1c8c0568f"
                  }
                ],
                "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": "cd77789d-36e7-41e3-86a1-0c6b497f6916",
                  "MapKey": "28f2834d-ea53-4d24-80cd-ada3e7cb065e",
                  "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-09-28T22:01:56.9486335Z",
                  "LastFailDateTimeUtc": "2026-09-26T21:51:56.9486335Z",
                  "LastSuccessDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "Runs": null
                },
                {
                  "Id": "748678f1-853e-4c01-be48-a0b574d4cde4",
                  "MapKey": "205cef8e-92ab-45e7-bf75-f4fbef230d68",
                  "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-09-28T22:01:56.9486335Z",
                  "LastFailDateTimeUtc": "2026-09-26T21:51:56.9486335Z",
                  "LastSuccessDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "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": "d1962800-23bd-4a26-ac09-cf5fe2636438",
                "MapKey": "995434ea-1428-4338-ac8c-5545bde44ca6",
                "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-09-28T22:01:56.9486335Z",
                "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": "eded45cd-6e51-4688-b81d-01508530147a",
                "MapKey": "51868413-83cf-44fe-a9b0-ff0272987bc3",
                "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-09-28T22:01:56.9486335Z",
                "LastFailDateTimeUtc": "2026-09-26T21:51:56.9486335Z",
                "LastSuccessDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                "Runs": [
                  {
                    "Id": "492e188e-f144-4945-8c20-c89d50e59dfd",
                    "SourceRecords": 98,
                    "RunNumber": 2954,
                    "Status": 1,
                    "StartTimeUtc": "2026-09-27T21:51:56.9486335Z",
                    "EndTimeUtc": "2026-09-27T21:53:56.9486335Z",
                    "ErrorMessage": "",
                    "NextRunDateTimeUtc": "2026-09-28T22:01:56.9486335Z",
                    "GetErrorMessageUrl": null
                  },
                  {
                    "Id": "b9ba790f-6548-4238-a270-83d6360c38e2",
                    "SourceRecords": 26,
                    "RunNumber": 2953,
                    "Status": 2,
                    "StartTimeUtc": "2026-09-26T21:51:56.9486335Z",
                    "EndTimeUtc": "2026-09-26T21:53:56.9486335Z",
                    "ErrorMessage": "",
                    "NextRunDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                    "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": "64c7d0d2-a2c4-422c-84f1-cf6c705d33b3",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-27T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-28T22:01:56.9486335Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "cb8166f3-ecf0-4aaf-89ba-a44292c67f6f",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-09-26T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-26T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "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": "5b27b120-6178-489a-9f71-6059afe4fd05",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-27T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-28T22:01:56.9486335Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "634065ab-3554-4d28-8271-4f104a31efa5",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-09-26T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-26T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "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": "46ee85e4-7831-4c69-af75-5a955ba1413a",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-27T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-28T22:01:56.9486335Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "0260d8b0-c7f8-44ce-a1fa-0ceb2a5c458f",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-09-26T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-26T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "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": "72068b38-306c-4d47-9212-aad8b08dd3f7",
                  "SourceRecords": 98,
                  "RunNumber": 2954,
                  "Status": 1,
                  "StartTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-27T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-28T22:01:56.9486335Z",
                  "GetErrorMessageUrl": null
                },
                {
                  "Id": "0fd53875-59db-4668-9d11-033417d4aad3",
                  "SourceRecords": 26,
                  "RunNumber": 2953,
                  "Status": 2,
                  "StartTimeUtc": "2026-09-26T21:51:56.9486335Z",
                  "EndTimeUtc": "2026-09-26T21:53:56.9486335Z",
                  "ErrorMessage": "",
                  "NextRunDateTimeUtc": "2026-09-27T21:51:56.9486335Z",
                  "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": "a311b605-794c-4b7d-811c-8c64c3130603",
                  "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": "ab5568c5-56b1-44d3-8652-90681b2da88c",
                  "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": "a74c23eb-f550-4c14-95a4-b5d8a8ee323a",
                "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": "9186f622-4d82-474e-b012-90624228081b",
                "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": "fe8f6b7d-335c-4305-9937-df519b937a03",
                "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": {}
    }
  }
}