new enhacements
parent
a7d2f88928
commit
5955eebf20
|
@ -10,6 +10,7 @@
|
|||
<option name="highlightLevel" value="WARNING" />
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="7.0" />
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
|
|
|
@ -6,14 +6,7 @@ $api = new SASConnector('172.16.12.108', 'admin', 'admin');
|
|||
$api->login();
|
||||
|
||||
|
||||
$res = $api->delete('manager/id', [
|
||||
"page" => 1,
|
||||
"count" => 10,
|
||||
"sortBy" => "username",
|
||||
"direction" => "asc",
|
||||
"search" => "test",
|
||||
"columns" => ["username", "firstname", "lastname", "balance", "loan_balance", "name", "username", "users_count"]
|
||||
]);
|
||||
$res = $api->delete('manager/152');
|
||||
|
||||
print_r(json_decode($res));
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ $api = new SASConnector('172.16.12.108', 'admin', 'admin');
|
|||
$api->login();
|
||||
|
||||
|
||||
$res = $api->delete('profile/id', []);
|
||||
$res = $api->delete('profile/31');
|
||||
|
||||
print_r(json_decode($res));
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ $api = new SASConnector('172.16.12.108', 'admin', 'admin');
|
|||
$api->login();
|
||||
|
||||
|
||||
$res = $api->delete('user/id', []);
|
||||
$res = $api->delete('user/2840');
|
||||
|
||||
print_r(json_decode($res));
|
||||
|
||||
|
@ -16,4 +16,5 @@ print_r(json_decode($res));
|
|||
//stdClass Object
|
||||
//(
|
||||
// [status] => 200
|
||||
//[message] => rsp_user_deleted
|
||||
//)
|
||||
|
|
|
@ -6,7 +6,7 @@ $api = new SASConnector('172.16.12.108', 'admin', 'admin');
|
|||
$api->login();
|
||||
|
||||
|
||||
$res = $api->put('user/id', [
|
||||
$res = $api->put('user/9786', [
|
||||
"enabled" => 1,
|
||||
"password" => null,
|
||||
"confirm_password" => null,
|
||||
|
|
Loading…
Reference in New Issue