POST api/{context}/partner/Subscriptions

Create a new partner to subscription relationship if it doesn't exist in Aegis CRM.

Request Information

ParameterDescriptionAdditional information
partnerSubscriptionModel
A model representing a list of partner to subscriptions to be stored.

Define this parameter in the request body.

Requirements

NumberNotes
#1
PartnerID, and Name are required fields.

Special Field Notes

Field NameNotes
ID
Primary key for all Aegis CRM records.  The PartnerID/ContactID must already exist.
PartnerSubscribed.Name
Primary key for all Aegis CRM Subscriptions.  The Subscription's name must already exist.

Request body formats

application/json, text/json

Sample:
{
  "PartnerID": "sample string 2",
  "PartnerSubscribedModels": [
    {
      "SubscriptionType": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4"
    },
    {
      "SubscriptionType": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4"
    },
    {
      "SubscriptionType": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<PartnerSubscriptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDS.Web.WebApi.Models">
  <PartnerID>sample string 2</PartnerID>
  <UniqueID>67622b4d-d860-4f1d-bfe0-49ea3cbf5427</UniqueID>
</PartnerSubscriptionModel>