V200611


Click here for a complete list of operations.

CreateTransaction

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/CreateTransaction"

<?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>
    <CreateTransaction xmlns="http://api.cvent.com/2006-11">
      <Transactions>
        <Transaction ContactId="string" InviteeId="string" SourceId="string" FirstName="string" LastName="string" Company="string" Title="string" EmailAddress="string" WorkPhone="string" EventId="string" EventCode="string" EventTitle="string" EventStartDate="dateTime" TransactionType="Online Charge or Online Refund or Offline Charge or Offline Refund" Success="boolean" TransactionNumber="string" PaymentType="string" NameOnCard="string" ReferenceNumber="string" BatchNumber="string" Amount="decimal" PaidInFull="boolean" TransactionDate="dateTime" Note="string" LastModifiedDate="dateTime" ModifiedBy="string" AuthorizationCode="string">
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
        </Transaction>
        <Transaction ContactId="string" InviteeId="string" SourceId="string" FirstName="string" LastName="string" Company="string" Title="string" EmailAddress="string" WorkPhone="string" EventId="string" EventCode="string" EventTitle="string" EventStartDate="dateTime" TransactionType="Online Charge or Online Refund or Offline Charge or Offline Refund" Success="boolean" TransactionNumber="string" PaymentType="string" NameOnCard="string" ReferenceNumber="string" BatchNumber="string" Amount="decimal" PaidInFull="boolean" TransactionDate="dateTime" Note="string" LastModifiedDate="dateTime" ModifiedBy="string" AuthorizationCode="string">
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
        </Transaction>
      </Transactions>
      <EventId>string</EventId>
    </CreateTransaction>
  </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>
    <CreateTransactionResponse xmlns="http://api.cvent.com/2006-11">
      <CreateTransactionResult xmlns="http://schemas.cvent.com/api/2006-11">
        <CreateTransactionResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateTransactionResult>
        <CreateTransactionResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateTransactionResult>
      </CreateTransactionResult>
    </CreateTransactionResponse>
  </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>
    <CreateTransaction xmlns="http://api.cvent.com/2006-11">
      <Transactions>
        <Transaction ContactId="string" InviteeId="string" SourceId="string" FirstName="string" LastName="string" Company="string" Title="string" EmailAddress="string" WorkPhone="string" EventId="string" EventCode="string" EventTitle="string" EventStartDate="dateTime" TransactionType="Online Charge or Online Refund or Offline Charge or Offline Refund" Success="boolean" TransactionNumber="string" PaymentType="string" NameOnCard="string" ReferenceNumber="string" BatchNumber="string" Amount="decimal" PaidInFull="boolean" TransactionDate="dateTime" Note="string" LastModifiedDate="dateTime" ModifiedBy="string" AuthorizationCode="string">
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
        </Transaction>
        <Transaction ContactId="string" InviteeId="string" SourceId="string" FirstName="string" LastName="string" Company="string" Title="string" EmailAddress="string" WorkPhone="string" EventId="string" EventCode="string" EventTitle="string" EventStartDate="dateTime" TransactionType="Online Charge or Online Refund or Offline Charge or Offline Refund" Success="boolean" TransactionNumber="string" PaymentType="string" NameOnCard="string" ReferenceNumber="string" BatchNumber="string" Amount="decimal" PaidInFull="boolean" TransactionDate="dateTime" Note="string" LastModifiedDate="dateTime" ModifiedBy="string" AuthorizationCode="string">
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
          <DistributionDetail ProductId="string" ProductName="string" ProductCode="string" ProductType="string" OrderPrice="double" AmountApplied="decimal" GLCode="string" GLDescription="string" OrderNumber="string" xmlns="http://schemas.cvent.com/api/2006-11">
            <GLCodes xsi:nil="true" />
            <GLCodes xsi:nil="true" />
          </DistributionDetail>
        </Transaction>
      </Transactions>
      <EventId>string</EventId>
    </CreateTransaction>
  </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>
    <CreateTransactionResponse xmlns="http://api.cvent.com/2006-11">
      <CreateTransactionResult xmlns="http://schemas.cvent.com/api/2006-11">
        <CreateTransactionResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateTransactionResult>
        <CreateTransactionResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateTransactionResult>
      </CreateTransactionResult>
    </CreateTransactionResponse>
  </soap12:Body>
</soap12:Envelope>