HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CustomAuth HTTP/1.1
Host: api.dev.bnn.us
Content-Type: text/jsv
Content-Length: length
{
provider: String,
State: String,
oauth_token: String,
oauth_verifier: String,
UserName: String,
Password: String,
RememberMe: False,
Continue: String,
nonce: String,
uri: String,
response: String,
qop: String,
nc: String,
cnonce: String,
DeviceId: String,
RegistrationId: String,
OS: String,
Version: String,
Model: String,
Carrier: String,
Token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
SessionId: String,
UserName: String,
ReferrerUrl: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
Id: 0,
FirstName: String,
LastName: String,
Email: String,
Roles:
[
String
],
NextStep: String
}