GET api/Pmpro?publicationId={publicationId}&userId={userId}&subscriberId={subscriberId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
publicationId

integer

Required

userId

string

Required

subscriberId

integer

Required

Body Parameters

ThirdPartySubscriberPublicationsSettingsModel
NameDescriptionTypeAdditional information
Token

string

None.

Id

integer

None.

PublicationId

integer

None.

ThirdPartySubscriberTypeId

integer

None.

Username

string

None.

Password

string

None.

ApiKey

string

None.

ThirdPartySubscriberType

string

None.

ApiBaseUrl

string

None.

ThirdPartyPublisherId

string

None.

ThirdPartyPublicationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Id": 2,
  "PublicationId": 3,
  "ThirdPartySubscriberTypeId": 4,
  "Username": "sample string 5",
  "Password": "sample string 6",
  "ApiKey": "sample string 7",
  "ThirdPartySubscriberType": "sample string 8",
  "ApiBaseUrl": "sample string 9",
  "ThirdPartyPublisherId": "sample string 10",
  "ThirdPartyPublicationId": 11
}

application/xml, text/xml

Sample:
<ThirdPartySubscriberPublicationsSettingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/etype_api_third_party_subscriber">
  <ApiBaseUrl>sample string 9</ApiBaseUrl>
  <ApiKey>sample string 7</ApiKey>
  <Id>2</Id>
  <Password>sample string 6</Password>
  <PublicationId>3</PublicationId>
  <ThirdPartyPublicationId>11</ThirdPartyPublicationId>
  <ThirdPartyPublisherId>sample string 10</ThirdPartyPublisherId>
  <ThirdPartySubscriberType>sample string 8</ThirdPartySubscriberType>
  <ThirdPartySubscriberTypeId>4</ThirdPartySubscriberTypeId>
  <Token>sample string 1</Token>
  <Username>sample string 5</Username>
</ThirdPartySubscriberPublicationsSettingsModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ThirdPartySubscriberPublicationsSettingsModel'.

Response Information

Resource Description

None.