Snopp/Citycom Service Order Api
This commit is contained in:
@@ -309,7 +309,7 @@ class Citycom_OanApiClient {
|
||||
return true;
|
||||
}
|
||||
|
||||
private function runApiRequest($url, $ctx_opts, $url_params = [], $page_num = 1) {
|
||||
private function runApiRequest($url, $ctx_opts, $url_params = [], $page_num = 1) : mixed {
|
||||
$current_page = $page_num;
|
||||
$return_data = [];
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ class Citycom_OanApiHelper {
|
||||
//continue;
|
||||
|
||||
// register new Service with Citycom
|
||||
/*$new_service = $this->api->createService($service_data);
|
||||
$new_service = $this->api->createService($service_data);
|
||||
|
||||
if(!$new_service) {
|
||||
$this->log->error(__METHOD__.": Error creating service");
|
||||
@@ -182,9 +182,9 @@ class Citycom_OanApiHelper {
|
||||
"serial" => $new_service->ont->serial,
|
||||
"fsan" => $new_service->ont->fsan,
|
||||
],
|
||||
];*/
|
||||
];
|
||||
|
||||
$service_return[] = [
|
||||
/*$service_return[] = [
|
||||
"sublocation_id" => $sublocation_id,
|
||||
"service_number" => "30-fggreger-01",
|
||||
"service_type" => $ctag_service_type,
|
||||
@@ -193,7 +193,7 @@ class Citycom_OanApiHelper {
|
||||
"serial" => "ONT123456",
|
||||
"fsan" => "FSAN7890",
|
||||
],
|
||||
];
|
||||
];*/
|
||||
|
||||
// save ctag
|
||||
$ctag_data = $preorder_ctag_data;
|
||||
|
||||
Reference in New Issue
Block a user