Meetings

Action Method URI
List All Meetings GET /admin/meeting
List Your Personal Meetings GET /meeting
Get Meeting GET /meeting/member/{id}
Create Meeting POST /meeting
Update Meeting PUT /meeting/member/{id}
Delete Meeting DELETE /meeting/member/{id}

List Meetings

Parameter Details Default
meeting_page Page number of records 1
limit Number of records returned 25

Request

GET /meeting (Your personal meetings) 
GET /admin/meeting (All meetings)

View Sample Response

Top

Get Meeting

Parameter Details
{id} ID of the meeting

Request

GET /meeting/member/{id}

View Sample Response

Top

Create Meeting

You can create meetings via a POST request using the meeting parameters specified below. Upon successful completion of a POST request you will receive a 200 http response code. To update an existing meeting please see the Update Meeting section below.

Request

POST /meeting

Response

The response body will be the same format as the sample response below but for the newly created meeting instead of an array of meeting.
Top

Update Meeting

You can update a meeting via a PUT request using the meeting parameters specified below. All fields included in an update request will be updated to the given value. Upon successful completion of a PUT request you will receive a 200 http response code.
To specify the meeting to update please refer to Identifying Objects.

Request

PUT /meeting/member/{id}

Response

The response body will be the same format as the sample response below but for the updated meeting instead of an array of meetings.
Top

Delete Meeting

You can delete a meeting via a DELETE request. To specify the meeting to delete please refer to Identifying Objects.
Upon successful completion of a DELETE request you will receive a 200 http response code.

Request

DELETE /meeting/member/{id}

Top

Meeting Parameters

Parameter Example Details
client_id 12345 Optional *
meeting[start] 2009-03-24T13:30:00-06:00 Required, XML dateTime **
meeting[finish] 2009-03-24T14:45:00-06:00 Required, XML dateTime **
meeting[item_attributes][display_value] Lets meet Required
meeting[item_attributes][article_attributes][content] How are you? Let’s meet tomorrow. Sound good? Required, this is the body of the meeting request.
meeting[participants][0][id] 2 Required, this is the either the zerista id of the user or the exhibitor.
meeting[participants][0][type] user Required, if the invitee is user then ‘user’ or if the invitee is an exhibitor then ‘exhibitor’.
meeting[participants][0][state] pending Required, one among ‘organizer’, ‘pending’, ‘confirmed’ and ‘declined’.
meeting[location_attributes][item_attributes][display_value] Denver Required

You may add additional participants by augmenting the index like so:

meeting[participants][1][id]
meeting[participants][1][type]
meeting[participants][1][state]

meeting[participants][2][id]
meeting[participants][2][type]
meeting[participants][2][state]

so on...

* client_id: client_id is an external ID that can be passed for a meeting in order to update or delete a meeting in the future. Please note that each meeting needs to have a unique client_id. If a client_id is not passed while creating a meeting, further updates and deletes will need to be performed using the Zerista ID of the meeting (ID of the meeting in Zerista’s database.)

** Timezone: Please see http://www.w3.org/TR/xmlschema-2/#dateTime for information on the XML dateTime datatype. It is highly recommended that you include the appropriate timezone of the event.

Top

JSON Response Example

{  
   "id":1037738941,
   "start":"2014-08-04T12:00:00Z",
   "finish":"2014-08-04T12:45:00Z",
   "state":"declined",
   "name":"Breakfast When You Get In?",
   "updated_on":"2014-08-03T23:29:45.000000Z",
   "tags":[  

   ],
   "content":"How about the bagle place in the lobby?",
   "icon_id":11,
   "icon":{  
      "id":11,
      "uri":"https://zerista-development.s3.amazonaws.com/dushyanth/icons/6512/images/11/{icon_type}/icon_11.png"
   },
   "uri":"http://green-energy-2008.zerista.l.dm7.me/meeting/member/1037738941",
   "editUri":"http://green-energy-2008.zerista.l.dm7.me/meeting/editor/1037738941",
   "location":{  
      "id":375,
      "name":"Room 7"
   },
   "participants":[  
      {  
         "id":3,
         "role_id":602936719,
         "pk":"602936719,3",
         "name":"Charlie Savage",
         "type":"user",
         "state":"declined"
      },
      {  
         "id":122,
         "role_id":602936719,
         "pk":"602936719,400766",
         "name":"Stephanie Richards",
         "type":"user",
         "state":"organizer"
      }
   ]
}

Top