POST api/Comments/ExternalClient

Request Information

URI Parameters

None.

Body Parameters

Altai.Web.Services.Models.CommentRequest
NameDescriptionTypeAdditional information
ContactId

System.Guid

None.

AccountId

System.Guid

None.

ApplicationId

System.Guid

None.

CourseId

System.Guid

None.

ProgramActivityId

System.Guid

None.

Comment

System.String

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactId": "fe58a286-5ddd-42b3-8265-01bf70697ecc",
  "AccountId": "1d3f9391-e21f-4322-a552-09eee37505e7",
  "ApplicationId": "64b8de77-2e62-4689-bebd-a5af737251cc",
  "CourseId": "bff9d9a9-71f3-417d-9fe2-295e2ecfbaf9",
  "ProgramActivityId": "ab471d17-0e5c-4bb1-acff-149ccf694abb",
  "Comment": "sample string 1"
}

application/xml, text/xml

Sample:
<CommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <AccountId>1d3f9391-e21f-4322-a552-09eee37505e7</AccountId>
  <ApplicationId>64b8de77-2e62-4689-bebd-a5af737251cc</ApplicationId>
  <Comment>sample string 1</Comment>
  <ContactId>fe58a286-5ddd-42b3-8265-01bf70697ecc</ContactId>
  <CourseId>bff9d9a9-71f3-417d-9fe2-295e2ecfbaf9</CourseId>
  <ProgramActivityId>ab471d17-0e5c-4bb1-acff-149ccf694abb</ProgramActivityId>
</CommentRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CommentRequest'.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.