@using System.Web.Http @using System.Web.Http.Description @using RMDataManager.Areas.HelpPage.Models @using RMDataManager.Areas.HelpPage.ModelDescriptions @model HelpPageApiModel @{ ApiDescription description = Model.ApiDescription; }

@description.HttpMethod.Method @description.RelativePath

@description.Documentation

Request Information

URI Parameters

@Html.DisplayFor(m => m.UriParameters, "Parameters")

Body Parameters

@Model.RequestDocumentation

@if (Model.RequestModelDescription != null) { @Html.DisplayFor(m => m.RequestModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.RequestModelDescription }) if (Model.RequestBodyParameters != null) { @Html.DisplayFor(m => m.RequestBodyParameters, "Parameters") } } else {

None.

} @if (Model.SampleRequests.Count > 0) {

Request Formats

@Html.DisplayFor(m => m.SampleRequests, "Samples") }

Response Information

Resource Description

@description.ResponseDescription.Documentation

@if (Model.ResourceDescription != null) { @Html.DisplayFor(m => m.ResourceDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ResourceDescription }) if (Model.ResourceProperties != null) { @Html.DisplayFor(m => m.ResourceProperties, "Parameters") } } else {

None.

} @if (Model.SampleResponses.Count > 0) {

Response Formats

@Html.DisplayFor(m => m.SampleResponses, "Samples") }