Method GetPurchaseOrders
GetPurchaseOrders(String, SelectionSettingsContract, String, String, String)
Read purchase orders
Declaration
PurchaseOrdersResultContract GetPurchaseOrders(string connectionId, SelectionSettingsContract selectionSettings, string companyNumber, string vendorNumber, string internalOrderNumber)
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 purchase orders with the company number, default: |
System.String | vendorNumber | Optional: Filter purchase orders with the vendor number, default: |
System.String | internalOrderNumber | Optional: Filter purchase orders with the internal order number, default: |
Returns
Type | Description |
---|---|
PurchaseOrdersResultContract | Returns a result package with all necessary informations |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/GetPurchaseOrders
Example for read purchase orders.
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) |