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  Search from attribute name.searchAttributeName and searchAttributeValue have to be specified both  String    
searchAttributeValue  Search from attribute value  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.