/* ****************************************************************************
*
* postNotifyContext -
*/
std::string postNotifyContext
(
  ConnectionInfo*            ciP,
  int                        components,
  std::vector<std::string>&  compV,
  ParseData*                 parseDataP
)
{
  NotifyContextResponse  ncr;
  std::string            answer;

  TIMED_MONGO(ciP->httpStatusCode = mongoNotifyContext(&parseDataP->ncr.res,
                                                       &ncr,
                                                       ciP->tenant,
                                                       ciP->httpHeaders.xauthToken,
                                                       ciP->servicePathV,
                                                       ciP->httpHeaders.correlator,
                                                       ciP->httpHeaders.ngsiv2AttrsFormat));
  TIMED_RENDER(answer = ncr.toJsonV1());

  return answer;
}