POST api/Subscriptions
Request Information
URI Parameters
None.
Body Parameters
Subscription| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| PackId | integer |
None. |
|
| TransactionId | string |
None. |
|
| Amount | decimal number |
None. |
|
| Date | date |
None. |
|
| Status | integer |
None. |
|
| ExpiryDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"PackId": 3,
"TransactionId": "sample string 4",
"Amount": 5.0,
"Date": "2025-12-24T05:55:05.9940543-08:00",
"Status": 7,
"ExpiryDate": "2025-12-24T05:55:05.9940543-08:00"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Subscription| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| PackId | integer |
None. |
|
| TransactionId | string |
None. |
|
| Amount | decimal number |
None. |
|
| Date | date |
None. |
|
| Status | integer |
None. |
|
| ExpiryDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"PackId": 3,
"TransactionId": "sample string 4",
"Amount": 5.0,
"Date": "2025-12-24T05:55:06.2128092-08:00",
"Status": 7,
"ExpiryDate": "2025-12-24T05:55:06.2128092-08:00"
}