ServicePRO SDK Help

ManageObjectsServicesManager..::..GetProductsSuppliedByCompanyRequest Method

Gets the products supplied by company identifier.

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

Syntax


public void GetProductsSuppliedByCompanyRequest(
	string sessionKey,
	int companyId,
	Action<int, List<stcColumnAlias>, IEnumerable<Dictionary<string, Object>>, Exception> callbackAction
)
Public Sub GetProductsSuppliedByCompanyRequest ( _
	sessionKey As String, _
	companyId As Integer, _
	callbackAction As Action(Of Integer, List(Of stcColumnAlias), IEnumerable(Of Dictionary(Of String, Object)), 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.
companyId
Type: Int32
The company identifier.
callbackAction
Type: Action<(Of <(<'Int32, List<(Of <(<'stcColumnAlias>)>)>, IEnumerable<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>, Exception>)>)>
The callback action.