The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
TotalCalls: 0,
NextOffset: 0,
PortaCustomerCDRS:
[
{
ID: 0,
IEnv: 0,
CLI: String,
CLD: String,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
Bill_time: 0001-01-01,
ICustomer: 0,
IDest: 0,
Charged_Quantity: 0,
Charged_Amount: 0,
CallId: String,
IService: 0,
BitFlags: 0
}
],
PortaAccountCDRS:
[
{
ID: 0,
IEnv: 0,
CLI: String,
CLD: String,
AccountID: String,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
Bill_time: 0001-01-01,
ICustomer: 0,
IDest: 0,
Charged_Quantity: 0,
Charged_Amount: 0,
CallId: String,
IAccount: 0,
IService: 0,
BitFlags: 0,
Ratting_Pattern: String,
CallType: String,
h323_conf_id: String,
Used_Quantity: 0,
failed: False
}
],
lstPortaCustomerAccountCDRS:
[
{
Rank: 0,
h323_conf_id: String,
h323_incoming_conf_id: String,
ID: 0,
IEnv: 0,
CLI: String,
CLD: String,
AccountID: String,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
connect_datetime: String,
disconnect_datetime: String,
Bill_time: 0001-01-01,
ICustomer: 0,
IDest: 0,
Charged_Quantity: 0,
Charged_Amount: 0,
CallId: String,
IAccount: 0,
ServiceName: String,
BitFlags: 0,
DisconnectCause: 0,
ServiceFlags: String,
History: String,
IService: 0,
CallType: String,
RatingPattern: String,
Used_Quantity: 0,
HuntGroupName: String,
AgentExtension: String,
CallTime: 0,
HoldTime: String
}
],
lstPortaResellerSubscriptions:
[
{
ID: 0,
IEnv: 0,
CLI: String,
CLD: String,
AccountID: String,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
Bill_time: 0001-01-01,
ICustomer: 0,
IDest: 0,
Charged_Quantity: 0,
Used_Quantity: 0,
Charged_Amount: 0,
CallId: String,
IAccount: 0,
ServiceName: String,
BitFlags: 0,
DisconnectCause: 0,
ServiceFlags: String,
History: String,
IService: 0,
Count: 0,
SubscriptionName: String,
TotalChargedAmount: 0,
IParent: 0
}
],
DictPortaCustomerAccountCDRS:
{
String:
[
{
Rank: 0,
h323_conf_id: String,
h323_incoming_conf_id: String,
ID: 0,
IEnv: 0,
CLI: String,
CLD: String,
AccountID: String,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
connect_datetime: String,
disconnect_datetime: String,
Bill_time: 0001-01-01,
ICustomer: 0,
IDest: 0,
Charged_Quantity: 0,
Charged_Amount: 0,
CallId: String,
IAccount: 0,
ServiceName: String,
BitFlags: 0,
DisconnectCause: 0,
ServiceFlags: String,
History: String,
IService: 0,
CallType: String,
RatingPattern: String,
Used_Quantity: 0,
HuntGroupName: String,
AgentExtension: String,
CallTime: 0,
HoldTime: String
}
]
},
ConnectedCallDataRecords:
{
String:
[
{
groupid: 0,
rank: 0,
h323_conf_id: String,
h323_incoming_conf_id: String,
AccountID: String,
CLI: String,
CLD: String,
CallId: String,
CallId_1: String,
BitFlags: 0,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
bill_time: 0001-01-01,
ServiceName: String
}
]
},
ConnectedCallsRecords:
{
String:
[
{
GroupID: 0,
CDRS:
[
{
groupid: 0,
rank: 0,
h323_conf_id: String,
h323_incoming_conf_id: String,
AccountID: String,
CLI: String,
CLD: String,
CallId: String,
CallId_1: String,
BitFlags: 0,
Connect_time: 0001-01-01,
Disconnect_time: 0001-01-01,
bill_time: 0001-01-01,
ServiceName: String
}
]
}
]
},
XDRSInfo:
[
{
i_xdr: 0,
i_xdrSpecified: False,
i_service: 0,
i_serviceSpecified: False,
i_dest: 0,
i_destSpecified: False,
account_id: String,
CLI: String,
CLD: String,
charged_amount: 0,
charged_amountSpecified: False,
charged_quantity: 0,
charged_quantitySpecified: False,
country: String,
subdivision: String,
description: String,
disconnect_cause: String,
bill_status: String,
disconnect_reason: String,
connect_time: 0001-01-01,
connect_timeSpecified: False,
unix_connect_time: 0,
unix_connect_timeSpecified: False,
disconnect_time: 0001-01-01,
disconnect_timeSpecified: False,
unix_disconnect_time: 0,
unix_disconnect_timeSpecified: False,
bill_time: 0001-01-01,
bill_timeSpecified: False,
bit_flags: 0,
bit_flagsSpecified: False,
call_recording_url: String,
call_recording_server_url: String,
cr_download_links:
[
String
],
h323_conf_id: String,
h323_incoming_conf_id: String,
xdr_type: String,
service: String,
destination: String,
iso_3166_1_a3: String,
i_rate: 0,
i_rateSpecified: False
}
],
DateRanges:
[
{
rank: 0,
Connect_time: 0001-01-01,
connect_datetime: String
}
],
TotalUsage:
{
FromTime: 0001-01-01,
Totime: 0001-01-01,
ChargedMinutes: 0,
ChargedCost: 0
},
AccountStatisticsSummary:
{
String:
[
{
i_account: 0,
outgoing_count: 0,
outgoing_duration: 0,
avgoutgoing_count: 0,
avgoutgoing_duration: 0,
incoming_count: 0,
incoming_duration: 0,
total_count: 0,
total_duration: 0,
AccountID: String
}
]
},
License: String,
ContentId: 0,
FeatureName: String
}