POST api/TotalAyushCare/InsertFeedBack

Documentation for 'InsertFeedBack'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Credentials": {
    "Username": "sample string 1",
    "Password": "sample string 2",
    "ClientName": "sample string 3"
  },
  "FeedBack": {
    "Id": "sample string 1",
    "OnTime": "sample string 2",
    "Understanding": "sample string 3",
    "Polite": "sample string 4",
    "Comments": "sample string 5",
    "AppointmentId": "sample string 6",
    "PatientId": "sample string 7",
    "DoctorId": "sample string 8",
    "AddedBy": "sample string 9",
    "AddedOn": "sample string 10",
    "Action": "sample string 11",
    "Source": "sample string 12",
    "Rating": "sample string 13"
  }
}

application/xml, text/xml

Sample:
<FeedBackRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
  <FeedBack>
    <Action>sample string 11</Action>
    <AddedBy>sample string 9</AddedBy>
    <AddedOn>sample string 10</AddedOn>
    <AppointmentId>sample string 6</AppointmentId>
    <Comments>sample string 5</Comments>
    <DoctorId>sample string 8</DoctorId>
    <Id>sample string 1</Id>
    <OnTime>sample string 2</OnTime>
    <PatientId>sample string 7</PatientId>
    <Polite>sample string 4</Polite>
    <Rating>sample string 13</Rating>
    <Source>sample string 12</Source>
    <Understanding>sample string 3</Understanding>
  </FeedBack>
</FeedBackRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "errors": [
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    }
  ],
  "result": "sample string 2"
}

application/xml, text/xml

Sample:
<FeedBackResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
  </errors>
  <message>sample string 1</message>
  <result>sample string 2</result>
</FeedBackResponse>