Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleREAD EVENT => /event/v4/read/:identifier

RESPONSE:

Code Block
{
        "id":  "api.collectioncontent.read",
        "ver":  "4.0",
        "ts":  "2021-02-22T16:4854:00Z38Z+05:30",
        "params": {
         {
        "resmsgid":  "de0c3736403254ab-938e4553-460f4028-8b36bd80-046fbf5f47fd0ffa073b1638",
        
        "msgid": null,
         null,
        "err": null,
         null,
        "status":  "successful",
        
        "errmsg": null
     null
    },
        "responseCode":  "OK",
        "result":  {
                "content": {
             {
            "trackable": {
                 {
                "enabled":  "Yes",
                
                "fixedBatch":  "Yes",
                
                "fixedBatchId":  "event_batch_id"
            
            },
                        "identifier":  "do_11322182566085427211",
            
            "lastStatusChangedOn":  "2021-02-22T16:43:10.626+0530",
            
            "audience": [
                "Student"
            ],
             [
                "Student"
            ],
            "code":  "1234",
            
            "visibility":  "Default",
            
            "endDate":  "01/03/2021",
            
            "onlineProvider":  "Zoom",
            
            "language": [
                 [
                "English"
            
            ],
            
            "eventType":  "Online",
                        "languageCode": [
                "en"
            ],
             [
                "en"
            ],
            "createdOn":  "2021-02-22T16:43:10.626+0530",
            
            "version": 2,
             2,
            "objectType":  "Event",
            
            "versionKey":  "1613992390626",
            
            "registrationEndDate":  "25/02/2021",
            
            "leafNodesCount": 1,
             1,
            "name":  "test event"
            test event",
            "lastUpdatedOn":  "2021-02-22T16:43:10.626+0530",
            "startTime": "11:00",
            "endTime": "13:00",
            "contentType": "Event",
            "startDate": "01/03/2021",
            "status": "Live"
        }
    }
}
Expand
titleUPDATE EVENT => /event/v4/update/:identifier

REQUEST:

Code Block
{
    "request": {
        "content": {
            "identifier": "do_11322182566085427211",
            "name": "standalone event",
            "code": "123",
            "startDate": "03/03/2021",
            "endDate": "04/03/2021",
            "versionKey": "1613719131567",
            "startTime": "11:00",
            "endTime": "13:00",
            "contentType": "Event",
            "onlineProvider": "Zoom",
            "registrationEndDate": "25/02/2021",
            "eventType": "Online",
            "status": "Live"
        }
    }
}

RESPONSE:

Code Block
{
    "id": "api.content.update",
    "ver": "4.0",
    "ts": "2021-02-22T17:40:49Z+05:30",
    "params": {
        "resmsgid": "200328ff-796a-421b-b35f-b8061085e60d",
        "msgid": null,
        "err": null,
        "status": "successful",
        "errmsg": null
    },
    "responseCode": "OK",
    "result": {
        "identifier": "do_11322182566085427211",
        "node_id": "do_11322182566085427211",
        "versionKey": "1613995849274"
    }
}

Expand
titleCREATE EVENTSET => /eventset/v4/create

REQUEST:

Code Block
{
    "request": {
        "collection": {
            "name": "eventset 4",
            "code": "123",
            "startDate": "01/03/2021",
            "endDate": "02/03/2021",
            "schedule": {
                "type": "NON_RECURRING",
                "value": [
                    {
                        "startDate": "01/03/2021",
                        "endDate": "01/03/2021",
                        "startTime": "11:00",
                        "endTime": "13:00",
                        "name": "event 4: 11-1"
                    },
                    {
                        "startDate": "02/03/2021",
                        "endDate": "02/03/2021",
                        "startTime": "19:00",
                        "endTime": "21:00",
                        "name": "event 4: 19-21"
                    }
                ]
            },
            "onlineProvider": "Zoom",
            "registrationEndDate": "25/02/2021",
            "eventType": "Online"
        }
    }
}

RESPONSE:

Code Block
{
    "id": "api.eventSet.create",
    "ver": "4.0",
    "ts": "2021-02-22T17:44:48Z+05:30",
    "params": {
        "resmsgid": "529105bd-c086-4210-9c87-380d74be42c6",
        "msgid": null,
        "err": null,
        "status": "Livesuccessful",
        "errmsg": null
    },
    "responseCode": "OK",
    "result": {
        "identifier": "do_11322185594386022413",
        "node_id": "do_11322185594386022413",
        "versionKey": "1613996088096"
    }
}