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