API Request Parameters
The API request is a 2-step process:
- API Request to obtain a token for authorization to use in the Application’s Integration API Request.
- API Request to obtain data from the Application.
Step 1: API Request to Obtain Token
Request Details
POST Request
Security Administration URL for the token method: https://localhost/STS/connect/token
Parameter Keys
| Header | Value |
|---|---|
| Content-Type | “ application/x-www-form-urlencoded” |
| WKFS-ClientCertificate | paste the Base64 encoded cert text created in previous steps |
| Body | Value |
|---|---|
| grant_type | “client_credentials” |
| client_id | Enter value of the Client Id created in Security Administration |
| scope | Enter the appropriate scope value from list above. Note: Multiple
scopes can be entered by separating each with a
space: wk-ezcfg-def-data-read wk-ezcfg-pkg-pkt-read |
Response Details
| Parameter | Value |
|---|---|
| access_token | string value |
| expires_in | 3600 |
| token_type | bearer |
Step 2: API Request to Obtain Data
Use the access_token string value as the bearer token for the applications API being requested. Refer to the applications' Web Services Guide to obtain specific API request details and parameters.