The user needs to be logged in to use this endpoint, click here to read more.
This API initiates the sharing of a subscription by sending a share request to the share recipient.
contact required | string Email address or telephone number. |
contactType required | string
|
productCode required | string <= 12 characters Product the subscriber wishes to share |
firstName | string <= 30 characters First (given) name. |
lastName | string <= 30 characters Last (family) name. |
OK
Bad Request
Too Many Requests
Internal Server Error
{- "contact": "kari.nordmann@gmail.com",
- "contactType": "A",
- "productCode": "CO27409"
}
{- "status": "SHARE_OK"
}
The user needs to be logged in to use this endpoint, click here to read more.
This API is called to accept a share invitation.
OK
Bad Request
Too Many Requests
Internal Server Error
{- "shareCode": "1234WEF",
- "changeType": "ACCEPT"
}
{- "status": "SHARE_OK"
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
This API is used to decline a share request
NB: changeType
in the request has to be DECLINE
OK
Bad Request
Too Many Requests
Internal Server Error
{- "shareCode": "32479VSA",
- "changeType": "DECLINE"
}
{- "status": "5"
}
The user needs to be logged in to use this endpoint, click here to read more.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "customerProductShareRules": [
- {
- "productCode": "NAT",
- "shareType": "A",
- "shareCount": 3
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Use this API to list all availble distribution levels for selected product. Applicable only to B2B received subscriptions. Can be used to switch from current distribution level to one of the returned distribution levels e.g. to request start distribution.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "distributionLevels": [
- {
- "distributionLevel": "N",
- "usage": "A"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
This API is called to update a share invitation details.
{- "shareCode": "kyu54",
- "firstName": "Kari",
- "lastName": "Nordmann"
}
{- "success": true
}
The user needs to be logged in to use this endpoint, click here to read more.
This API lists all users and potiential users that have recieved a share request
OK
Array of objects List of shared subscribers | |
Array of objects List of shared subscription summaries(how many shares is in use). |
Bad Request
Too Many Requests
Internal Server Error
{- "sharedUserInformationList": [
- {
- "userId": 80,
- "startTime": 1560336440000,
- "endTime": 1591958840000,
- "shareStatus": "SHARE_REQUEST_SENT",
- "shareContact": "+4712345678",
- "shareContactType": "B",
- "firstName": "John",
- "lastName": "Doe",
- "productName": "ABC magazine",
- "productCode": "ABC",
- "shareCode": "XYZ",
- "customerNumber": 28
}
], - "sharedSubscriptionSummary": [
- {
- "productCode": "ABC",
- "sharesInUseCount": 1
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
This API cancels sharing of a subscription.
OK
Bad Request
Too Many Requests
Internal Server Error
{- "shareCode": "123AFDG",
- "changeType": "CANCEL"
}
{- "status": "SHARING_ENDED"
}
The user needs to be logged in to use this endpoint, click here to read more.
Use this API for per domain, IP range sharing.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "nets": [
- {
- "loginRequired": false,
- "startTime": 1562018400000,
- "endTime": 1562277600000,
- "ipRanges": [
- {
- "ipRangeStart": "192.168.0.1",
- "ipRangeEnd": "192.168.0.2"
}
], - "domains": [
- {
- "domain": "example.com"
}
]
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Use this API for per domain, IP range sharing.
{- "nets": [
- {
- "loginRequired": false,
- "startTime": 1562018400000,
- "endTime": 1562277600000,
- "ipRanges": [
- {
- "ipRangeStart": "192.168.0.1",
- "ipRangeEnd": "192.168.0.2"
}
], - "domains": [
- {
- "domain": "example.com"
}
]
}
]
}
{- "success": true
}
The user needs to be logged in to use this endpoint, click here to read more.
Use this API to change distribution level for selected product. Applicable only to B2B received subscriptions. Can be used to switch from current distribution level to different one e.g. to request start distribution.
{- "productCode": "ABC",
- "distributionLevel": "N"
}
{- "success": true
}