FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE

FlexNet Operations Web Services Guide

Element: tns:createEntitlementLineItemResponse

Description

A createEntitlementLineItemResponse message contains an element of addOrReplaceEntitlementLineItemResponseType.

Each line in the createEntitlementLineItemRequest is added as an atomic unit; adding each either succeeds or fails.

Derived By

Type addOnlyEntitlementLineItemResponseType

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Description 
    1..1   
statusInfo  StatusInfoType  1..1 
Element  Data Type  Description 
status
StatusType

Returns one of the following:

  • SUCCESS—All items in the request were processed.

  • PARTIAL_FAILURE—Some, but not all items in the request were processed.

  • FAILURE—None of the items in the request were processed.

If the opType is CREATE_OR_IGNORE, then, the operation finds out if the line item was present – if present, it ignores the line item and proceeds with the next line item. If the line item was not present, it will create that item. All items that are ignored will be copied to the responseData of the response.

If the opType is CREATE_OR_UPDATE, then the operation updates the line item if present, otherwise creates it.

Note: A line item request cannot succeed in the absence of an entitlement request.

reason
string
Gives reason for partial failure or failure.

failedData  failedAddEntitlementLineItemDataListType  0..1  See failedAddEntitlementLineItemDataListType.
responseData  addedEntitlementLineItemDataListType  0..1  See addedEntitlementLineItemDataListType.
Referenced By
Name  Type 
createEntitlementLineItem  Method 
XML Example

The following XML fragment illustrates a createEntitlementLineItemResponse message:

<createEntitlementLineItemResponse>
   <statusInfo>
      <status>SUCCESS</status>
   </statusInfo>
   <responseData>
      <addedLineItems>
         <entitlementIdentifier>
            <primaryKeys>
               <entitlementId>Ent-simple-test</entitlementId>
            </primaryKeys>
         </entitlementIdentifier>
         <lineItemUniqueIds>HID-220111</lineItemUniqueIds>
         <maintenanceLineItemUniqueIds>HID-220112
         </maintenanceLineItemUniqueIds>
      </addedLineItems>
   </responseData>
</createEntitlementLineItemResponse>