Method UpdateServiceTypes
UpdateServiceTypes(String, RequestSettingsContract, List<ServiceTypeUpdateContract>)
Update service types
Declaration
RequestResultContract UpdateServiceTypes(string connectionId, RequestSettingsContract requestSettings, List<ServiceTypeUpdateContract> serviceTypes)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
RequestSettingsContract | requestSettings | Request settings, e.g. Language |
System.Collections.Generic.List<ServiceTypeUpdateContract> | serviceTypes | Service types to be edited or added or deleted |
Returns
Type | Description |
---|---|
RequestResultContract | Returns the result of the query |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/UpdateServiceTypes
Example for update service types.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) |