Üye işyerine ait fiziksel POS cihazlarını listeler.
Output: Result<object modelidir.
Request URL
POST API_URL/terminals
Pos Cihazlarının Listesi
//Request
var client = new RestClient(url);
var request = new RestRequest("terminals", Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("MerchantId", "MERCHANT ID NİZ");
request.AddHeader("UserId", "API USER ID NİZ");
request.AddHeader("ApiKey", "API KEY İNİZ");
var result = client.Execute(request);
//Response
{
"Message": "İşlem Başarılı",
"ErrorCode": 0,
"Errors": null,
"IsDone": true,
"ElapsedTime": 75,
"Content": [
{
"Tid": "10006773",
"Label": "P1",
"Serial": "282-785-000",
"LastLogin": "5.10.2023 15:37:26",
"CreateDate": "21.03.2023 10:20:26",
"InstallDate": "21.03.2023 10:20:26",
"Type": "POS - Verifone VX520"
},
{
"Tid": "10006774",
"Label": "P2",
"Serial": "280-508-000",
"LastLogin": "9.05.2023 16:40:25",
"CreateDate": "21.03.2023 10:39:07",
"InstallDate": "21.03.2023 10:39:07",
"Type": "POS - Verifone VX520"
}
]
}