CreateBusinessUnitRequest
Permission:CreateBusinessUnitRequest
Exception |
Severity |
Code |
Condition |
ArgumentMissing |
Critical |
10010001 |
A required request input has not been specified. |
IdentifierDoesNotExist |
Critical |
10010002 |
The List Specified in the List Identifier does not exist. |
ClientKeyNotUpdated |
Critical |
10040002 |
Specified client key value does not match the existing value, business unit not updated |
ClientKeyAlreadyExists |
Critical |
10040003 |
Client key already exists in this Client. |
ClientKeyIsReserved |
Critical |
10040004 |
The client key is a reserved word. |
AccessCodeAlreadyExists |
Critical |
10050001 |
The provided Access Code already exists in the list. |
InteractionAlreadyExistsInList |
Critical |
10050002 |
Interaction already exists in list. |
NoAvailableAccessCodes |
Critical |
10050008 |
There are no Access Codes available. |
The following is an XML example of the CreateBusinessUnitRequest sent to the
BusinessUnits.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:CreateBusinessUnitRequest" 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:List i:type="b:ListIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:ListId>1234</b:ListId>
</a:List>
<a:BusinessUnitData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" />
</ns:request>
</ns:Create>
</soapenv:Body>
</soapenv:Envelope>