AddSiteRequest
    
    
    
    Permission:AddPersonSiteRequest
    
    
    
    
        
            
                | Exception | 
                Severity | 
                Code | 
                Condition | 
            
                
                    | ArgumentMissing | 
                    Critical | 
                    10010001 | 
                    A required request input has not been specified. | 
                
                
                    | IdentifierDoesNotExist | 
                    Critical | 
                    10010002 | 
                    One or more of the specified identifiers does not exist. | 
                
                
                    | MultipleRecordsFound | 
                    Critical | 
                    10010004 | 
                    Multiple records exist for the specified identifier. | 
                
                
                    | DataNotFound | 
                    Critical | 
                    10010006 | 
                    The person specified does not exist in the client for the specified site. | 
                
        
     
 
    
    
        
        
            The following is an XML example of the AddSiteRequest sent to the 
            People.AddSite 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:AddSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ns:request i:type="a:AddSiteRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/People">
        <a:Person i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:PersonId>1</b:PersonId>
        </a:Person>
        <a:Site i:type="b:SiteCodeNameIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:CodeName>MySite</b:CodeName>
        </a:Site>
      </ns:request>
    </ns:AddSite>
  </soapenv:Body>
</soapenv:Envelope>