POST api/TotalAyushCare/ContactUsForm

Documentation for 'ContactUsForm'.

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"
  },
  "ContactUsDetails": {
    "FullName": "sample string 1",
    "Email": "sample string 2",
    "PhoneNumber": "sample string 3",
    "UserId": "sample string 4",
    "Subject": "sample string 5",
    "Message": "sample string 6",
    "IPAddress": "sample string 7",
    "Latitude": "sample string 8",
    "Longitude": "sample string 9",
    "CreatedOn": "2021-11-26T12:17:24.4548395-05:00",
    "Source": "sample string 11",
    "Action": "sample string 12"
  }
}

application/xml, text/xml

Sample:
<ContactUsRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <ContactUsDetails>
    <Action>sample string 12</Action>
    <CreatedOn>2021-11-26T12:17:24.4548395-05:00</CreatedOn>
    <Email>sample string 2</Email>
    <FullName>sample string 1</FullName>
    <IPAddress>sample string 7</IPAddress>
    <Latitude>sample string 8</Latitude>
    <Longitude>sample string 9</Longitude>
    <Message>sample string 6</Message>
    <PhoneNumber>sample string 3</PhoneNumber>
    <Source>sample string 11</Source>
    <Subject>sample string 5</Subject>
    <UserId>sample string 4</UserId>
  </ContactUsDetails>
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
</ContactUsRequests>

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

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

application/xml, text/xml

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