FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE

FlexNet Operations Web Services Guide

Element: createProductCategoryResponse

Description

A createProductCategoryResponse message contains an element of createProductCategoryResponseType.

Derived By

Type createProductCategoryResponseType

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 categories in the request were processed.

  • PARTIAL_FAILURE—Some, but not all categories in the request were processed. The get operation never returns PARTIAL_FAILURE.

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

reason
string
Gives reason for partial failure or failure.
 
failedData  failedProductCategoryDataListType  0..1  Information about the categories that were not added is listed in the failedData element. See failedProductCategoryDataListType
responseData  createdProductCategoryDataListType  0..1  Information about the categories that were added is listed in the responseData element. See createdProductCategoryDataListType.
Referenced By
Name  Type 
createProductCategory  Method 
XML Example

The following XML fragment illustrates a successful createProductCategoryResponse message:

<createProductCategoryResponse>
   <statusInfo>
      <status>SUCCESS</status>
   </statusInfo>
   <responseData>
      <createdProductCategory>
         <recordRefNo>1</recordRefNo>
         <uniqueId>149420</uniqueId>
      </createdProductCategory>
   </responseData>
</createProductCategoryResponse>

The following XML fragment illustrates a failed createProductCategoryResponse message:

<createProductCategoryResponse>
   <statusInfo>
      <status>FAILURE</status>
      <reason>All input data in the request failed. Please check the specific reasons in the returned data</reason>
   </statusInfo>
   <failedData>
      <failedProductCategory>
         <productCategory>
            <name>CRM</name>
            <description>Customer Relationship Management Products</description>
         <productCategory>
         <reason>8251:Cannot create Product Category CRM because there already exists another category with this name. [Incident# 7785-511]</reason>
      </failedProductCategory>
   </failedData>
</createProductCategoryResponse>