CreateEmployeeRequest

October2010

Service:Employees
Method:Create
Permission:CreateEmployeeRequest

Properties


Name Type Required Description
Person PersonIdentifier Optional
List ListIdentifier Required
EmployeeData EmployeeData Required
AuthenticationData AuthenticationData Optional

Exceptions


Exception Severity Code Condition
ArgumentMissing Critical 10010001 A required request input has not been specified.
IdentifierDoesNotExist Critical 10010002 The Client for Specified Client identifier does not exist.
UserAlreadyExists Critical 10020006 The username specified for the person identifier already exists.
ClientKeyAlreadyExists Critical 10040003 The Client key for Specified identifier already exists.
AccessCodeAlreadyExists Critical 10050001 Access code already exists in this list.
InteractionAlreadyExistsInList Critical 10050002 The interaction for the person identifier already exists in list.
LanguageIsoCodeIsInvalid Critical 10070001 The specified lanuguage ISO code is not valid.
UserNotUpdated NonCritical 10020013 Provided information does not match existing information, update unsuccessful.
ClientKeyNotUpdated NonCritical 10040002 Client key value does not match existing client key value, client key not updated.

Examples


The following is an XML example of the CreateEmployeeRequest sent to the Employees.Create method.

<soapenv:Envelope xmlns:ns="http://schemas.gallup.com/oms/2010/10/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header />
  <soapenv:Body>
    <ns:Create xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ns:request i:type="a:CreateEmployeeRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Employee">
        <a:Person i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:PersonId>1</b:PersonId>
        </a:Person>
        <a:List i:type="b:ListIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:ListId>1234</b:ListId>
        </a:List>
        <a:EmployeeData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" />
        <a:AuthenticationData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" />
      </ns:request>
    </ns:Create>
  </soapenv:Body>
</soapenv:Envelope>

[PRINT]© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.

© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.