public void WhenISendPutRequest(ApisEnum service, string endpoint, string body) { string endpointMapped = Mapper.MapValue(endpoint, helper.GetData()); string bodyMapped = Mapper.MapValue(body, helper.GetData()); IRequest request = RequestFactory.GetRequest(service, endpointMapped); request.GetRequest().AddJsonBody(bodyMapped); response = RequestManager.Put(client, request); ReportUtils.AddJsonData("Request body", bodyMapped); ReportUtils.AddJsonData("Response body", response.GetResponse().Content); }