FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE

FlexNet Operations Web Services Guide

Element: updateDeviceResponse

Description

An updateDevResponse message contains an element of updateDevResponseType.

Derived By

Type updateDevResponseType

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Description 
    1..1   
statusInfo  OpsEmbeddedStatusInfoType  1..1  See OpsEmbeddedStatusInfoType.
failedData  failedUpdateDevDataListType  0..1  See failedUpdateDevDataListType.
responseData  updatedDeviceDataListType  0..1  See updatedDeviceDataListType.
Referenced By
Name  Type 
updateDevice  Method 
XML Example

The following XML fragments illustrate updateDevResponse messages:

Sample Successful Response Data:

      <updateDevResponse>
         <statusInfo>
            <status>SUCCESS</status>
         </statusInfo>
         <responseData>
            <deviceIdentifier>
               <deviceType>CLIENT</deviceType>
               <deviceId>555555</deviceId>
            </deviceIdentifier>
         </responseData>     
</updateDevResponse>

Sample Failed Response Data:

       <updateDevResponse>
         <statusInfo>
            <status>FAILURE</status>
         </statusInfo>
         <failedData>
            <failedDevice>
               <device>
                  <deviceIdentifier>
                     <deviceType>CLIENT</deviceType>
                     <deviceId>545454</deviceId>
                     <deviceIdType>STRING</deviceIdType>
                  </deviceIdentifier>
                  <deviceId>555555</deviceId>
                  <hostTypeName>
                     <name>gizmo-2</name>
                  </hostTypeName>
                  <publisherIdName>
                     <name>demo-trl-medium</name>
                  </publisherIdName>
                  <description>updated desc</description>
                  <updateChannelPartners>
                     <channelPartners>
                        <channelPartner>
                           <tierName>bo.constants.partnertiernames.endcustomer</tierName>
                           <accountUnit>
                              <primaryKeys>
                                 <name>WILY</name>
                              </primaryKeys>
                           </accountUnit>
                           <contact>
                              <primaryKeys>
                                 <firstName>WILY</firstName>
                                 <lastName>Admin</lastName>
                                 <emailAddress>admin@wilycoyote.co</emailAddress>
                              </primaryKeys>
                           </contact>
                        </channelPartner>
                     </channelPartners>
                     <opType>REPLACE</opType>
                  </updateChannelPartners>
               </device>
               <reason>Device Identifier is invalid.</reason>
            </failedDevice>
         </failedData>      
</updateDevResponse>