Retrieving the Details of a Browser Language

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

Before using PubMatic APIs, first generate the API Token. For more information, refer to Getting Started with PubMatic APIs

Overview

This API allows you to retrieve the details of a browser language for the specified Id.

Request

         

URIhttp://{domainName}/common/browserlanguage/{id}
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 Parameters

                  

Parameter NameTypeDescription
idIntegerUnique ID of the browser language.
nameStringName of the browser language.

Sample Response JSON

{
  "id": 23,
  "name": "English"
}

 

Error Codes

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

Attachments

    Outcomes