Get services

This endpoint is deprecated.
POST/api/RPC.common.Api.Services.get?token=<TOKEN>

Key Services.get · API version 2.0.0

Parameters

6 body parameters inside data[]
FieldTypeDescription
idIntegerService ID
skurequiredStringService ID
namerequiredStringService name
get_allBooleanGet all
offsetNumberOffset
limitNumberLimit

Request example

Search By Id:
{
   "data" : [
      {
         "id" : 1135852575
      }
   ]
}
Search By Code:
{
   "data" : [
      {
         "sku" : 10193
      }
   ]
}
Search By Name:
{
   "data" : [
      {
         "name" : "Programming"
      }
   ]
}
Search By All Params:
{
   "data" : [
      {
         "sku" : 10193,
         "name" : "Programming",
         "id" : 1135852575
      }
   ]
}
Get All:
{
	"data":[
		{}
	],
	"get_all":1,
	"limit":10000,
	"offset":0
}

cURL

Search By Id:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "id" : 1135852575      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Services.get?token=<TOKEN>"
Search By Code:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "sku" : 10193      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Services.get?token=<TOKEN>"
Search By Name:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "name" : "Programming"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Services.get?token=<TOKEN>"
Search By All Params:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "sku" : 10193,         "name" : "Programming",         "id" : 1135852575      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Services.get?token=<TOKEN>"
Curl example Get All:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{	"data":[		{}	],	"get_all":1,	"limit":10000,	"offset":0}	' "https://<DOMAIN_NAME>/api/RPC.common.Api.Services.get?token=<TOKEN>"

Response example

    HTTP/1.1 200 OK
{
   "count" : 1,
   "result" : [
      {
         "name_multilang" : {
            "bg" : "Programming",
            "en" : "Programming"
         },
         "createdon" : "2024-03-06 13:07:20",
         "updatedon" : "2025-03-04 11:20:20",
         "group" : {
            "income_allocation_id" : 21564,
            "parent_id" : 22030,
            "name_multilang" : {
               "bg" : "Customer Care",
               "en" : "Customer Care"
            },
            "name" : "Customer Care",
            "have_childs" : 0,
            "parent_name" : "Services",
            "expense_allocation_id" : 21601,
            "tp" : "services",
            "code" : "CSV",
            "id" : 3139795
         },
         "service" : 1,
         "bom_rows" : [],
         "other" : 0,
         "sku" : 10193,
         "vendor_name" : "",
         "control_type" : null,
         "description_multilang" : {},
         "description" : "",
         "status" : "work",
         "id" : 1135852575,
         "vendor_code" : "",
         "name" : "Programming",
         "brand" : {},
         "base_quantity_digits" : 0,
         "image_url" : "",
         "measures" : [
            {
               "gross" : "0.0000000000",
               "tp" : "base",
               "si_label_multilang" : {
                  "bg" : "man-hour"
               },
               "formula" : 1,
               "H" : "0.0000000000",
               "si_label" : "man-hour",
               "is_weight" : 0,
               "name" : "Man-hour",
               "weight" : "0.0000000000",
               "base" : 1,
               "id" : 21791,
               "code" : "mh",
               "second" : null,
               "W" : "0.0000000000",
               "L" : "0.0000000000",
               "name_multilang" : {
                  "bg" : "Man-hour"
               }
            }
         ],
         "tp" : "service",
         "tax_letters" : [],
         "item" : 0
      }
   ]
}