我想获取最后在 Veeam 中输入的公司名称的实例 ID 并将其保存在我的数据库中
我正在使用 Curl 作为 APi at Rest 。
下面的代码获取响应并对其进行解码
$response = curl_exec($curl);
$json = $response;
$json_output = json_decode($json, true);
echo '<pre>';
print_r($json_output);
响应如果低于
Array
(
[meta] => Array
(
[pagingInfo] => Array
(
[total] => 7
[count] => 7
[offset] => 0
)
)
[data] => Array
(
[0] => Array
(
[instanceUid] => 0aa2db5f-3450-4c30-8074-c215ca509475
[name] => Jerome_Company
[status] => active
[resellerUid] =>
[subscriptionPlanUid] => a8078b36-c29b-40db-90f5-4960a05fff1e
[permissions] => Array
(
)
)
[5] => Array
(
[instanceUid] => ebcd92e9-bb13-4ea0-87c4-175bc7b5ab1f
[name] => Xoagub
[status] => active
[resellerUid] =>
[subscriptionPlanUid] => a8078b36-c29b-40db-90f5-4960a05fff1e
[permissions] => Array
(
)
)
[6] => Array
(
[instanceUid] => 1325d332-b7d9-4960-9004-0b7ca335078e
[name] => Gmail
[status] => creating
[resellerUid] =>
[subscriptionPlanUid] => a8078b36-c29b-40db-90f5-4960a05fff1e
[permissions] => Array
(
)
)
)
)
有没有一种方法可以获取上次进入公司的instanceUid?
猛跑小猪