Untitled
unknown
plain_text
2 years ago
987 B
6
Indexable
void AtualizaCalendario(string etag, string eventuid, string caluid, string title, string convertToEventTZ, string timezone, string start, string end) { // values sent for testing: // etag: 1673539813230, // caluid: dae8d4e2d819454b85943cf676749ad4, // convertToEventTZ : false // timezone: Europe/Lisbon // start: 20230114T140000+0000 // end: 20230114T143000+0000 // title: teste it mpDateTime = Map(); mpDateTime.put("convertToEventTZ",convertToEventTZ); mpDateTime.put("timezone",timezone); mpDateTime.put("start",start); mpDateTime.put("end",end); mpEventData = Map(); mpEventData.put("title",title); mpEventData.put("dateandtime",mpDateTime); mpP = Map(); mpP.put("etag",etag); mpP.put("destinationcaluid",caluid); mpP.put("eventdata",mpEventData); info mpEventData; response = invokeurl [ url :"https://calendar.zoho.com/api/v1/calendars/" + caluid + "/events/" + eventuid type :POST headers:mpP connection:"calendar_to_crm" ]; info response; }
Editor is loading...