FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE |
FlexNet Operations Web Services Guide |
A createProductCategoryResponse message contains an element of createProductCategoryResponseType.
Type createProductCategoryResponseType
Contains elements as defined in the following table.
Component | Type | Occurs | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
1..1 | |||||||||||
statusInfo | StatusInfoType | 1..1 |
|
|||||||||
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. |
|||||||||
Name | Type |
---|---|
createProductCategory | Method |
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>