Skip to content
Borja Gorriz edited this page Sep 23, 2013 · 3 revisions

Base URL: api/dime/rest/{mainSaId}/event

Method Path Description
GET @me/@all Returns a collection of all events the user has.
POST @me Creates a new event.
GET @me/{Evid} Returns a specific event.
POST @me/{Evid} Updates a specific event.
DELETE @me/{Evid} Deletes a specific event.
POST @me/{Evid}/{personId} Adds a person to an event
DELETE @me/{Evid}/{personId} Deletes a person from an event

Parameters:

  • Evid: Id of an specific event.
  • personId: Id of an specific person.

Examples:

  • Call: api/dime/rest/5b223cde-07e5-4987-b531-231876fa7601/event/@me/@all
  • Response:

 {
   "response":{
      "meta":{
         "v":"0.9",
         "status":"OK",
         "code":200,
         "timeRef":"1338824999",
         "msg": ""
       },
   "data":{
      "startIndex":0,
      "itemsPerPage":1,
      "totalResults":1,
      "entry":{
        "guid": "<eventId>",
        "created":1338824999,
        "lastModified":1338824999,
        "userId": "<userId>|@me",
        "name": "summary of event",
        "imageUrl":"URL pointing to thumbnail for this item - null if not available",
        "type": "event",
        "items": [],
        "ncal:dtstart": <timedata:UnixTime>,
        "ncal:dtend": <timedata:UnixTime>,
        "nao:description":"description of event",
        "pimo:hasLocation":"pimoLocationId",
        "pimo:attendee":[
             "personId1",
             "personId2",
             "personId3"],
        "ncal:eventStatus": "status code as in RFC2445"
        }
     }
}

Clone this wiki locally