FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE

FlexNet Operations Web Services Guide

Element: createDeviceResponse

Description

A createDeviceResponse message contains an element of createDevResponseType.

Derived By

Type createDevResponseType

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Description 
    1..1   
statusInfo  OpsEmbeddedStatusInfoType  1..1  See OpsEmbeddedStatusInfoType.
failedData  failedCreateDevDataListType  0..1  See failedCreateDevDataListType.
responseData  createdDeviceDataListType  0..1  See createdDeviceDataListType.
Referenced By
Name  Type 
createDevice  Method 
XML Example

The following XML fragments illustrate createDeviceResponse messages:

Sample Successful Response Data:

<createDeviceResponse>
         <statusInfo>
            <status>SUCCESS</status>
         </statusInfo>
         <responseData>
            <deviceIdentifier>
               <deviceType>CLIENT</deviceType>

               <deviceId>545454</deviceId>
            </deviceIdentifier>
         </responseData>
</createDeviceResponse>

Sample Failed Response Data:

      <createDeviceResponse>
         <statusInfo>
            <status>FAILURE</status>
         </statusInfo>
         <failedData>
            <failedDevice>
               <device>
                  <deviceIdentifier>
                     <deviceType>CLIENT</deviceType>
                     <deviceId>1111</deviceId>
                     <deviceIdType>STRING</deviceIdType>
                  </deviceIdentifier>
                  <hostTypeName>
                     <name>gizmo-1</name>
                  </hostTypeName>
                  <publisherIdName>
                     <name>demo-trl-low</name>
                  </publisherIdName>
                  <description>a client device</description>
                  <channelPartners>
                     <channelPartner>
                        <tierName>bo.constants.partnertiernames.endcustomer</tierName>
                        <accountUnit>
                           <primaryKeys>
                              <name>ACME</name>
                           </primaryKeys>
                        </accountUnit>
                        <contact>
                           <primaryKeys>
                              <firstName>ACME</firstName>
                              <lastName>Admin</lastName>
                              <emailAddress>admin@acme.co</emailAddress>
                           </primaryKeys>
                        </contact>
                     </channelPartner>
                  </channelPartners>
               </device>
               <reason>20008:Cannot create Device:  Device with host id "1111" already exists. [Incident# 8653-231]</reason>
            </failedDevice>
         </failedData>
       </createDeviceResponse>