| @@ 169-180 (lines=12) @@ | ||
| 166 | return $response; |
|
| 167 | } |
|
| 168 | ||
| 169 | public function deleteAdressBookLocation($address_ids) |
|
| 170 | { |
|
| 171 | $result = Route4Me::makeRequst(array( |
|
| 172 | 'url' => Endpoint::ADDRESS_BOOK_V4, |
|
| 173 | 'method' => 'DELETEARRAY', |
|
| 174 | 'query' => array( |
|
| 175 | 'address_ids' => $address_ids |
|
| 176 | ) |
|
| 177 | )); |
|
| 178 | ||
| 179 | return $result; |
|
| 180 | } |
|
| 181 | ||
| 182 | public function updateAdressBookLocation($params) |
|
| 183 | { |
|
| @@ 84-95 (lines=12) @@ | ||
| 81 | return $abContacts; |
|
| 82 | } |
|
| 83 | ||
| 84 | public function deleteAvoidanceZone($territory_id) |
|
| 85 | { |
|
| 86 | $result = Route4Me::makeRequst(array( |
|
| 87 | 'url' => Endpoint::AVOIDANCE_ZONE, |
|
| 88 | 'method' => 'DELETEARRAY', |
|
| 89 | 'query' => array( |
|
| 90 | 'territory_id' => $territory_id |
|
| 91 | ) |
|
| 92 | )); |
|
| 93 | ||
| 94 | return $result; |
|
| 95 | } |
|
| 96 | ||
| 97 | public function updateAvoidanceZone($params) |
|
| 98 | { |
|
| @@ 85-96 (lines=12) @@ | ||
| 82 | return $response; |
|
| 83 | } |
|
| 84 | ||
| 85 | public function deleteTerritory($territory_id) |
|
| 86 | { |
|
| 87 | $result = Route4Me::makeRequst(array( |
|
| 88 | 'url' => Endpoint::TERRITORY_V4, |
|
| 89 | 'method' => 'DELETEARRAY', |
|
| 90 | 'query' => array( |
|
| 91 | 'territory_id' => $territory_id |
|
| 92 | ) |
|
| 93 | )); |
|
| 94 | ||
| 95 | return $result; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function updateTerritory($params) |
|
| 99 | { |
|