Method GetDocumentTypes
GetDocumentTypes(String, SelectionSettingsContract, String, String)
Get document types
Declaration
DocumentTypesResultContract GetDocumentTypes(string connectionId, SelectionSettingsContract selectionSettings, string companyNumber, string documentTypeNumber)
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 document types with the company number, default: |
System.String | documentTypeNumber | Filter document types with the document type number, default: |
Returns
Type | Description |
---|---|
DocumentTypesResultContract | Returns a result package with all necessary informations |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/GetDocumentTypes
Example for read documenttypes.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) |