The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentSubscriptionRequest HTTP/1.1
Host: backofficedemoapi.bombshelltechnologies.com
Content-Type: text/jsv
Content-Length: length
{
AgentId: 0,
SubscriptionGroupId: 0,
SubscriptionId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
AgentSubscription:
[
{
AgentSubscriptionId: 0,
AgentId: 0,
SubscriptionId: 0,
PaymentProviderSubscriptionId: String,
StartDate: 0001-01-01,
ActiveUntilDate: 0001-01-01,
ActivateOnDate: 0001-01-01,
IsSuspended: False,
IsCancelled: False
}
]
}