V200611
Click here for a complete list of operations.
CopyEvent
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /soap/V200611.asmx HTTP/1.1 Host: api.cvent.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://api.cvent.com/2006-11/CopyEvent" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <CventSessionHeader xmlns="http://api.cvent.com/2006-11"> <CventSessionValue>string</CventSessionValue> </CventSessionHeader> </soap:Header> <soap:Body> <CopyEvent xmlns="http://api.cvent.com/2006-11"> <EventId>string</EventId> <EventParameters> <EventParameters Title="string" Description="string" Capacity="int" EventAttendanceFormat="string" LocationName="string" Address1="string" Address2="string" Address3="string" City="string" StateCode="string" PostalCode="string" CountryCode="string" Phone="string" TimeZoneCode="string" StartDate="dateTime" EndDate="dateTime" PlannerFirstName="string" PlannerLastName="string" PlannerEmailAddress="string" RSVPByDate="dateTime" Language="English or French or German or Italian or Japanese or Portuguese or Spanish or Chinese" Category="Conference or Meeting or Seminar or Training Session or Trade Show or Dinner or Political Event or Forum or Fundraiser/Benefit or Save the Date or Celebration or Holiday or Reunion or Sports Event or Other/General or Incentive Trip or Webinar" InternalNote="string" PublishDate="dateTime" ArchiveDate="dateTime" PlannerPrefix="string" PlannerCompany="string" PlannerTitle="string" StakeholderFirstName="string" StakeholderLastName="string" StakeholderEmailAddress="string" StakeholderTitle="string" StakeholderCompany="string" StakeholderWorkPhone="string" StakeholderHomePhone="string" StakeholderWorkFax="string" StakeholderMobilePhone="string" StakeholderAddress1="string" StakeholderAddress2="string" StakeholderAddress3="string" StakeholderCity="string" StakeholderStateCode="string" StakeholderPostalCode="string" StakeholderCountryCode="string"> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> </EventParameters> <EventParameters Title="string" Description="string" Capacity="int" EventAttendanceFormat="string" LocationName="string" Address1="string" Address2="string" Address3="string" City="string" StateCode="string" PostalCode="string" CountryCode="string" Phone="string" TimeZoneCode="string" StartDate="dateTime" EndDate="dateTime" PlannerFirstName="string" PlannerLastName="string" PlannerEmailAddress="string" RSVPByDate="dateTime" Language="English or French or German or Italian or Japanese or Portuguese or Spanish or Chinese" Category="Conference or Meeting or Seminar or Training Session or Trade Show or Dinner or Political Event or Forum or Fundraiser/Benefit or Save the Date or Celebration or Holiday or Reunion or Sports Event or Other/General or Incentive Trip or Webinar" InternalNote="string" PublishDate="dateTime" ArchiveDate="dateTime" PlannerPrefix="string" PlannerCompany="string" PlannerTitle="string" StakeholderFirstName="string" StakeholderLastName="string" StakeholderEmailAddress="string" StakeholderTitle="string" StakeholderCompany="string" StakeholderWorkPhone="string" StakeholderHomePhone="string" StakeholderWorkFax="string" StakeholderMobilePhone="string" StakeholderAddress1="string" StakeholderAddress2="string" StakeholderAddress3="string" StakeholderCity="string" StakeholderStateCode="string" StakeholderPostalCode="string" StakeholderCountryCode="string"> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> </EventParameters> </EventParameters> </CopyEvent> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <CventSessionHeader xmlns="http://api.cvent.com/2006-11"> <CventSessionValue>string</CventSessionValue> </CventSessionHeader> </soap:Header> <soap:Body> <CopyEventResponse xmlns="http://api.cvent.com/2006-11"> <CopyEventResult xmlns="http://schemas.cvent.com/api/2006-11"> <CopyEventResult Id="string" ReferenceId="string" Success="boolean"> <Errors> <Error xsi:nil="true" /> <Error xsi:nil="true" /> </Errors> </CopyEventResult> <CopyEventResult Id="string" ReferenceId="string" Success="boolean"> <Errors> <Error xsi:nil="true" /> <Error xsi:nil="true" /> </Errors> </CopyEventResult> </CopyEventResult> </CopyEventResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /soap/V200611.asmx HTTP/1.1 Host: api.cvent.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <CventSessionHeader xmlns="http://api.cvent.com/2006-11"> <CventSessionValue>string</CventSessionValue> </CventSessionHeader> </soap12:Header> <soap12:Body> <CopyEvent xmlns="http://api.cvent.com/2006-11"> <EventId>string</EventId> <EventParameters> <EventParameters Title="string" Description="string" Capacity="int" EventAttendanceFormat="string" LocationName="string" Address1="string" Address2="string" Address3="string" City="string" StateCode="string" PostalCode="string" CountryCode="string" Phone="string" TimeZoneCode="string" StartDate="dateTime" EndDate="dateTime" PlannerFirstName="string" PlannerLastName="string" PlannerEmailAddress="string" RSVPByDate="dateTime" Language="English or French or German or Italian or Japanese or Portuguese or Spanish or Chinese" Category="Conference or Meeting or Seminar or Training Session or Trade Show or Dinner or Political Event or Forum or Fundraiser/Benefit or Save the Date or Celebration or Holiday or Reunion or Sports Event or Other/General or Incentive Trip or Webinar" InternalNote="string" PublishDate="dateTime" ArchiveDate="dateTime" PlannerPrefix="string" PlannerCompany="string" PlannerTitle="string" StakeholderFirstName="string" StakeholderLastName="string" StakeholderEmailAddress="string" StakeholderTitle="string" StakeholderCompany="string" StakeholderWorkPhone="string" StakeholderHomePhone="string" StakeholderWorkFax="string" StakeholderMobilePhone="string" StakeholderAddress1="string" StakeholderAddress2="string" StakeholderAddress3="string" StakeholderCity="string" StakeholderStateCode="string" StakeholderPostalCode="string" StakeholderCountryCode="string"> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> </EventParameters> <EventParameters Title="string" Description="string" Capacity="int" EventAttendanceFormat="string" LocationName="string" Address1="string" Address2="string" Address3="string" City="string" StateCode="string" PostalCode="string" CountryCode="string" Phone="string" TimeZoneCode="string" StartDate="dateTime" EndDate="dateTime" PlannerFirstName="string" PlannerLastName="string" PlannerEmailAddress="string" RSVPByDate="dateTime" Language="English or French or German or Italian or Japanese or Portuguese or Spanish or Chinese" Category="Conference or Meeting or Seminar or Training Session or Trade Show or Dinner or Political Event or Forum or Fundraiser/Benefit or Save the Date or Celebration or Holiday or Reunion or Sports Event or Other/General or Incentive Trip or Webinar" InternalNote="string" PublishDate="dateTime" ArchiveDate="dateTime" PlannerPrefix="string" PlannerCompany="string" PlannerTitle="string" StakeholderFirstName="string" StakeholderLastName="string" StakeholderEmailAddress="string" StakeholderTitle="string" StakeholderCompany="string" StakeholderWorkPhone="string" StakeholderHomePhone="string" StakeholderWorkFax="string" StakeholderMobilePhone="string" StakeholderAddress1="string" StakeholderAddress2="string" StakeholderAddress3="string" StakeholderCity="string" StakeholderStateCode="string" StakeholderPostalCode="string" StakeholderCountryCode="string"> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> <CustomFieldDetail FieldName="string" FieldType="string" FieldValue="string" FieldId="string" xmlns="http://schemas.cvent.com/api/2006-11" /> </EventParameters> </EventParameters> </CopyEvent> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <CventSessionHeader xmlns="http://api.cvent.com/2006-11"> <CventSessionValue>string</CventSessionValue> </CventSessionHeader> </soap12:Header> <soap12:Body> <CopyEventResponse xmlns="http://api.cvent.com/2006-11"> <CopyEventResult xmlns="http://schemas.cvent.com/api/2006-11"> <CopyEventResult Id="string" ReferenceId="string" Success="boolean"> <Errors> <Error xsi:nil="true" /> <Error xsi:nil="true" /> </Errors> </CopyEventResult> <CopyEventResult Id="string" ReferenceId="string" Success="boolean"> <Errors> <Error xsi:nil="true" /> <Error xsi:nil="true" /> </Errors> </CopyEventResult> </CopyEventResult> </CopyEventResponse> </soap12:Body> </soap12:Envelope>