CreatePrimaryStructureRequest
Permission:CreatePrimaryStructureRequest
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. |
RecordAlreadyExists |
Critical |
10010009 |
The specified primary structure already exists in the list. |
ArgumentExists |
Critical |
10010016 |
The code name for the specified list identifier already exists. |
The following is an XML example of the CreatePrimaryStructureRequest sent to the
Structures.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:CreatePrimaryStructureRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Structure">
<a:List i:type="b:ListIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:ListId>1234</b:ListId>
</a:List>
<a:Name>StructureName</a:Name>
<a:CodeName>StructureCodeName</a:CodeName>
</ns:request>
</ns:Create>
</soapenv:Body>
</soapenv:Envelope>