POST v1/core/channels/{chnId}/channellogin/valid

Validate a user credentials are correct for a channel.

Request Information

Parameters

NameDescriptionAdditional information
chnId

Define this parameter in the request URI.

creds

Define this parameter in the request body.

Request body formats

application/json, text/json

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

text/javascript

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

application/xml, text/xml

Sample:
<Credentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</Credentials>

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

application/bson

Sample:
AUsernamesample string 1Passwordsample string 2