@@ 89-100 (lines=12) @@ | ||
86 | return $response; |
|
87 | } |
|
88 | ||
89 | public static function getUser($params) |
|
90 | { |
|
91 | $response = Route4Me::makeRequst(array( |
|
92 | 'url' => Endpoint::USER_V4, |
|
93 | 'method' => 'GET', |
|
94 | 'query' => array( |
|
95 | 'member_id' => isset($params['member_id']) ? $params['member_id'] : null |
|
96 | ) |
|
97 | )); |
|
98 | ||
99 | return $response; |
|
100 | } |
|
101 | ||
102 | public static function getUserLocations($param) |
|
103 | { |
@@ 239-250 (lines=12) @@ | ||
236 | return $result; |
|
237 | } |
|
238 | ||
239 | public function removeCustomNoteType($params) |
|
240 | { |
|
241 | $result = Route4Me::makeRequst(array( |
|
242 | 'url' => Endpoint::NOTE_CUSTOM_TYPES_V4, |
|
243 | 'method' => 'DELETE', |
|
244 | 'body' => array( |
|
245 | 'id' => isset($params['id']) ? $params['id'] : null |
|
246 | ) |
|
247 | )); |
|
248 | ||
249 | return $result; |
|
250 | } |
|
251 | ||
252 | public function getAllCustomNoteTypes() |
|
253 | { |