kinlane
8/17/2018 - 1:16 AM

GoToTraining-openapi

GoToTraining-openapi

{
  "swagger": "2.0",
  "info": {
    "version": "1.0",
    "title": "GoToTraining API",
    "description": "TODO: Add Description"
  },
  "host": "api.getgo.com",
  "basePath": "/G2T/rest",
  "schemes": [
    "https"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/trainings/{trainingKey}/start": {
      "get": {
        "description": "",
        "summary": "Start Training",
        "tags": [
          "Trainings"
        ],
        "operationId": "TrainingsStartByTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/startUrl": {
      "get": {
        "description": "",
        "summary": "Get Start Url",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsStartUrlByOrganizerKeyAndTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/organizers": {
      "put": {
        "description": "",
        "summary": "Update Training Organizers",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsOrganizersByOrganizerKeyAndTrainingKeyPut2",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/UpdateTrainingOrganizersrequest"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/registrants/{registrantKey}": {
      "get": {
        "description": "Retrieves details for specific registrant in a specific training. \r\n\r\n*Registrants can be*\r\n* WAITING - registrant registered and is awaiting approval (where organizer has required approval)\r\n* APPROVED - registrant registered and is approved\r\n* DENIED - registrant registered and was not approved.\r\n\r\n*IMPORTANT* The registrant data caches are typically updated immediately and the data will be returned in the response. However, the update can take as long as two hours.",
        "summary": "Get Registrant",
        "tags": [
          "Registrations"
        ],
        "operationId": "OrganizersTrainingsRegistrantsRegistrantKeyByOrganizerKeyAndTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "registrantKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      },
      "delete": {
        "description": "",
        "summary": "Cancel Registration",
        "tags": [
          "Registrations"
        ],
        "operationId": "OrganizersTrainingsRegistrantsRegistrantKeyByOrganizerKeyAndTrainingKeyDelete",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "registrantKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/reports/organizers/{organizerKey}/trainings/{trainingKey}": {
      "get": {
        "description": "",
        "summary": "Get Sessions by Training",
        "tags": [
          "Reports"
        ],
        "operationId": "ReportsOrganizersTrainingsByOrganizerKeyAndTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings": {
      "get": {
        "description": "",
        "summary": "Get Trainings",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsByOrganizerKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      },
      "post": {
        "description": "*Required*\r\n* name: name of the training\r\n* startDate: Start time and date in {YYYY}-{MM}-{DD}T{HH}:{MM}:{SS}Z format\r\n* endDate: End time and date in {YYYY}-{MM}-{DD}T{HH}:{MM}:{SS}Z format\r\n\r\n*Optional*\r\n* Additional stateDate/endDate (creates additional sessions)\r\n* description: Description of the training\r\n* timeZone: See Time Zones page for valid strings\r\n* disableConfirmationEmail: true/false \r\n* disableWebRegistration: true/false \r\n* organizers: Add co-organizers to the session. Requires a multi-user account.",
        "summary": "Create Training",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsByOrganizerKeyPost",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/CreateTrainingrequest"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/registrationSettings": {
      "put": {
        "description": "",
        "summary": "Update Training Registration Settings",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsRegistrationSettingsByOrganizerKeyAndTrainingKeyPut",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/UpdateTrainingRegistrationSettingsrequest"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}": {
      "get": {
        "description": "",
        "summary": "Get Training",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsByOrganizerKeyAndTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      },
      "delete": {
        "description": "",
        "summary": "Delete Training",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsByOrganizerKeyAndTrainingKeyDelete",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/registrants ": {
      "get": {
        "description": "Retrieves details on all registrants for a specific training. \r\n\r\n*Registrants can be:*\r\n\r\n* WAITING - registrant registered and is awaiting approval (where organizer has required approval)\r\n* APPROVED - registrant registered and is approved\r\n* DENIED - registrant registered and was not approved.",
        "summary": "Get Training Registrants",
        "tags": [
          "Registrations"
        ],
        "operationId": "OrganizersTrainingsRegistrantsByOrganizerKeyAndTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      },
      "post": {
        "description": "",
        "summary": "Register for Training",
        "tags": [
          "Registrations"
        ],
        "operationId": "OrganizersTrainingsRegistrantsByOrganizerKeyAndTrainingKeyPost",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/RegisterForTrainingrequest"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/manageUrl": {
      "get": {
        "description": "",
        "summary": "Get Management URL for Training",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsManageUrlByOrganizerKeyAndTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/trainings/{trainingKey}/recordings": {
      "get": {
        "description": "",
        "summary": "Get Online Recordings for Training",
        "tags": [
          "Recordings"
        ],
        "operationId": "TrainingsRecordingsByTrainingKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/times": {
      "put": {
        "description": "",
        "summary": "Update Training Times",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsTimesByOrganizerKeyAndTrainingKeyPut",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/UpdateTrainingTimesrequest"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/organizers/{organizerKey}/trainings/{trainingKey}/nameDescription": {
      "put": {
        "description": "",
        "summary": "Update Training Name and Description",
        "tags": [
          "Trainings"
        ],
        "operationId": "OrganizersTrainingsNameDescriptionByOrganizerKeyAndTrainingKeyPut",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/UpdateTrainingNameAndDescriptionrequest"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/trainings/{trainingKey}/recordings/{recordingId}": {
      "get": {
        "description": "",
        "summary": "Get Download for Online Recordings",
        "tags": [
          "Recordings"
        ],
        "operationId": "TrainingsRecordingsByTrainingKeyAndRecordingIdGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "trainingKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "recordingId",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/reports/organizers/{organizerKey}/sessions ": {
      "post": {
        "description": "",
        "summary": "Get Sessions by Date Range",
        "tags": [
          "Reports"
        ],
        "operationId": "ReportsOrganizersSessionsByOrganizerKeyPost",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/GetSessionsByDateRangerequest"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    },
    "/reports/organizers/{organizerKey}/sessions/{sessionKey}/attendees": {
      "get": {
        "description": "",
        "summary": "Get Attendance Details",
        "tags": [
          "Reports"
        ],
        "operationId": "ReportsOrganizersSessionsAttendeesByOrganizerKeyAndSessionKeyGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "organizerKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "sessionKey",
            "in": "path",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [],
        "x-unitTests": [],
        "x-operation-settings": {
          "CollectParameters": false,
          "AllowDynamicQueryParameters": false,
          "AllowDynamicFormParameters": false,
          "IsMultiContentStreaming": false
        }
      }
    }
  },
  "definitions": {
    "UpdateTrainingRegistrationSettingsrequest": {
      "title": "Update Training Registration SettingsRequest",
      "example": {
        "disableConfirmationEmail": true,
        "disableWebRegistration": true
      },
      "type": "object",
      "properties": {
        "disableConfirmationEmail": {
          "description": "",
          "example": true,
          "type": "boolean"
        },
        "disableWebRegistration": {
          "description": "",
          "example": true,
          "type": "boolean"
        }
      },
      "required": [
        "disableConfirmationEmail",
        "disableWebRegistration"
      ]
    },
    "UpdateTrainingTimesrequest": {
      "title": "Update Training TimesRequest",
      "example": {
        "times": [
          {
            "startDate": "2017-01-09T16:00:00Z",
            "endDate": "2017-01-09T17:00:00Z"
          }
        ],
        "timeZone": "America/Los_Angeles",
        "notifyTrainers": false,
        "notifyRegistrants": false
      },
      "type": "object",
      "properties": {
        "times": {
          "description": "",
          "example": [
            {
              "startDate": "2017-01-09T16:00:00Z",
              "endDate": "2017-01-09T17:00:00Z"
            }
          ],
          "type": "array",
          "items": {
            "$ref": "#/definitions/Time2"
          }
        },
        "timeZone": {
          "description": "",
          "example": "America/Los_Angeles",
          "type": "string"
        },
        "notifyTrainers": {
          "description": "",
          "example": false,
          "type": "boolean"
        },
        "notifyRegistrants": {
          "description": "",
          "example": false,
          "type": "boolean"
        }
      },
      "required": [
        "times",
        "timeZone",
        "notifyTrainers",
        "notifyRegistrants"
      ]
    },
    "Time2": {
      "title": "Time2",
      "example": {
        "startDate": "2017-01-09T16:00:00Z",
        "endDate": "2017-01-09T17:00:00Z"
      },
      "type": "object",
      "properties": {
        "startDate": {
          "description": "",
          "example": "1/9/2017 4:00:00 PM",
          "type": "string"
        },
        "endDate": {
          "description": "",
          "example": "1/9/2017 5:00:00 PM",
          "type": "string"
        }
      },
      "required": [
        "startDate",
        "endDate"
      ]
    },
    "CreateTrainingrequest": {
      "title": "Create TrainingRequest",
      "example": {
        "name": "Training Subject",
        "description": "Training Description",
        "timeZone": "America/Los_Angeles",
        "times": [
          {
            "startDate": "2016-07-02T12:00:00Z",
            "endDate": "2016-07-02T13:00:00Z"
          }
        ],
        "registrationSettings": {
          "disableConfirmationEmail": true,
          "disableWebRegistration": true
        },
        "organizers": []
      },
      "type": "object",
      "properties": {
        "name": {
          "description": "",
          "example": "Training Subject",
          "type": "string"
        },
        "description": {
          "description": "",
          "example": "Training Description",
          "type": "string"
        },
        "timeZone": {
          "description": "",
          "example": "America/Los_Angeles",
          "type": "string"
        },
        "times": {
          "description": "",
          "example": [
            {
              "startDate": "2016-07-02T12:00:00Z",
              "endDate": "2016-07-02T13:00:00Z"
            }
          ],
          "type": "array",
          "items": {
            "$ref": "#/definitions/Time2"
          }
        },
        "registrationSettings": {
          "$ref": "#/definitions/RegistrationSettings"
        },
        "organizers": {
          "description": "",
          "example": [],
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "name",
        "description",
        "timeZone",
        "times",
        "registrationSettings",
        "organizers"
      ]
    },
    "RegistrationSettings": {
      "title": "RegistrationSettings",
      "example": {
        "disableConfirmationEmail": true,
        "disableWebRegistration": true
      },
      "type": "object",
      "properties": {
        "disableConfirmationEmail": {
          "description": "",
          "example": true,
          "type": "boolean"
        },
        "disableWebRegistration": {
          "description": "",
          "example": true,
          "type": "boolean"
        }
      },
      "required": [
        "disableConfirmationEmail",
        "disableWebRegistration"
      ]
    },
    "UpdateTrainingNameAndDescriptionrequest": {
      "title": "Update Training Name and DescriptionRequest",
      "example": {
        "name": "Updated Training Name",
        "description": "Updated Training Description"
      },
      "type": "object",
      "properties": {
        "name": {
          "description": "",
          "example": "Updated Training Name",
          "type": "string"
        },
        "description": {
          "description": "",
          "example": "Updated Training Description",
          "type": "string"
        }
      },
      "required": [
        "name",
        "description"
      ]
    },
    "UpdateTrainingOrganizersrequest": {
      "title": "Update Training OrganizersRequest",
      "example": {
        "organizers": [],
        "notifyOrganizers": false
      },
      "type": "object",
      "properties": {
        "organizers": {
          "description": "",
          "example": [],
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "notifyOrganizers": {
          "description": "",
          "example": false,
          "type": "boolean"
        }
      },
      "required": [
        "organizers",
        "notifyOrganizers"
      ]
    },
    "RegisterForTrainingrequest": {
      "title": "Register for TrainingRequest",
      "example": {
        "email": "example@email.com",
        "givenName": "First",
        "surname": "Last"
      },
      "type": "object",
      "properties": {
        "email": {
          "description": "",
          "example": "example@email.com",
          "type": "string"
        },
        "givenName": {
          "description": "",
          "example": "First",
          "type": "string"
        },
        "surname": {
          "description": "",
          "example": "Last",
          "type": "string"
        }
      },
      "required": [
        "email",
        "givenName",
        "surname"
      ]
    },
    "GetSessionsByDateRangerequest": {
      "title": "Get Sessions by Date RangeRequest",
      "example": {
        "startDate": "2016-01-15T00:00:00Z",
        "endDate": "2016-06-15T01:00:00Z"
      },
      "type": "object",
      "properties": {
        "startDate": {
          "description": "",
          "example": "1/15/2016 12:00:00 AM",
          "type": "string"
        },
        "endDate": {
          "description": "",
          "example": "6/15/2016 1:00:00 AM",
          "type": "string"
        }
      },
      "required": [
        "startDate",
        "endDate"
      ]
    }
  }
}