@@ 86-97 (lines=12) @@ | ||
83 | return $abcontacts; |
|
84 | } |
|
85 | ||
86 | public function deleteAvoidanceZone($territory_id) |
|
87 | { |
|
88 | $result = Route4Me::makeRequst(array( |
|
89 | 'url' => self::$apiUrl, |
|
90 | 'method' => 'DELETEARRAY', |
|
91 | 'query' => array( |
|
92 | 'territory_id' => $territory_id |
|
93 | ) |
|
94 | )); |
|
95 | ||
96 | return $result; |
|
97 | } |
|
98 | ||
99 | public function updateAvoidanceZone($params) |
|
100 | { |
@@ 88-99 (lines=12) @@ | ||
85 | return $response; |
|
86 | } |
|
87 | ||
88 | public function deleteTerritory($territory_id) |
|
89 | { |
|
90 | $result = Route4Me::makeRequst(array( |
|
91 | 'url' => self::$apiUrl, |
|
92 | 'method' => 'DELETEARRAY', |
|
93 | 'query' => array( |
|
94 | 'territory_id' => $territory_id |
|
95 | ) |
|
96 | )); |
|
97 | ||
98 | return $result; |
|
99 | } |
|
100 | ||
101 | public function updateTerritory($params) |
|
102 | { |
@@ 154-165 (lines=12) @@ | ||
151 | return $ablocations; |
|
152 | } |
|
153 | ||
154 | public function deleteAdressBookLocation($address_ids) |
|
155 | { |
|
156 | $address = Route4Me::makeRequst(array( |
|
157 | 'url' => self::$apiUrl, |
|
158 | 'method' => 'DELETEARRAY', |
|
159 | 'query' => array( |
|
160 | 'address_ids' => $address_ids |
|
161 | ) |
|
162 | )); |
|
163 | ||
164 | return $address; |
|
165 | } |
|
166 | ||
167 | public function updateAdressBookLocation($params) |
|
168 | { |