POST api/subscription
Request Information
URI Parameters
None.
Body Parameters
AddSubscriptionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
None. |
|
| CountryCode | string |
None. |
|
| ItemId | integer |
None. |
|
| ActivationDate | integer |
None. |
|
| ExpirationDate | integer |
None. |
|
| StatusId | integer |
None. |
|
| MigrationId | string |
None. |
|
| IsFreeTrial | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"CountryCode": "sample string 2",
"ItemId": 3,
"ActivationDate": 4,
"ExpirationDate": 5,
"StatusId": 6,
"MigrationId": "sample string 7",
"IsFreeTrial": true
}
application/xml, text/xml
Sample:
<AddSubscriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EvergentInterface.Core.ApiClasses"> <ActivationDate>4</ActivationDate> <CountryCode>sample string 2</CountryCode> <ExpirationDate>5</ExpirationDate> <IsFreeTrial>true</IsFreeTrial> <ItemId>3</ItemId> <MigrationId>sample string 7</MigrationId> <StatusId>6</StatusId> <UserID>sample string 1</UserID> </AddSubscriptionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |