Delete all car photos https://api.rrr.lt/crm/deleteCarPhotos

POST parameters

Name Type Required Data
username Text varchar(50) YES Username
password Text varchar(100) YES Password
user_token Text YES Token provided
car_id Numeric (int 11) YES Car id

PHP Curl example code

$post = [
'username' => '',
'password' => '',
'user_token' => '',
'car_id' => '242'
];

$ch = curl_init('https://api.rrr.lt/crm/deleteCarPhotos');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = json_decode(curl_exec($ch));
curl_close($ch);

Output

{ "msg": "OK", "status_code": "R200" }