Method GetInvestments
GetInvestments(String, SelectionSettingsContract, String, String)
Read investments
Declaration
InvestmentsResultContract GetInvestments(string connectionId, SelectionSettingsContract selectionSettings, string companyNumber, string investmentNumber)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
SelectionSettingsContract | selectionSettings | Represents data reading settings |
System.String | companyNumber | Optional: Filter investments with the company number, default: |
System.String | investmentNumber | Optional: Filter investments with the investment number, default: |
Returns
Type | Description |
---|---|
InvestmentsResultContract | Returns a result package with all necessary informations |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/GetInvestments
Example for read investments.Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |