getServices

This call is deprecated. Services have been phased out, and the module for managing services is no longer available on most Erply accounts. Consider using non-stock products instead of services.

Returns an array of services.

Input parameters

Parameter name Description Possible value Required
serviceID integer
searchName Searches from service name string
groupID integer
searchAttributeName Name of attribute to search from. Both "searchAttributeName" and "searchAttributeValue" have to be specified. Error 1030 will be returned if value is an array. string
searchAttributeValue Attribute value to search for. Error 1030 will be returned if value is an array. string
lang Retrieve item names in a specific language. If omitted, API will return item names in the default language of your Erply account.
Possible values:
  • 'eng' - English
  • 'spa' - Spanish
  • 'ger' - German
  • 'swe' - Swedish
  • 'fin' - Finnish
  • 'rus' - Russian
  • 'est' - Estonian
  • 'lat' - Latvian
  • 'lit' - Lithuanian
  • 'gre' - Greek
string
changedSince Retrieve only items that have been added or modified since the specified timestamp. Use it to keep a local database in sync with Erply. Integer (Unix timestamp)
recordsOnPage Number of records API should return. By default 20, at most 100. integer
pageNo API returns at most recordsOnPage items at a time. To retrieve the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". integer

Response

Field name Type Description
serviceID integer
code string
unitID integer ID of service unit. To get the list of units, use getProductUnits.
unitName string
vatrateID integer ID of VAT (tax) rate. To get the list of rates, use getVatRates.
vatrate string
groupID integer
webshopTransportOption integer 1 or 0. Is this option meant to show on webshop as delivery option.
name string
description string
price Decimal, 3 places
priceWithVat Decimal, 2 places
hasQuickSelectButton integer 0 or 1. 1 if this item has a quick-select button in POS
added integer Unix timestamp. Creation time.
lastModified integer Unix timestamp. Last modification time.