Retrieving a List of Connection Types (New)

Document created by pubmatic-archivist on Mar 27, 2017Last modified by catherine.racette on Jun 5, 2017
Version 3Show Document
  • View in full screen mode

Overview

This API allows you to retrieve the list of all the connection types supported in the PubMatic system.

Request

         

URI

http://{domainName}/common/pmconnectiontype

HTTP MethodGET

Request Headers

                 

Header NameTypeValueRequiredDescription
AuthorizationStringBearer ${access_token}YesNeed to send the access token generating for authentication at the place of ${access_token}.
For more information about access tokens, refer to Getting Started with PubMatic APIs.

Response

Response Body

                  

Response Body ParameterTypeDescription
idIntegerUnique identifier of the connection type.
nameStringName of the connection type.

Sample Response JSON

{
            "metaData": {
                        "startIndex": 1,
                        "totalRecords": 2,
                        "endIndex": 2
            },
            "items": [{
                        "id": 1,
                        "name": "Cellular"
            }, {
                        "id": 2,
                        "name": "WiFi"
            }]
}

Error Codes

[
{
   "errorCode": "CC03_0004",
   "error": "Resource not found"
}
]

Attachments

    Outcomes