Get service information from secure Web service
To access a secure Web service, including its specification, you need an access token issued on behalf of an authorized user.
You can get the token using the gettoken tool and provide it in the URL query string to get the OpenAPI specification.
The following steps describe the process.