The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Subscription HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: text/jsv
Content-Length: length
{
Currency: String,
SubscriptionId: 0,
Prefix: String,
MonthlyFee: 0,
ICustomer: 0,
License: String,
ContentId: 0,
FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
PortaSubscriptions:
[
{
Id: String,
ISubscription: 0,
Name: String,
Description: String,
ISO4217: String,
Daily: 0,
Weekly: 0,
Biweekly: 0,
Monthly: 0,
AdvancePeriod: 0,
InvoiceDescription: String,
IsFinished: String,
StartDate: 0001-01-01,
FinishDate: 0001-01-01,
ExpectedBillTime: 0001-01-01
}
],
PortaMonthlySubscription:
[
{
ISubscription: 0,
Name: String,
Description: String,
ISO4217: String,
Daily: 0,
Weekly: 0,
Biweekly: 0,
Monthly: 0,
AdvancePeriod: 0
}
],
AllSubscriptions: {},
License: String,
ContentId: 0,
FeatureName: String
}