POST api/Admin/CreateRegistration?appKey={appKey}

Documentation for 'CreateRegistration'.

Request Information

Parameters

NameDescriptionAdditional information
appKey
Documentation for 'appKey'.

Define this parameter in the request URI.

subscriber
Documentation for 'subscriber'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "pvVC": {
    "Id": 1,
    "SubscriberID": 2,
    "CreationDateTime": "2019-10-21T20:43:12.0119193+02:00",
    "PayerMsisdn": "sample string 4",
    "OTP": "sample string 5"
  },
  "pvDebitOrder": {
    "Id": 1,
    "SubscriberID": 2,
    "BranchCode": "sample string 3",
    "AccountNumber": "sample string 4",
    "CreationDateTime": "2019-10-21T20:43:12.0119193+02:00",
    "AccountType": "sample string 6",
    "Bank": "sample string 7"
  },
  "pvCode": "sample string 3",
  "pvRefererRef": "sample string 4",
  "pvRegistrationPage": "sample string 5",
  "pvLoginCount": 6,
  "pvId": 1,
  "pvDatetime": "2019-10-21T20:43:12.0119193+02:00",
  "pvName": "sample string 8",
  "pvSurname": "sample string 9",
  "pvIDnumber": "sample string 10",
  "pvMsisdn": "sample string 11",
  "pvEmail": "sample string 12",
  "pvPassword": "sample string 13",
  "pvStatusId": 14,
  "pvParentalGuidanceID": 15,
  "pvSubscription": {
    "pvSubscriptionType": "sample string 2",
    "pvIsInTrial": true,
    "pvTrialDaysRemaining": 10,
    "pvShouldBuy": true,
    "pvRecurring": true,
    "pvCost": 15.0,
    "pvCancelReason": "sample string 1",
    "pvSubscriberID": 3,
    "pvPaymentTypeID": 4,
    "pvStatusID": 5,
    "pvFrom": "2019-10-21T20:43:12.0119193+02:00",
    "pvTo": "2019-10-21T20:43:12.0119193+02:00",
    "pvInterval": 8,
    "pvDatetime": "2019-10-21T20:43:12.0119193+02:00",
    "pvFreeDays": 13
  },
  "pvLastLogin": "2019-10-21T20:43:12.0119193+02:00",
  "pvProfiles": [
    {
      "pvMain": true,
      "pvGCContactId": 1,
      "pvPrimary": true,
      "pvIdentifier": "2162f2a3-4b23-41fc-a070-ea70e2470e3c",
      "pvWishList": "sample string 3",
      "pvSubscrinerId": 5,
      "pvProfileId": 1,
      "pvName": "sample string 6",
      "pvSurname": "sample string 7",
      "pvPassword": "sample string 8",
      "pvDOB": "2019-10-21T20:43:12.0119193+02:00"
    },
    {
      "pvMain": true,
      "pvGCContactId": 1,
      "pvPrimary": true,
      "pvIdentifier": "2162f2a3-4b23-41fc-a070-ea70e2470e3c",
      "pvWishList": "sample string 3",
      "pvSubscrinerId": 5,
      "pvProfileId": 1,
      "pvName": "sample string 6",
      "pvSurname": "sample string 7",
      "pvPassword": "sample string 8",
      "pvDOB": "2019-10-21T20:43:12.0119193+02:00"
    },
    {
      "pvMain": true,
      "pvGCContactId": 1,
      "pvPrimary": true,
      "pvIdentifier": "2162f2a3-4b23-41fc-a070-ea70e2470e3c",
      "pvWishList": "sample string 3",
      "pvSubscrinerId": 5,
      "pvProfileId": 1,
      "pvName": "sample string 6",
      "pvSurname": "sample string 7",
      "pvPassword": "sample string 8",
      "pvDOB": "2019-10-21T20:43:12.0119193+02:00"
    }
  ],
  "pvCardDetails": [
    {
      "pvBillingAddress": "sample string 1",
      "pvCVV": "sample string 2",
      "pvCardName": "sample string 3",
      "pvCardNumber": "sample string 4",
      "pvCardCapureDate": "2019-10-21T20:43:12.0119193+02:00",
      "pvExpiryYear": 6,
      "pvExpiryMonth": 7
    },
    {
      "pvBillingAddress": "sample string 1",
      "pvCVV": "sample string 2",
      "pvCardName": "sample string 3",
      "pvCardNumber": "sample string 4",
      "pvCardCapureDate": "2019-10-21T20:43:12.0119193+02:00",
      "pvExpiryYear": 6,
      "pvExpiryMonth": 7
    },
    {
      "pvBillingAddress": "sample string 1",
      "pvCVV": "sample string 2",
      "pvCardName": "sample string 3",
      "pvCardNumber": "sample string 4",
      "pvCardCapureDate": "2019-10-21T20:43:12.0119193+02:00",
      "pvExpiryYear": 6,
      "pvExpiryMonth": 7
    }
  ],
  "pvParentalGuidancePassword": "sample string 16",
  "pvGender": "sample string 2",
  "pvAge": "sample string 1"
}

application/xml, text/xml

Sample:
<Entities.Subscriber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMM.Public">
  <pvAge>sample string 1</pvAge>
  <pvCardDetails>
    <Entities.CardDetail>
      <pvBillingAddress>sample string 1</pvBillingAddress>
      <pvCVV>sample string 2</pvCVV>
      <pvCardCapureDate>2019-10-21T20:43:12.0119193+02:00</pvCardCapureDate>
      <pvCardName>sample string 3</pvCardName>
      <pvCardNumber>sample string 4</pvCardNumber>
      <pvExpiryMonth>7</pvExpiryMonth>
      <pvExpiryYear>6</pvExpiryYear>
    </Entities.CardDetail>
    <Entities.CardDetail>
      <pvBillingAddress>sample string 1</pvBillingAddress>
      <pvCVV>sample string 2</pvCVV>
      <pvCardCapureDate>2019-10-21T20:43:12.0119193+02:00</pvCardCapureDate>
      <pvCardName>sample string 3</pvCardName>
      <pvCardNumber>sample string 4</pvCardNumber>
      <pvExpiryMonth>7</pvExpiryMonth>
      <pvExpiryYear>6</pvExpiryYear>
    </Entities.CardDetail>
    <Entities.CardDetail>
      <pvBillingAddress>sample string 1</pvBillingAddress>
      <pvCVV>sample string 2</pvCVV>
      <pvCardCapureDate>2019-10-21T20:43:12.0119193+02:00</pvCardCapureDate>
      <pvCardName>sample string 3</pvCardName>
      <pvCardNumber>sample string 4</pvCardNumber>
      <pvExpiryMonth>7</pvExpiryMonth>
      <pvExpiryYear>6</pvExpiryYear>
    </Entities.CardDetail>
  </pvCardDetails>
  <pvCode>sample string 3</pvCode>
  <pvDatetime>2019-10-21T20:43:12.0119193+02:00</pvDatetime>
  <pvDebitOrder>
    <AccountNumber>sample string 4</AccountNumber>
    <AccountType>sample string 6</AccountType>
    <Bank>sample string 7</Bank>
    <BranchCode>sample string 3</BranchCode>
    <CreationDateTime>2019-10-21T20:43:12.0119193+02:00</CreationDateTime>
    <Id>1</Id>
    <SubscriberID>2</SubscriberID>
  </pvDebitOrder>
  <pvEmail>sample string 12</pvEmail>
  <pvGender>sample string 2</pvGender>
  <pvIDnumber>sample string 10</pvIDnumber>
  <pvId>1</pvId>
  <pvLastLogin>2019-10-21T20:43:12.0119193+02:00</pvLastLogin>
  <pvLoginCount>6</pvLoginCount>
  <pvMsisdn>sample string 11</pvMsisdn>
  <pvName>sample string 8</pvName>
  <pvParentalGuidanceID>15</pvParentalGuidanceID>
  <pvParentalGuidancePassword>sample string 16</pvParentalGuidancePassword>
  <pvPassword>sample string 13</pvPassword>
  <pvProfiles>
    <Entities.Profile>
      <pvDOB>2019-10-21T20:43:12.0119193+02:00</pvDOB>
      <pvGCContactId>1</pvGCContactId>
      <pvIdentifier>2162f2a3-4b23-41fc-a070-ea70e2470e3c</pvIdentifier>
      <pvMain>true</pvMain>
      <pvName>sample string 6</pvName>
      <pvPassword>sample string 8</pvPassword>
      <pvPrimary>true</pvPrimary>
      <pvProfileId>1</pvProfileId>
      <pvSubscrinerId>5</pvSubscrinerId>
      <pvSurname>sample string 7</pvSurname>
      <pvWishList>sample string 3</pvWishList>
    </Entities.Profile>
    <Entities.Profile>
      <pvDOB>2019-10-21T20:43:12.0119193+02:00</pvDOB>
      <pvGCContactId>1</pvGCContactId>
      <pvIdentifier>2162f2a3-4b23-41fc-a070-ea70e2470e3c</pvIdentifier>
      <pvMain>true</pvMain>
      <pvName>sample string 6</pvName>
      <pvPassword>sample string 8</pvPassword>
      <pvPrimary>true</pvPrimary>
      <pvProfileId>1</pvProfileId>
      <pvSubscrinerId>5</pvSubscrinerId>
      <pvSurname>sample string 7</pvSurname>
      <pvWishList>sample string 3</pvWishList>
    </Entities.Profile>
    <Entities.Profile>
      <pvDOB>2019-10-21T20:43:12.0119193+02:00</pvDOB>
      <pvGCContactId>1</pvGCContactId>
      <pvIdentifier>2162f2a3-4b23-41fc-a070-ea70e2470e3c</pvIdentifier>
      <pvMain>true</pvMain>
      <pvName>sample string 6</pvName>
      <pvPassword>sample string 8</pvPassword>
      <pvPrimary>true</pvPrimary>
      <pvProfileId>1</pvProfileId>
      <pvSubscrinerId>5</pvSubscrinerId>
      <pvSurname>sample string 7</pvSurname>
      <pvWishList>sample string 3</pvWishList>
    </Entities.Profile>
  </pvProfiles>
  <pvRefererRef>sample string 4</pvRefererRef>
  <pvRegistrationPage>sample string 5</pvRegistrationPage>
  <pvStatusId>14</pvStatusId>
  <pvSubscription>
    <pvCancelReason>sample string 1</pvCancelReason>
    <pvCost>15</pvCost>
    <pvDatetime>2019-10-21T20:43:12.0119193+02:00</pvDatetime>
    <pvFreeDays>13</pvFreeDays>
    <pvFrom>2019-10-21T20:43:12.0119193+02:00</pvFrom>
    <pvInterval>8</pvInterval>
    <pvIsInTrial>true</pvIsInTrial>
    <pvPaymentTypeID>4</pvPaymentTypeID>
    <pvRecurring>true</pvRecurring>
    <pvShouldBuy>true</pvShouldBuy>
    <pvStatusID>5</pvStatusID>
    <pvSubscriberID>3</pvSubscriberID>
    <pvSubscriptionType>sample string 2</pvSubscriptionType>
    <pvTo>2019-10-21T20:43:12.0119193+02:00</pvTo>
    <pvTrialDaysRemaining>10</pvTrialDaysRemaining>
  </pvSubscription>
  <pvSurname>sample string 9</pvSurname>
  <pvVC>
    <CreationDateTime>2019-10-21T20:43:12.0119193+02:00</CreationDateTime>
    <Id>1</Id>
    <OTP>sample string 5</OTP>
    <PayerMsisdn>sample string 4</PayerMsisdn>
    <SubscriberID>2</SubscriberID>
  </pvVC>
</Entities.Subscriber>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>