GET /2015-03-01/member/partnership/public

Updated on
 
This method checks and resolves a given list of partner codes. 
 
The returned object contains publisher and adspace IDs for every resolved partner code.
If you need get more details you can also use the extendet version of this API. (full authentication required)
 
 
For invalid partner codes an additional error list is returned. The number of partner codes is currently set to a maximum of 25 items per request.
 
The example response below gives a full list of returned values.
 
Getting started

In order to use this API, you will first need:

  1. Your zanox Connect ID
  2. One or more partnerCodes

The connect ID can be found in the section "Links and Tool" under "Web Services" in the zanox Marketplace.

 

Resource URL

https://advertiser.api.zanox.com/advertiser-api/2015-03-01/member/partnership/public

 

Parameters

 

Request
connectId
required

URL path parameter.

Value Type: String

 

Example Value:
01234C04A2341DB3CAC7

partnerCode
required

URL path parameter. A comma separated list of partner codes.

Value Type: String

max number of values: 25

 

Separator: comma (,)

 

Example Value:
23323443C69317236,24834593C69315636

 

Response
partnerCode

Requested partner code.

Value Type: String

userId

ID of the publisher

Value Type: Integer

adspaceId

ID of the publishers adspace

Value Type: Integer

 

Example Request

REST authentication information in our example is added as query parameters

Get details for partner codes: 32506257C1742924096T,32506401C478372958T

1

http://advertiser.api.zanox.com/advertiser-api/2015-03-01/member/partnership/public?partnerCode=32506257C1742924096T,32506401C478372958T&connectid=12345C04D1AA1ACD3AC5

 

JSON Example Response

{

"validPartnerCodes":
[
{
"partnerCode": "32506257C1742924096T",
"userId": 1398869,
"adspaceId": 1455395
},
{
"partnerCode": "32506401C478372958T",
"userId": 1398869,
"adspaceId": 1455395
}
]
}
       

Resource Information

Rate Limited? No
Authentication Requires connect Id.
Response Formats json
HTTP Methods GET
Resource family member
Response Object partnerCodeList
API Version 2015-03-01