getServices

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 retrive 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 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 0 or 1 1 if this item has a quick-select button in POS
added Unix timestamp Creation time.
lastModified Unix timestamp Last modification time.