This article relates to the New Job Scheduling, which provides enhanced performance and support for different testing frameworks. For the original Job Scheduling, see Job Scheduling.
Refresh login
Description
Refreshes an expired access token.
HTTP method
GET
Request
URL
http://{Job Scheduling API IP}:{port#}/api/Token/refresh/{refresh_Token}
Headers
Example header format:
Authorization: Basic <authorization token returned from the login method>
Content-Type: application/json
Parameter | Description/Comments |
---|---|
refresh_token |
refreshToken to use. (string) |
Response
Response example
{
"accessToken": "oHk5r-5R-lYlB7ekIjdk6FVKHs7GXwIdZxU6s7M9Rdo",
"refreshToken": "rXd4YhgsW0GdoYuim6k-TeZPugPAOr5uN-kWjGMPNzo",
"tokenType": "Bearer",
"expiresIn": 18000
}
Response summary
Parameter | Description/Comments |
---|---|
accessToken |
Token for authorizing REST API calls. (guid) |
refreshtoken | Token for refreshing expries accessToken. (guid) |
tokenType | Token type. (string) |
expiresIn | Validity period in seconds. (Numeric) |