POST api/TotalAyushCare/ExternalLogin

Documentation for 'ExternalLogin'.

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"
  },
  "extLogin": {
    "UserName": "sample string 1",
    "firstName": "sample string 2",
    "LastName": "sample string 3",
    "ExternalLoginType": "sample string 4",
    "ExtLoginID": "sample string 5",
    "ExtLoginTokenID": "sample string 6",
    "Action": "sample string 7",
    "Source": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<ExternalLoginRequest 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>
  <extLogin>
    <Action>sample string 7</Action>
    <ExtLoginID>sample string 5</ExtLoginID>
    <ExtLoginTokenID>sample string 6</ExtLoginTokenID>
    <ExternalLoginType>sample string 4</ExternalLoginType>
    <LastName>sample string 3</LastName>
    <Source>sample string 8</Source>
    <UserName>sample string 1</UserName>
    <firstName>sample string 2</firstName>
  </extLogin>
</ExternalLoginRequest>

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

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

application/xml, text/xml

Sample:
<ExternalLoginResponse 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>
  <extPatientDetails>sample string 3</extPatientDetails>
  <message>sample string 1</message>
  <result>sample string 2</result>
</ExternalLoginResponse>