POST Subscription/DoSubscription
Request Information
URI Parameters
None.
Body Parameters
DtoSubscription| Name | Description | Type | Additional information |
|---|---|---|---|
| plan_id | string |
None. |
|
| total_count | integer |
None. |
|
| quantity | integer |
None. |
|
| start_at | string |
None. |
|
| expire_by | string |
None. |
|
| customer_notify | integer |
None. |
|
| offer_id | string |
None. |
|
| notes | Notes |
None. |
|
| notify_info | notify_info |
None. |
Request Formats
application/json, text/json
Sample:
{
"plan_id": "sample string 1",
"total_count": 2,
"quantity": 3,
"start_at": "sample string 4",
"expire_by": "sample string 5",
"customer_notify": 6,
"offer_id": "sample string 7",
"notes": {
"notes_key_1": "sample string 1",
"notes_key_2": "sample string 2"
},
"notify_info": {
"notify_phone": "sample string 1",
"notify_email": "sample string 2"
}
}
application/xml, text/xml
Sample:
<DtoSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.Subsciption">
<customer_notify>6</customer_notify>
<expire_by>sample string 5</expire_by>
<notes>
<notes_key_1>sample string 1</notes_key_1>
<notes_key_2>sample string 2</notes_key_2>
</notes>
<notify_info>
<notify_email>sample string 2</notify_email>
<notify_phone>sample string 1</notify_phone>
</notify_info>
<offer_id>sample string 7</offer_id>
<plan_id>sample string 1</plan_id>
<quantity>3</quantity>
<start_at>sample string 4</start_at>
<total_count>2</total_count>
</DtoSubscription>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.