ServicePRO SDK Help

ManageObjectsServicesManager..::..CreateAssetStructureForMultipleAssetsRequest Method

Creates the asset structure for multiple assets request.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void CreateAssetStructureForMultipleAssetsRequest(
	string sessionKey,
	int poItemId,
	int quantity,
	int productId,
	Action<stcAsset, Exception> callbackAction
)
Public Sub CreateAssetStructureForMultipleAssetsRequest ( _
	sessionKey As String, _
	poItemId As Integer, _
	quantity As Integer, _
	productId As Integer, _
	callbackAction As Action(Of stcAsset, Exception) _
)

Parameters

sessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
poItemId
Type: Int32
The po item identifier.
quantity
Type: Int32
The quantity.
productId
Type: Int32
The product identifier.
callbackAction
Type: Action<(Of <(<'stcAsset, Exception>)>)>
The callback action.(Callback method will receive stcAsset with content of new asset if success.)