Login partner
POST/authentication/v1/partner
Partner authenticate himself and obtain access token. More info about security and login endpoint
Request
- application/json
Body
required
username stringrequired
Partner username
password stringrequired
Partner secret password
Responses
- 200
- 400
Partner access token issued
- application/json
- Schema
- Example (from schema)
Schema
accessToken stringnullablerequired
Access token
expiresIn number
Token validity remaining time (in seconds)
{
"accessToken": "TokenForPartnerTokenForPartnerTokenForPartnerTokenForPartner",
"expiresIn": 7200
}
Unable to authenticate partner
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
required
Array with errors
code stringrequired
Unique internal error code
message stringrequired
Human readable error description (non-localized)
severity Severityrequired
Possible values: [ERROR
, WARN
, INFO
]
attribute string
JSON path of request attribute that caused the error (if applicable)
ticketId string
Internal ticket ID, used for error backtracking
{
"errors": [
{
"code": "ERR_1000_SOME_ERROR_CODE",
"message": "Some error/validation message description",
"severity": "ERROR",
"attribute": "personalBirthNumber",
"ticketId": "UAT1:AMS:20160516-091658.450:45e4"
}
]
}
Loading...