Create Recurring Outlook Calendar Event using Node.js
<p>I am trying to create Recurring event using Outlook Rest API in node.js for that I gone through documents whcihis provided by Microsoft but there is no sample example found  ,but I am getting error as</p>

<pre><code>{
    "error": {
        "code": "RequestBodyRead",
         "message": "An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. A 'StartObject' node was expected."
    }
}
</code></pre>

<p>My Code:</p>

<pre><code> var jsonBody = {
      "Subject": "test event",
        "Body": {
            "ContentType": "HTML",
            "Content": "sadsad"
        },
        "Start": "2016-05-27T00:00:00.000Z",
        "End": "2016-05-27T00:30:00.000Z",
        "Attendees": result,
         "Type":"Occurrence",
        "Recurrence": {
            "Pattern": {
                "DayOfMonth": 0,
                "Month": 0,
                "Type": "Daily",
                "Interval": 3,
                "FirstDayOfWeek": "Sunday"
            },
            "Range": {
                 "StartDate": "2015-05-27T00:00:00Z",
                "EndDate": "0001-01-01T00:00:00Z",
                "NumberOfOccurrences": 0,
                "Type": "NoEnd"
            }
        }
    };

var optionsForCreatingcalendar = {                              
    uri: 'https://outlook.office.com/api/v2.0/me/events',
    port: 443,
    method: 'POST',
    headers: {
    'Authorization': 'Bearer ' + token,
    'Content-Type': 'application/json'
    },
    json: true,
    body: jsonBody,                
    resolveWithFullResponse: true,
    simple: false
};

// --- API call using promise-----
rp(optionsForCreatingcalendar)
.then(function(response) {  

},function(err){


});
</code></pre>

<p>Can some one help me resolve it?</p>

<p>Thanks in Adavnce.</p>