/* ****************************************************************************
*
* deleteSubscriptionConvOp - 
*/
std::string deleteSubscriptionConvOp(ConnectionInfo* ciP, int components, std::vector<std::string> compV, ParseData* parseDataP)
{
  std::string                        subscriptionId = compV[2];
  UnsubscribeContextRequest*         uncrP          = &parseDataP->uncr.res;

  uncrP->subscriptionId = subscriptionId; 

  return postUnsubscribeContext(ciP, components, compV, parseDataP);
}
/* ****************************************************************************
*
* deleteSubscriptionConvOp - 
*
* DELETE /v1/contextSubscriptions/{subscriptionId}
* DELETE /ngsi10/contextSubscriptions/{subscriptionId}
*
* Payload In:  None
* Payload Out: UnsubscribeContextResponse
*
* URI parameters:
*   NONE 
*/
std::string deleteSubscriptionConvOp
(
  ConnectionInfo*            ciP,
  int                        components,
  std::vector<std::string>&  compV,
  ParseData*                 parseDataP
)
{
  std::string  subscriptionId = compV[2];

  // 'Fill In' UnsubscribeContextRequest
  parseDataP->uncr.res.subscriptionId.set(subscriptionId);

  return postUnsubscribeContext(ciP, components, compV, parseDataP);
}