@@ 101-111 (lines=11) @@ | ||
98 | return $result; |
|
99 | } |
|
100 | ||
101 | public function updateTerritory($params) |
|
102 | { |
|
103 | $response = Route4Me::makeRequst(array( |
|
104 | 'url' => self::$apiUrl, |
|
105 | 'method' => 'PUT', |
|
106 | 'query' => (array)$params, |
|
107 | ||
108 | )); |
|
109 | ||
110 | return $response; |
|
111 | } |
|
112 | } |
|
113 | ||
114 | ?> |
@@ 161-170 (lines=10) @@ | ||
158 | return $response; |
|
159 | } |
|
160 | ||
161 | public static function updateOrder($body) |
|
162 | { |
|
163 | $response = Route4Me::makeRequst(array( |
|
164 | 'url' => self::$apiUrl, |
|
165 | 'method' => 'PUT', |
|
166 | 'body' => (array)$body |
|
167 | )); |
|
168 | ||
169 | return $response; |
|
170 | } |
|
171 | ||
172 | public static function searchOrder($params) |
|
173 | { |