| @@ 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 | { |
|
| @@ 152-163 (lines=12) @@ | ||
| 149 | return $response; |
|
| 150 | } |
|
| 151 | ||
| 152 | public function deleteAdressBookLocation($address_ids) |
|
| 153 | { |
|
| 154 | $result = Route4Me::makeRequst(array( |
|
| 155 | 'url' => Endpoint::ADDRESS_BOOK_V4, |
|
| 156 | 'method' => 'DELETEARRAY', |
|
| 157 | 'query' => array( |
|
| 158 | 'address_ids' => $address_ids |
|
| 159 | ) |
|
| 160 | )); |
|
| 161 | ||
| 162 | return $result; |
|
| 163 | } |
|
| 164 | ||
| 165 | public function updateAdressBookLocation($params) |
|
| 166 | { |
|
| @@ 80-91 (lines=12) @@ | ||
| 77 | return $response; |
|
| 78 | } |
|
| 79 | ||
| 80 | public function deleteTerritory($territory_id) |
|
| 81 | { |
|
| 82 | $result = Route4Me::makeRequst(array( |
|
| 83 | 'url' => Endpoint::TERRITORY_V4, |
|
| 84 | 'method' => 'DELETEARRAY', |
|
| 85 | 'query' => array( |
|
| 86 | 'territory_id' => $territory_id |
|
| 87 | ) |
|
| 88 | )); |
|
| 89 | ||
| 90 | return $result; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function updateTerritory($params) |
|
| 94 | { |
|