POST Subscription/restoreSubscription
Request Information
URI Parameters
None.
Body Parameters
subscriptionsData| Name | Description | Type | Additional information |
|---|---|---|---|
| subscriptionId | string |
None. |
|
| date | string |
None. |
|
| time | string |
None. |
|
| typeSubscriptionId | string |
None. |
|
| typeSubscriptionNameAr | string |
None. |
|
| typeSubscriptionNameEn | string |
None. |
|
| countOfTypeSubscription | string |
None. |
|
| payment | string |
None. |
|
| remaining | string |
None. |
|
| startDate | string |
None. |
|
| totalSessionCount | string |
None. |
|
| remainingSessionCount | string |
None. |
|
| notes | string |
None. |
|
| memberId | string |
None. |
|
| employeeId | string |
None. |
|
| offerId | integer |
None. |
|
| deleteStatus | string |
None. |
|
| refundStatus | boolean |
None. |
|
| refundPercentage | decimal number |
None. |
|
| refundValue | decimal number |
None. |
|
| employeeIdRefund | integer |
None. |
|
| refundNotes | string |
None. |
|
| year | integer |
None. |
|
| month | integer |
None. |
|
| dateFrom | string |
None. |
|
| dateTo | string |
None. |
|
| branchId | string |
None. |
|
| userId | integer |
None. |
|
| language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"subscriptionId": "sample string 1",
"date": "sample string 2",
"time": "sample string 3",
"typeSubscriptionId": "sample string 4",
"typeSubscriptionNameAr": "sample string 5",
"typeSubscriptionNameEn": "sample string 6",
"countOfTypeSubscription": "sample string 7",
"payment": "sample string 8",
"remaining": "sample string 9",
"startDate": "sample string 10",
"totalSessionCount": "sample string 11",
"remainingSessionCount": "sample string 12",
"notes": "sample string 13",
"memberId": "sample string 14",
"employeeId": "sample string 15",
"offerId": 16,
"deleteStatus": "sample string 17",
"refundStatus": true,
"refundPercentage": 19.0,
"refundValue": 20.0,
"employeeIdRefund": 21,
"refundNotes": "sample string 22",
"year": 23,
"month": 24,
"dateFrom": "sample string 25",
"dateTo": "sample string 26",
"branchId": "sample string 27",
"userId": 28,
"language": "sample string 29"
}
application/xml, text/xml
Sample:
<subscriptionsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Refit.Models.subscription"> <branchId>sample string 27</branchId> <countOfTypeSubscription>sample string 7</countOfTypeSubscription> <date>sample string 2</date> <dateFrom>sample string 25</dateFrom> <dateTo>sample string 26</dateTo> <deleteStatus>sample string 17</deleteStatus> <employeeId>sample string 15</employeeId> <employeeIdRefund>21</employeeIdRefund> <language>sample string 29</language> <memberId>sample string 14</memberId> <month>24</month> <notes>sample string 13</notes> <offerId>16</offerId> <payment>sample string 8</payment> <refundNotes>sample string 22</refundNotes> <refundPercentage>19</refundPercentage> <refundStatus>true</refundStatus> <refundValue>20</refundValue> <remaining>sample string 9</remaining> <remainingSessionCount>sample string 12</remainingSessionCount> <startDate>sample string 10</startDate> <subscriptionId>sample string 1</subscriptionId> <time>sample string 3</time> <totalSessionCount>sample string 11</totalSessionCount> <typeSubscriptionId>sample string 4</typeSubscriptionId> <typeSubscriptionNameAr>sample string 5</typeSubscriptionNameAr> <typeSubscriptionNameEn>sample string 6</typeSubscriptionNameEn> <userId>28</userId> <year>23</year> </subscriptionsData>
application/x-www-form-urlencoded
Sample:
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. |