POST
api/v1/create-subscription
Request Information
Body Parameters
CreateSubscriptionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| PricingFrequencyId | integer |
None. |
|
| PaymentMethodId | string |
None. |
|
| PaymentId | string |
None. |
|
| PaymentMethod | string |
None. |
|
| PaymentType | string |
None. |
|
| PaymentStatus | string |
None. |
|
| ClientId | integer |
None. |
|
| SellerId | integer |
None. |
|
| PaymentMode | integer |
None. |
|
| IsAutoRenew | boolean |
None. |
Request Formats
application/json, text/json
{
"UserId": "sample string 1",
"PricingFrequencyId": 2,
"PaymentMethodId": "sample string 3",
"PaymentId": "sample string 4",
"PaymentMethod": "sample string 5",
"PaymentType": "sample string 6",
"PaymentStatus": "sample string 7",
"ClientId": 8,
"SellerId": 9,
"PaymentMode": 10,
"IsAutoRenew": true
}
text/html
{"UserId":"sample string 1","PricingFrequencyId":2,"PaymentMethodId":"sample string 3","PaymentId":"sample string 4","PaymentMethod":"sample string 5","PaymentType":"sample string 6","PaymentStatus":"sample string 7","ClientId":8,"SellerId":9,"PaymentMode":10,"IsAutoRenew":true}
application/xml, text/xml
<CreateSubscriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Seller"> <ClientId>8</ClientId> <IsAutoRenew>true</IsAutoRenew> <PaymentId>sample string 4</PaymentId> <PaymentMethod>sample string 5</PaymentMethod> <PaymentMethodId>sample string 3</PaymentMethodId> <PaymentMode>10</PaymentMode> <PaymentStatus>sample string 7</PaymentStatus> <PaymentType>sample string 6</PaymentType> <PricingFrequencyId>2</PricingFrequencyId> <SellerId>9</SellerId> <UserId>sample string 1</UserId> </CreateSubscriptionRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: CreateSubscriptionResponse
Response Formats
application/json, text/json
{
"IsSuccess": true,
"SubscriptionId": "sample string 2",
"SellerName": "sample string 3",
"SellerEmail": "sample string 4",
"InvoiceNumber": "sample string 5",
"AdminMemberId": 6,
"Message": "sample string 7"
}
text/html
{"IsSuccess":true,"SubscriptionId":"sample string 2","SellerName":"sample string 3","SellerEmail":"sample string 4","InvoiceNumber":"sample string 5","AdminMemberId":6,"Message":"sample string 7"}
application/xml, text/xml
<CreateSubscriptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Seller"> <AdminMemberId>6</AdminMemberId> <InvoiceNumber>sample string 5</InvoiceNumber> <IsSuccess>true</IsSuccess> <Message>sample string 7</Message> <SellerEmail>sample string 4</SellerEmail> <SellerName>sample string 3</SellerName> <SubscriptionId>sample string 2</SubscriptionId> </CreateSubscriptionResponse>
