ColdFusion Cfhttp to Create Google Calendar Event.

Please dont bid if you can do it by monday.

It is a very easy those who knows about this. just a 5-10 minute work.

My Budget is Rs 300-800.

I have implement most of the API calls using CFHTTP All is working fine.

I am using below code to create google calendar event.

Every parameter passed to it correct (validated). but with cfhttp it is not getting sent. I got error of

Filecontent { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Missing end time." } ], "code": 400, "message": "Missing end time." } }

<cfset title=eventTitle>

<cfset curlPost = StructNew()>

<cfset curlPost['summary'] = eventTitle>

<cfif eventType EQ 'FIXED-TIME'>

<cfset startTime = Replace(eventStartTime," ","T") & ":00">

<cfset endTime = Replace(eventEndTime," ","T") & ":00">

<cfset eventDate = "">

<cfset allDay = 0>

<cfset curlPost['start']['dateTime'] = startTime>

<cfset curlPost['start']['timeZone'] = [url removed, login to view]>

<cfset curlPost['end']['dateTime'] = endTime>

<cfset curlPost['end']['timeZone'] = [url removed, login to view]>


<cfset startTime = "">

<cfset endTime = "">

<cfset eventDate = eventDate>

<cfset allDay = 1>

<cfset curlPost['start']['date'] = eventDate>

<cfset curlPost['end']['date'] = eventDate>


<cfdump var="#serializeJSON(curlPost)#">

<cfdump var="#curlPost#">

<cfhttp url="[url removed, login to view]" method="post" result="httpResponse">

<cfhttpparam type="header" name="Content_Type" value="application/json">

<cfhttpparam type="header" name="Authorization" value="Bearer #session.access_token#" />

<cfhttpparam type="body" value="#serializeJSON(curlPost)#">


Please help me resolving this issue.

Taidot: API, Cold Fusion, cURL, JSON

Näytä lisää: add google calendar event excel, create google calendar event using excel vba, visual basic create google calendar event, create pdf google calendar event, php script add google calendar event, google calendar event wordpress, google calendar event window size, google calendar event input form, create google calendar event perl, crate google calendar event using php, display google calendar event website, create google calendar appointment vbnet, create google calendar aspnet vbnet, create google calendar, create google calendar view

Tietoa työnantajasta:
( 7 arvostelua ) Raipur, India

Projektin tunnus: #15170551

1 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_23% %project_currencyDetails_sign_sub_24% tähän työhön


all the parameters are not passed properly and 400 error means... http post url is not correct.... your code seems to be conversion of php code to CF 'curlpost' sounds like php variable...

₹600 INR 2 päivässä
(2 arvostelua)