Skip to main content

Add a new guide to an event.

Category > Guides

For an selected event and under a category the guides are created. So in this same API call:

  • A category will generate
  • A guide will be created

Follow the Request Body description to avoid any error.

NOTE:

  • If new guide is desired to be created under a existing category, just send the existing categor name in the payload.
  • If you add existing category name (case sensitive), then guide ites will be created under same category. If you add new category name a new category will get created. So add values accordingly.
Request Body
  • eventid is mandatory.
  • category can be new or existing but NEVER EMPTY or NULL. Only send the string value, rest will be handled in the backend.
  • title is the name of the guide.
  • content is the guide content.
  • image can be set by an URL of image type.
  • type is ENUM. Allowed types are:
    • richtext, => Normal text or HTML content
    • pdf => For only files
    • weblink => For external redirection
  • files can be either Document files or images. Share downloadable links for the files for upto 10 per guide. Send type as pdf if files attached.

Follow this structure to avoid any error.

eventid integer
category string
content string
image string
title string
type string
files string[]
Responses
200

Success Response

Schema
success boolean

True when API call was successful, false or error otherwise.

default

Error Response

Schema
code int32

Error code.

message string

String description of the error.