update-event-settings

Use this API to update the Settings of an existing event

Use this API to update the Settings of an existing event

POST https://api.memzo.ai/v1.1/update-event-settings/

Headers

Name
Type
Description

Authorization *

YOUR_SECRET_KEY

x-api-key*

String

YOUR_API_KEY

Request Body

Name
Type
Description

event_id*

Integer

4296

event_category_id

Integer

Refer get-event-categories API to get list of event categories

event_access_type

Integer

optional ( 1- Limited Access, 2- Full Access)

is_pre_register

Integer

optional ( 1- Event in Preregistration Mode, 2 - Event is Published)

is_allow_anonymous_download

Integer

optional ( 0- Not Allowed, 1- Allowed)

{
    "error": false,
    "message": "Event settings have been updated."
}
Sample Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.memzo.ai/v1.1/update-event-settings',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => array('event_id' => '15540','event_category_id' => '1','event_access_type' => '2','is_pre_register' => '1','is_allow_anonymous_download' => '1'),
  CURLOPT_HTTPHEADER => array(
    'Authorization: YOUR_SECRET_KEY',
    'x-api-key: YOUR_API_KEY'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

For more detailed information, please refer to the full Postman documentation here.

Last updated