Detailed documentation on using the OSSN API to modify an event's details (e.g., date, time, title, description).
Endpoint:
Method:
Parameter:
| Parameter name | Required | Type | Explain |
|---|---|---|---|
| api_key_token | Yes | string | Your API key |
| title | Yes | string | Event title |
| info | Yes | string | Event Description |
| location | Yes | string | Location for the event |
| event_cost | Yes | integer | Event cost |
| date | Yes | string | Start date m/d/Y eg. 09/01/2021 |
| start_time | Yes | string | Start time in AM, PM format eg 06:20 AM |
| allowed_comments | Yes | string | yes or no |
| picture | optional | image file | Single image for event |
| guid | yes | integer | Event guid |
| uguid | Yes | integer | Guid user event belongs to |
Example Response
{
"merchant": "Premium Social Network",
"url": "http:\/\/local.openteknik.com\/",
"time_token": 1632146689,
"payload": {
"event": {
"data": {},
"guid": 113,
"time_created": 1632144594,
"owner_guid": 1,
"description": "New desc",
"title": "New title",
"type": "user",
"subtype": "event",
"container_type": "user",
"event_cost": "20",
"country": "",
"location": "New location",
"date": "09\/02\/2021",
"start_time": "07:20 AM",
"end_time": "08:20 PM",
"allowed_comments_likes": "0",
"is_finished": "no",
"container_guid": "1",
"event:wall": "1",
"last_update": "1632146688",
"file:event:photo": "event\/photo\/99311d45d750ae6fba730580df6aa415.jpeg"
}
},
"code": "100",
"message": "Request successfully executed"
}
Return payload parameter description
| Parameter name | Explain |
|---|---|
| event | Existing event |