| @@ 175-186 (lines=12) @@ | ||
| 172 | return $response; |
|
| 173 | } |
|
| 174 | ||
| 175 | public function deleteAdressBookLocation($address_ids) |
|
| 176 | { |
|
| 177 | $result = Route4Me::makeRequst(array( |
|
| 178 | 'url' => Endpoint::ADDRESS_BOOK_V4, |
|
| 179 | 'method' => 'DELETEARRAY', |
|
| 180 | 'query' => array( |
|
| 181 | 'address_ids' => $address_ids |
|
| 182 | ) |
|
| 183 | )); |
|
| 184 | ||
| 185 | return $result; |
|
| 186 | } |
|
| 187 | ||
| 188 | public function updateAdressBookLocation($params) |
|
| 189 | { |
|
| @@ 89-100 (lines=12) @@ | ||
| 86 | return $abContacts; |
|
| 87 | } |
|
| 88 | ||
| 89 | public function deleteAvoidanceZone($territory_id) |
|
| 90 | { |
|
| 91 | $result = Route4Me::makeRequst(array( |
|
| 92 | 'url' => Endpoint::AVOIDANCE_ZONE, |
|
| 93 | 'method' => 'DELETEARRAY', |
|
| 94 | 'query' => array( |
|
| 95 | 'territory_id' => $territory_id |
|
| 96 | ) |
|
| 97 | )); |
|
| 98 | ||
| 99 | return $result; |
|
| 100 | } |
|
| 101 | ||
| 102 | public function updateAvoidanceZone($params) |
|
| 103 | { |
|
| @@ 90-101 (lines=12) @@ | ||
| 87 | return $response; |
|
| 88 | } |
|
| 89 | ||
| 90 | public function deleteTerritory($territory_id) |
|
| 91 | { |
|
| 92 | $result = Route4Me::makeRequst(array( |
|
| 93 | 'url' => Endpoint::TERRITORY_V4, |
|
| 94 | 'method' => 'DELETEARRAY', |
|
| 95 | 'query' => array( |
|
| 96 | 'territory_id' => $territory_id |
|
| 97 | ) |
|
| 98 | )); |
|
| 99 | ||
| 100 | return $result; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function updateTerritory($params) |
|
| 104 | { |
|