POST api/ng/email/postworkshopsupport

Request Information

URI Parameters

None.

Body Parameters

WorkshopSupportMessage
NameDescriptionTypeAdditional information
AuthorUserID

string

None.

UserProgramID

integer

None.

Comment

string

None.

PictureUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AuthorUserID": "sample string 1",
  "UserProgramID": 2,
  "Comment": "sample string 3",
  "PictureUrl": "sample string 4"
}

application/xml, text/xml

Sample:
<WorkshopSupportMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <AuthorUserID>sample string 1</AuthorUserID>
  <Comment>sample string 3</Comment>
  <PictureUrl>sample string 4</PictureUrl>
  <UserProgramID>2</UserProgramID>
</WorkshopSupportMessage>

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 'WorkshopSupportMessage'.

Response Information

Resource Description

PostWorkshopSupportResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

DateSubmitted

date

None.

ErrorType

UserPostError

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "DateSubmitted": "2021-04-19T16:33:14.2779736-04:00",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<PostWorkshopSupportResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <DateSubmitted>2021-04-19T16:33:14.2779736-04:00</DateSubmitted>
  <ErrorType>NoError</ErrorType>
  <IsSuccess>true</IsSuccess>
</PostWorkshopSupportResult>