Skip to content

Latest commit

 

History

History
87 lines (61 loc) · 2.55 KB

PartnerDataApi.md

File metadata and controls

87 lines (61 loc) · 2.55 KB

pxcloud_api_client.PartnerDataApi

All URIs are relative to https://api-cx.cisco.com/px

Method HTTP request Description
success_tracks GET /v1/successTracks Success Tracks

success_tracks

success_tracks()

Success Tracks

Partner Success Tracks

Example

  • OAuth Authentication (oAuth2):
import time
import pxcloud_api_client
from pxcloud_api_client.api import partner_data_api
from pxcloud_api_client.model.error_response import ErrorResponse
from pprint import pprint
# Defining the host is optional and defaults to https://api-cx.cisco.com/px
# See configuration.py for a list of all supported configuration parameters.
configuration = pxcloud_api_client.Configuration(
    host = "https://api-cx.cisco.com/px"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure OAuth2 access token for authorization: oAuth2
configuration = pxcloud_api_client.Configuration(
    host = "https://api-cx.cisco.com/px"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Enter a context with an instance of the API client
with pxcloud_api_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = partner_data_api.PartnerDataApi(api_client)

    # example, this endpoint has no required or optional parameters
    try:
        # Success Tracks
        api_instance.success_tracks()
    except pxcloud_api_client.ApiException as e:
        print("Exception when calling PartnerDataApi->success_tracks: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

oAuth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 200 response * Date -
400 Bad Request * Date -
403 Forbidden * Date -
500 Internal server error * Date -
503 Service Unavailable * Date -
504 Gateway timeout * Date -

[Back to top] [Back to API list] [Back to Model list] [Back to README]