POST papi/v1/auth


Security

Anonymous API


Request Information

URI Parameters

None.

Required Headers

Name Description Sample Type Default
ConsumerId Represents the value of the consumer id.
Allow multiple values: no.
2426 integer None

Optional Headers

Name Description Sample Type Default
ApplicationType Represents the value of the consumer's application type.
Allow multiple values: no.
1 ApplicationType None
Accept-Language Represents the value of the desired language for translations.
Allow multiple values: yes.
es string en-US

Body Parameters

ExternalAuthRequest
NameDescriptionTypeAdditional information
Username

string

Required

Password

string

Required


Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<ExternalAuthRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Username>sample string 1</Username>
  <Password>sample string 2</Password>
</ExternalAuthRequest>

application/x-www-form-urlencoded

Sample:

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


Response Information

Resource Description

ExternalAuthenticatedUser
NameDescriptionTypeAdditional information
Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<ExternalAuthenticatedUser xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Message>sample string 1</Message>
</ExternalAuthenticatedUser>