POST api/CreateCampaign

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
req
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "event_name": "sample string 1",
  "contestants": 1,
  "user_name": "sample string 2",
  "start_date": "2024-05-02T14:27:30.2886651+08:00",
  "end_date": "2024-05-02T14:27:30.2896649+08:00",
  "is_time_limited": "sample string 3",
  "start_time": "2024-05-02T14:27:30.2896649+08:00",
  "end_time": "2024-05-02T14:27:30.2896649+08:00",
  "event_organizer": "sample string 4",
  "event_description": "sample string 5",
  "organizer_mail": "sample string 6",
  "result_display": true,
  "user_id": 1,
  "shortcode": "sample string 8",
  "event_type": "sample string 9",
  "isSmartTNT": true,
  "keyword": "sample string 11"
}

application/xml, text/xml

Sample:
<LVCreateCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SEA_PH_LETSVOTE_API.Models">
  <contestants>1</contestants>
  <end_date>2024-05-02T14:27:30.2896649+08:00</end_date>
  <end_time>2024-05-02T14:27:30.2896649+08:00</end_time>
  <event_description>sample string 5</event_description>
  <event_name>sample string 1</event_name>
  <event_organizer>sample string 4</event_organizer>
  <event_type>sample string 9</event_type>
  <isSmartTNT>true</isSmartTNT>
  <is_time_limited>sample string 3</is_time_limited>
  <keyword>sample string 11</keyword>
  <organizer_mail>sample string 6</organizer_mail>
  <result_display>true</result_display>
  <shortcode>sample string 8</shortcode>
  <start_date>2024-05-02T14:27:30.2886651+08:00</start_date>
  <start_time>2024-05-02T14:27:30.2896649+08:00</start_time>
  <user_id>1</user_id>
  <user_name>sample string 2</user_name>
</LVCreateCampaign>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />