FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE

FlexNet Operations Web Services Guide

Method: createPartNumber

Description

The createPartNumber operation adds one or more part numbers, either asynchronously or synchronously. By default, part number creation is asynchronous.

To use the Product Packaging Service to load unassigned part numbers asynchronously, the Importing Part Numbers alert must be configured. See the FlexNet Operations Online Help for instructions. Before checking whether the part numbers were really added, wait until after the import has triggered.

With synchronous processing, the Web services client will be blocked until the request is completely processed. Therefore, use synchronous processing to load only for small numbers of part numbers at a time. The Importing Part Numbers alert does not have to be configured to load unassigned part numbers synchronously.

Parameters
Name  Type  Direction  Description 
msgparameters  createPartNumberRequestType  Input   
Returns

A createPartNumberResponse element having the structure defined by the following table.

Name  Type  Description 
statusInfo  StatusInfoType 
Element  Data Type  Description 
status
StatusType

Returns one of the following:

  • SUCCESS—If the request was synchronous, all of the part numbers in the request were processed successfully. If the request was asynchronous, SUCCESS means that the import request of part numbers was scheduled; this does not necessarily mean that the request was processed successfully.

  • PARTIAL_FAILURE—Some, but not all part numbers in the synchronous request were processed. The getCount and getQuery operations never return PARTIAL_FAILURE.

  • FAILURE—If the request was synchronous, none of the part numbers in the request were processed successfully. If the request was asynchronous, FAILURE means that the import request of part numbers was not scheduled.

reason
string
Gives reason for partial failure or failure.
 
failedData  failedPartNumberDataListType  Information about the part numbers that were not added is listed in the failedData element. See failedPartNumberDataListType. Not populated for asynchronous requests.
responseData  createdPartNumberDataListType  Information about the part numbers that were added is listed in the responseData element. See createdPartNumberDataListType. Not populated for asynchronous requests.