Aşağıdaki güvenlik kontrolleri sfsapiye eklendi
CheckCustomerCodeWithTokenAsync – giriş yapan kullanıcı ve requestteki customercode uyumlu mu yani yetkisi var mı
CheckCustomerAndCardNumberAsync – Müşteri requestteki card numarasına yetkisi var mı
CheckCustomerAndPlateCodeAsync – müşterinin plakaya yetkisi var mı
curl --location 'https://testapi.turkiyeshell.com/api/v1/tts/get-sotr-cards' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJIdXJrYW4iLCJqdGkiOiI0OGJiMzAxNy0wYzI5LTRjNjctOTc1Mi1hYWUyOTU1YzRmMzEiLCJlbWFpbCI6Imh1cmthbi50dW5hQHNoZWxsLmNvbSIsInVpZCI6Ijg5MTk5IiwiZmlyc3RfbmFtZSI6Ikh1cmthbiIsImxhc3RfbmFtZSI6Ikh1cmthbiIsImZ1bGxfbmFtZSI6Ikh1cmthbiBIdXJrYW4iLCJ1c2VyX2NvbnRleHQiOiIwMDExODQyNTI0IiwiaXNTdXBlckFkbWluIjoiRmFsc2UiLCJpcCI6IjEzNC4xNDYuMjIyLjEiLCJhcHBsaWNhdGlvbl9jb2RlIjoiU0ZTIiwiaXNUaGlyZFBhcnR5IjoiRmFsc2UiLCJyb2xlcyI6InNoZWxsLXR0cy1wcmF0aWtrYXJ0LXBhcnRuZXJjYXJkLWFkbWluIiwicGVybWlzc2lvbnMiOlsiU2ZzUG9ydGFsaV9BdWRpdF9NYW5hZ2UiLCJTZnNQb3J0YWxpX0Rhc2hib2FyZF9WaWV3IiwiU2ZzUG9ydGFsaV9BY2NvdW50X01hbmFnZSIsIlRUU19WZWhpY2xlX1JlcXVlc3RfTGlzdF9WaWV3IiwiU2ZzUG9ydGFsaV9HaWZ0Q2FyZFNhbGVzX1ZpZXciLCJTZnNQb3J0YWxpX0N1c3RvbWVyTWFuYWdlbWVudF9FZGl0IiwiU2ZzUG9ydGFsaV9NYXNzTGltaXRfVXB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Y2xlX1JlcXVlc3QiLCJUVFNfQXBwcm92ZV9WZWhpY2xlX1JlcXVlc3QiLCJIR1NfUmVxdWVzdHNfVmlldyIsIkhHU19SZXF1ZXN0X0FwcHJvdmUiLCJIR1NfUmVxdWVzdF9BZGQiLCJIR1NfUmVxdWVzdF9EZXRhaWxfVXBkYXRlIiwiUGFydG5lckNhcmRfQ2FyZE9yZGVyX0NhbmNlbCIsIlNmc1BvcnRhbGlfUmVzZWxsZXJIaXN0b3J5IiwiUGFydG5lckNhcmRfUmVzZWxsZXJIaXN0b3J5Il0sIm5iZiI6MTY5Njg0MDU2MywiZXhwIjoxNjk2ODQyMzYzLCJpc3MiOiJPbmVIdWIuU2VjdXJpdHkuQXBpIiwiYXVkIjoiT25lSHViLlNlY3VyaXR5LkFwaS5Vc2VyIn0.fO7xAwlZ03SE7gyDeY6n2WAzTKp-w0cv9B3wk4xtTQo' \
--data '{
"customerCode": "0011805658",
"plate": "",
"isReseller": true,
"paginationFilter":
{ "currentPage": 1, "pageSize": 10 }}'
data": [
{ "plateCode": "34GP0964", "customerCode": "0011805733", "sotrCustomerCode": null, "resellerCode": "0011805658", "customerName": "ECE PETROL OTOMOTİV İNŞAAT SAN.VE TİC.LTD.ŞTİ.", "customerName4": "ECE PETROL OTOMOTİV İNŞAAT SAN.VE TİC.LTD.ŞTİ.", "brandCode": 10, "brandName": "Mercedes", "modelCode": 60, "modelName": "C 180", "sotrCardNo": "1034164060", "cardNumber": null, "sotrStatus": "4", "sotrStatusName": "Iptal", "sotrBlackList": "B", "sotrBlackListName": "Bloke", "cardTypeCode": "HGS", "requestNo": "EV543216", "vehicleClass": 4, "deviceType": "E", "deviceTypeName": "Etiket", "contactName": null, "contactPhone": null, "additionDate": "0001-01-01T00:00:00", "additionUser": null, "deviceStatus": null }],
"success": true,
"error": null,
"statusCode": 200,
"extraParameters": {},
"paginationFilter":
{ "pageSize": 10, "currentPage": 1, "count": 1 }}