POST api/TotalAyushCare/GetDashBoardData

Documentation for 'GetDashBoardData'.

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"
  },
  "Action": "sample string 1",
  "Source": "sample string 2"
}

application/xml, text/xml

Sample:
<DashBoardDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Action>sample string 1</Action>
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
  <Source>sample string 2</Source>
</DashBoardDataRequest>

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

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",
  "DashBoardData": {
    "ApprovedCount": "sample string 1",
    "RejectedCount": "sample string 2",
    "OnHoldCount": "sample string 3",
    "InProgressCount": "sample string 4",
    "IsActiveCount": "sample string 5",
    "ApprovedCount_Lead": "sample string 6",
    "RejectedCount_Lead": "sample string 7",
    "OnHoldCount_Lead": "sample string 8",
    "InProgressCount_Lead": "sample string 9"
  }
}

application/xml, text/xml

Sample:
<DashBoardDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <DashBoardData>
    <ApprovedCount>sample string 1</ApprovedCount>
    <ApprovedCount_Lead>sample string 6</ApprovedCount_Lead>
    <InProgressCount>sample string 4</InProgressCount>
    <InProgressCount_Lead>sample string 9</InProgressCount_Lead>
    <IsActiveCount>sample string 5</IsActiveCount>
    <OnHoldCount>sample string 3</OnHoldCount>
    <OnHoldCount_Lead>sample string 8</OnHoldCount_Lead>
    <RejectedCount>sample string 2</RejectedCount>
    <RejectedCount_Lead>sample string 7</RejectedCount_Lead>
  </DashBoardData>
  <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>
</DashBoardDataResponse>