Parameters
Endpoint:
https://invoca.net/api/@@NETWORK_API_VERSION/<network_id>/advertisers/<advertiser_id_from_network>/affiliates/<affiliate_id_from_network>.json
GET All Advertiser-Affiliate Relationships
Get all Advertiser-Affiliate relationships for an advertiser.Example
Read all relationships for advertiser id from network 1. Endpoint:https://invoca.net/api/@@NETWORK_API_VERSION/<network_id>/advertisers/1/affiliates.json
Format: application/json
Response Code: 200
Response Body:
GET Advertiser-Affiliate Relationship
Get a single Advertiser-Affiliate relationship.Example
Read a single relationship. Endpoint:https://invoca.net/api/@@NETWORK_API_VERSION/<network_id>/advertisers/1/affiliates/222.json
Format: application/json
Response Code: 200
Response Body:
POST Advertiser-Affiliate Relationship
Create an Advertiser-Affiliate relationship.Example
Create relationship between Advertiser id from network 1 and Affiliate id from network 222. Endpoint:https://invoca.net/api/@@NETWORK_API_VERSION/<network_id>/advertisers/1/affiliates/222.json
Format: application/json
Request Body:
PUT Advertiser-Affiliate Relationship
Update an Advertiser-Affiliate relationship.Example
Update an Advertiser-Affiliate relationship with id from network 1 and Affiliate id from network 222. Endpoint:https://invoca.net/api/@@NETWORK_API_VERSION/<network_id>/advertisers/1/affiliates/222.json
Format: application/json
Request Body:
DELETE Advertiser-Affiliate Relationship
Delete an Advertiser-Affiliate relationship.Example
Delete a relationship. Endpoint:https://invoca.net/api/@@NETWORK_API_VERSION/<network_id>/advertisers/1/affiliates/222.json
Response Code: 200