It will return the locations / work points created on your account along with their unique IDs (optional).
It is used when you want to create a loyalty card and associate it with a specific store / location / work point ID, before using the
CREATE / GENERATE NEW LOYALTY CARD
Example of a GET request:
https://Subdomeniu.Domeniu_Dvs.ro/api/response.php?apikey=TEST-123121313132fsdfdsfdsf4546464645&username=emailul_dvs@Domeniu_Dvs.ro&action=store_id&tip_response={json sau xml}
Do not use { }. They are only for highlighting purposes. Correct: key=value Wrong: key={value}
Required parameters
Name |
Mandatory field |
Description |
apikey |
YES |
API Key |
username |
YES |
Email address used to connect to Cardapp |
action |
YES |
Enter stores |
tip_response |
NO |
Enter xml if you want the response in XML format or json for JSON format |
{
"status":"success",
"store":[
{
"id_store":"XXXXXXX01",
"denumire":"BANEASA SHOPPING CITY 1"
},
{
"id_store":"XXXXXXX02",
"denumire":"BRASOV TRACTORUL"
}
]
}
<interogare_store_id>
<status>success</status>
<store>
<id_store>XXXXXXX01</id_store>
<denumire>BANEASA SHOPPING CITY 1</denumire>
</store>
<store>
<id_store>XXXXXXX02</id_store>
<denumire>BRASOV TRACTORUL</denumire>
</store>
</interogare_store_id>
RESPONSE PARAMETERS DETAILS
-
id_store – Unique ID of the store / location / work point
-
denumire – Name of the store / location / work point