POST api/User/MedicalArtsASavePatientQuestion

Request Information

URI Parameters

None.

Body Parameters

PatientQuestion
NameDescriptionTypeAdditional information
QuestionId

integer

None.

UserId

integer

None.

OrderId

integer

None.

PHRId

integer

None.

Question

string

None.

DateCreated

date

None.

PHRDetail

PHRDetail

None.

User

User

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ETelMed.Entity.DataBase.PatientQuestion'. Path 'PHRDetail.PatientQuestions'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ETelMed.Entity.DataBase.PatientQuestion'. Path 'PHRDetail.PatientQuestions'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ETelMed.Entity.DataBase.PatientQuestion, ETelMed.Entity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ETelMed.Entity.DataBase.PatientQuestion, ETelMed.Entity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": true
}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result>true</Result>
  <Status>3</Status>
</ResponseOfboolean>