V200611


Click here for a complete list of operations.

CreateUser

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

<?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>
    <CreateUser xmlns="http://api.cvent.com/2006-11">
      <Users>
        <User Active="boolean" Address1="string" Address2="string" Address3="string" AllEventVisibility="boolean" AllRFPVisibility="boolean" AllSurveyVisibility="boolean" ChangePasswordOnLogin="boolean" City="string" Company="string" Country="string" CountryCode="string" CreatedBy="string" CreatedDate="dateTime" DefaultContactGroupId="string" Email="string" FederatedId="string" FirstName="string" HomeFax="string" HomePhone="string" LastModifiedBy="string" LastModifiedDate="string" LastName="string" MobilePhone="string" Pager="string" Password="string" PostalCode="string" Prefix="string" State="string" StateCode="string" Title="string" Username="string" UserType="Application or Requester" UserRole="string" UserRoleId="string" WorkFax="string" WorkPhone="string" LastLoginDate="dateTime">
          <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" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
        </User>
        <User Active="boolean" Address1="string" Address2="string" Address3="string" AllEventVisibility="boolean" AllRFPVisibility="boolean" AllSurveyVisibility="boolean" ChangePasswordOnLogin="boolean" City="string" Company="string" Country="string" CountryCode="string" CreatedBy="string" CreatedDate="dateTime" DefaultContactGroupId="string" Email="string" FederatedId="string" FirstName="string" HomeFax="string" HomePhone="string" LastModifiedBy="string" LastModifiedDate="string" LastName="string" MobilePhone="string" Pager="string" Password="string" PostalCode="string" Prefix="string" State="string" StateCode="string" Title="string" Username="string" UserType="Application or Requester" UserRole="string" UserRoleId="string" WorkFax="string" WorkPhone="string" LastLoginDate="dateTime">
          <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" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
        </User>
      </Users>
    </CreateUser>
  </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>
    <CreateUserResponse xmlns="http://api.cvent.com/2006-11">
      <CreateUserResult xmlns="http://schemas.cvent.com/api/2006-11">
        <CreateUserResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateUserResult>
        <CreateUserResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateUserResult>
      </CreateUserResult>
    </CreateUserResponse>
  </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>
    <CreateUser xmlns="http://api.cvent.com/2006-11">
      <Users>
        <User Active="boolean" Address1="string" Address2="string" Address3="string" AllEventVisibility="boolean" AllRFPVisibility="boolean" AllSurveyVisibility="boolean" ChangePasswordOnLogin="boolean" City="string" Company="string" Country="string" CountryCode="string" CreatedBy="string" CreatedDate="dateTime" DefaultContactGroupId="string" Email="string" FederatedId="string" FirstName="string" HomeFax="string" HomePhone="string" LastModifiedBy="string" LastModifiedDate="string" LastName="string" MobilePhone="string" Pager="string" Password="string" PostalCode="string" Prefix="string" State="string" StateCode="string" Title="string" Username="string" UserType="Application or Requester" UserRole="string" UserRoleId="string" WorkFax="string" WorkPhone="string" LastLoginDate="dateTime">
          <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" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
        </User>
        <User Active="boolean" Address1="string" Address2="string" Address3="string" AllEventVisibility="boolean" AllRFPVisibility="boolean" AllSurveyVisibility="boolean" ChangePasswordOnLogin="boolean" City="string" Company="string" Country="string" CountryCode="string" CreatedBy="string" CreatedDate="dateTime" DefaultContactGroupId="string" Email="string" FederatedId="string" FirstName="string" HomeFax="string" HomePhone="string" LastModifiedBy="string" LastModifiedDate="string" LastName="string" MobilePhone="string" Pager="string" Password="string" PostalCode="string" Prefix="string" State="string" StateCode="string" Title="string" Username="string" UserType="Application or Requester" UserRole="string" UserRoleId="string" WorkFax="string" WorkPhone="string" LastLoginDate="dateTime">
          <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" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <UserGroupDetail UserGroupName="string" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
          <VisibilityDefaults UserGroupName="string" VisibilityType="Event or Survey or RFP or Campaign or Meeting Requests or RFI or Document Security" UserGroupId="string" xmlns="http://schemas.cvent.com/api/2006-11" />
        </User>
      </Users>
    </CreateUser>
  </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>
    <CreateUserResponse xmlns="http://api.cvent.com/2006-11">
      <CreateUserResult xmlns="http://schemas.cvent.com/api/2006-11">
        <CreateUserResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateUserResult>
        <CreateUserResult Id="string" ReferenceId="string" Success="boolean">
          <Errors>
            <Error xsi:nil="true" />
            <Error xsi:nil="true" />
          </Errors>
        </CreateUserResult>
      </CreateUserResult>
    </CreateUserResponse>
  </soap12:Body>
</soap12:Envelope>