POST api/TotalAyushCare/InsertReportAttach

Documentation for 'InsertReportAttach'.

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"
  },
  "attach": {
    "Id": 1,
    "FileName": "sample string 2",
    "FileType": "sample string 3",
    "Filesize": "sample string 4",
    "AppointmentId": 5,
    "ClientId": 6,
    "UploadedOn": "2021-11-26T16:41:46.7920951-05:00",
    "Action": "sample string 8",
    "Source": "sample string 9"
  }
}

application/xml, text/xml

Sample:
<ReportAttachmentsRequest 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>
  <attach>
    <Action>sample string 8</Action>
    <AppointmentId>5</AppointmentId>
    <ClientId>6</ClientId>
    <FileName>sample string 2</FileName>
    <FileType>sample string 3</FileType>
    <Filesize>sample string 4</Filesize>
    <Id>1</Id>
    <Source>sample string 9</Source>
    <UploadedOn>2021-11-26T16:41:46.7920951-05:00</UploadedOn>
  </attach>
</ReportAttachmentsRequest>

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

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",
  "Id": "sample string 3"
}

application/xml, text/xml

Sample:
<ReportAttachmentsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Id>sample string 3</Id>
  <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>
</ReportAttachmentsResponse>