Get Points of Sale (POSes)

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

Key Pos.get · API version 2.0.0

Parameters

6 body parameters inside data[]
FieldTypeDescription
idIntegerPOS ID
coderequiredStringPOS code
namerequiredStringPOS name
get_allBooleanGet all
offsetNumberOffset
limitNumberLimit

Request example

Search By Id:
{
   "data" : [
      {
         "id" : 1193903496
      }
   ]
}
Search By Code:
{
   "data" : [
      {
         "code" : "09"
      }
   ]
}
Search By Name:
{
   "data" : [
      {
         "name" : "Rotterdam"
      }
   ]
}
Search By All Params:
{
   "data" : [
      {
         "code" : "09",
         "id" : 1193903496,
         "name" : "Rotterdam"
      }
   ]
}
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" : 1193903496      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Pos.get?token=<TOKEN>"
Search By Code:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "code" : "09"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Pos.get?token=<TOKEN>"
Search By Name:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "name" : "Rotterdam"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Pos.get?token=<TOKEN>"
Search By All Params:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "code" : "09",         "id" : 1193903496,         "name" : "Rotterdam"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Pos.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.Pos.get?token=<TOKEN>"

Response example