AddTargetRequest
    
    
    
    Permission:AddBusinessUnitTargetRequest
    
    
    
    
        
            
                | Exception | 
                Severity | 
                Code | 
                Condition | 
            
                
                    | ArgumentMissing | 
                    Critical | 
                    10010001 | 
                    A required request input has not been specified. | 
                
                
                    | IdentifierDoesNotExist | 
                    Critical | 
                    10010002 | 
                    Specified identifier does not exist. | 
                
                
                    | MultipleRecordsFound | 
                    Critical | 
                    10010004 | 
                    Multiple records found for the identifier. | 
                
                
                    | ArgumentOutOfRange | 
                    Critical | 
                    10010008 | 
                    Target value exceeded the allowed value range. | 
                
                
                    | RecordAlreadyExists | 
                    Critical | 
                    10010009 | 
                    Target already exists for this Business Unit. | 
                
                
                    | RelationshipNotFound | 
                    Critical | 
                    10060002 | 
                    Unit Relationship not found in the Target Definition. | 
                
                
                    | TargetPeriodNotEditable | 
                    Critical | 
                    10150001 | 
                    Target Period is not editable. | 
                
        
     
 
    
    
        
        
            The following is an XML example of the AddTargetRequest sent to the 
            BusinessUnits.AddTarget 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:AddTarget xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ns:request i:type="a:AddTargetRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/BusinessUnit">
        <a:Unit i:type="b:UnitIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:UnitId>1234</b:UnitId>
        </a:Unit>
        <a:TargetDefinition i:type="b:TargetDefinitionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:TargetDefinitionId>9999</b:TargetDefinitionId>
        </a:TargetDefinition>
        <a:TargetData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" />
      </ns:request>
    </ns:AddTarget>
  </soapenv:Body>
</soapenv:Envelope>