The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/PortaCDR HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: text/csv
Content-Length: length
FromDate,ToDate,ICustomer,IAccount,IService,IncludeAccounts,Csv,RetailXDRInfo,IncludeSubcustomers,GetOutgoingCalls,FetchRecordsUsingOffset,Offset,GetAccountVoiceCalls,GetHuntGroupReports,DisconnectTimeFilter,DisconnectTimeResellerFilter,Customer_Timezone,showcurrentperiod,GetConnectedCalls,getAccountSummary,i_product,License,ContentId,FeatureName
String,String,0,0,0,False,False,False,False,False,False,0,False,False,String,String,String,False,False,False,String,String,0,String
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
TotalCalls,NextOffset,PortaCustomerCDRS,PortaAccountCDRS,lstPortaCustomerAccountCDRS,lstPortaResellerSubscriptions,DictPortaCustomerAccountCDRS,ConnectedCallDataRecords,ConnectedCallsRecords,XDRSInfo,DateRanges,TotalUsage,AccountStatisticsSummary,License,ContentId,FeatureName
0,0,"[{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}]","[{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}]","[{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}]","[{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}]","{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}]}","{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}]}","{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}]}]}","[{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}]","[{rank:0,Connect_time:0001-01-01,connect_datetime:String}]","{FromTime:0001-01-01,Totime:0001-01-01,ChargedMinutes:0,ChargedCost:0}","{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}]}",String,0,String