public function postToggleStatusAction(Request $request)
    {
        $id = $request->request->get('id');

        $service = $this->get('campaignchain.core.location');

        try {
            $status = $service->toggleStatus($id);
            $response = $this->forward(
                'CampaignChainCoreBundle:REST/Location:getLocations',
                array(
                    'id' => $request->request->get('id')
                )
            );
            return $response->setStatusCode(Response::HTTP_CREATED);
        } catch (\Exception $e) {
            return $this->errorResponse($e->getMessage());
        }
    }