The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CustomerExtension HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: text/jsv
Content-Length: length
{
ICustomer: 0,
Name: String,
Id: String,
ExtensionRecordId: 0,
IAccount: 0,
IProducts: String,
GetActiveCalls: False,
IsFiltering: False,
GetSipStatus: False,
isUnavailable: False,
License: String,
ContentId: 0,
FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
lstportaActiveCalls:
[
{
IEnv: 0,
CLI: String,
CLD: String,
AccountID: String,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
ICustomer: 0,
CallId: String,
IAccount: 0,
noofcalls: 0,
DurationMins: String,
CallType: String,
VendorId: 0,
VendorName: String,
ConnectionName: String,
IConnection: 0,
GatewayId: String,
IDialRuleCld: 0,
TrRuletoLocal: String,
product: String,
Note: String,
SubscriberFName: String,
SubscriberLName: String,
ExtensionNumber: String
}
],
ExtensionLst:
[
{
i_c_ext: 0,
id: String,
name: String,
i_account: 0,
account_id: String,
firstname: String,
lastname: String,
Note: String,
ProductName: String,
PhoneNumber: String
}
],
Extension:
{
i_c_ext: 0,
id: String,
name: String,
i_account: 0,
account_id: String,
firstname: String,
lastname: String,
Note: String,
ProductName: String,
PhoneNumber: String
},
ExtensionDeleted: False,
ExtensionsActiveCalls:
[
{
i_c_ext: 0,
id: String,
name: String,
i_account: 0,
account_id: String,
firstname: String,
lastname: String,
noofcalls: 0,
activecall: True,
NetThroughput: 0,
note: String,
SiteName: String,
i_customer_site: 0,
IAccount: 0,
Email: String,
CLD: String,
CLI: String,
DefaultValidIdentity: String,
callToJoin: False,
accountToJoin: String,
i_customer: 0,
notInGroup: False,
profile_url: String
}
],
License: String,
ContentId: 0,
FeatureName: String
}