Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

{
  "swagger" : "2.0",
  "info" : {
    "description" : "Create Event in exsting AddEvent Calendar",
    "version" : "1.0",
    "title" : "AddEvent Create Event"
  },
  "paths" : {
    "/api/v1/oe/events/create/" : {
      "post" : {
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "end_date",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "2021-12-25 17:00"
        }, {
          "name" : "rrule",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "FREQ"
        }, {
          "name" : "calendar_id",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "XXXXXXXXXXX"
        }, {
          "name" : "color",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : 1
        }, {
          "name" : "timezone",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "Australia/Sydney"
        }, {
          "name" : "description",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "An Event Description"
        }, {
          "name" : "title",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "An Event"
        }, {
          "name" : "all_day_event",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : false
        }, {
          "name" : "eventname",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "Internal Name"
        }, {
          "name" : "token",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "apiXXXXXXXXXXXXXXXXXXXXXXX"
        }, {
          "name" : "start_date",
          "in" : "query",
          "required" : false,
          "type" : "string",
          "x-example" : "2021-12-25 16:45"
        } ],
        "responses" : {
          "200" : {
            "description" : "Definition generated from Swagger Inspector",
            "schema" : {
              "$ref" : "#/definitions/Model0"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "Event" : {
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "calendar" : {
          "type" : "string"
        },
        "uniquekey" : {
          "type" : "string"
        },
        "title" : {
          "type" : "string"
        },
        "eventname" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "location" : {
          "type" : "string"
        },
        "organizer" : {
          "type" : "string"
        },
        "organizer_email" : {
          "type" : "string"
        },
        "date_start" : {
          "type" : "string"
        },
        "date_start_time" : {
          "type" : "string"
        },
        "date_start_ampm" : {
          "type" : "string"
        },
        "date_end" : {
          "type" : "string"
        },
        "date_end_time" : {
          "type" : "string"
        },
        "date_end_ampm" : {
          "type" : "string"
        },
        "all_day_event" : {
          "type" : "string"
        },
        "date_format" : {
          "type" : "string"
        },
        "timezone" : {
          "type" : "string"
        },
        "reminder" : {
          "type" : "string"
        },
        "rrule" : {
          "type" : "string"
        },
        "updated_times" : {
          "type" : "string"
        },
        "rsvp_require" : {
          "type" : "string"
        },
        "rsvp_template_id" : {
          "type" : "string"
        },
        "custom_data" : {
          "type" : "string"
        },
        "template_id" : {
          "type" : "string"
        },
        "color" : {
          "type" : "string"
        },
        "link_short" : {
          "type" : "string"
        },
        "link_long" : {
          "type" : "string"
        },
        "date_create" : {
          "type" : "integer",
          "format" : "int32"
        },
        "date_modified" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "Model0" : {
      "properties" : {
        "event" : {
          "$ref" : "#/definitions/Event"
        }
      }
    }
  }
}
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.