POST api/v2/{practiceId}/clinical/userfeedback/send

Sends user feedback to a predefined email address

Request Information

URI Parameters

NameDescriptionTypeAdditional information
practiceId

globally unique identifier

Required

Body Parameters

Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.UserFeedbackVo
NameDescriptionTypeAdditional information
FeedbackType

string

None.

Body

string

None.

Attachments

Collection of Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.UserFeedbackAttachment

None.

Request Formats

application/json, text/json

Sample:
{
  "FeedbackType": "sample string 1",
  "Body": "sample string 2",
  "Attachments": [
    {
      "DocumentDataBase64": "sample string 1",
      "FileName": "sample string 2",
      "MimeType": "sample string 3"
    },
    {
      "DocumentDataBase64": "sample string 1",
      "FileName": "sample string 2",
      "MimeType": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<UserFeedbackVo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects">
  <Attachments>
    <UserFeedbackAttachment>
      <DocumentDataBase64>sample string 1</DocumentDataBase64>
      <FileName>sample string 2</FileName>
      <MimeType>sample string 3</MimeType>
    </UserFeedbackAttachment>
    <UserFeedbackAttachment>
      <DocumentDataBase64>sample string 1</DocumentDataBase64>
      <FileName>sample string 2</FileName>
      <MimeType>sample string 3</MimeType>
    </UserFeedbackAttachment>
  </Attachments>
  <Body>sample string 2</Body>
  <FeedbackType>sample string 1</FeedbackType>
</UserFeedbackVo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'UserFeedbackVo'.

Response Information

Resource Description

Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.Boolean
NameDescriptionTypeAdditional information
Sucess

boolean

None.

ResponseCode

integer

None.

ResponseMessage

string

None.

Data

boolean

None.

Links

Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiLink

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "ResponseCode": 2,
  "ResponseMessage": "sample string 3",
  "Data": true,
  "Links": [
    {
      "Rel": "sample string 1",
      "HRef": "sample string 2"
    },
    {
      "Rel": "sample string 1",
      "HRef": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<RestApiResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
  <Data>true</Data>
  <Links>
    <RestApiLink>
      <HRef>sample string 2</HRef>
      <Rel>sample string 1</Rel>
    </RestApiLink>
    <RestApiLink>
      <HRef>sample string 2</HRef>
      <Rel>sample string 1</Rel>
    </RestApiLink>
  </Links>
  <ResponseCode>2</ResponseCode>
  <ResponseMessage>sample string 3</ResponseMessage>
  <Sucess>true</Sucess>
</RestApiResultOfboolean>