|
@@ 242-248 (lines=7) @@
|
| 239 |
|
* @param string $contentType |
| 240 |
|
* @return \Wabel\CertainAPI\CertainRessourceAbstract |
| 241 |
|
*/ |
| 242 |
|
public function postWithEventCode($eventCode, $ressourceId, $bodyData, |
| 243 |
|
$query = array(), $assoc = false, |
| 244 |
|
$contentType = 'json') |
| 245 |
|
{ |
| 246 |
|
$ressourceId = $eventCode.'/'.$ressourceId; |
| 247 |
|
return $this->post($bodyData, $query, $ressourceId, $assoc, $contentType); |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
/** |
| 251 |
|
* |
|
@@ 260-266 (lines=7) @@
|
| 257 |
|
* @param string $contentType |
| 258 |
|
* @return \Wabel\CertainAPI\CertainRessourceAbstract |
| 259 |
|
*/ |
| 260 |
|
public function putWithEventCode($eventCode, $ressourceId, $bodyData, |
| 261 |
|
$query = array(), $assoc = false, |
| 262 |
|
$contentType = 'json') |
| 263 |
|
{ |
| 264 |
|
$ressourceId = $eventCode.'/'.$ressourceId; |
| 265 |
|
return $this->put($bodyData, $query, $ressourceId, $assoc, $contentType); |
| 266 |
|
} |
| 267 |
|
|
| 268 |
|
/** |
| 269 |
|
* |