HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/PortaCDR HTTP/1.1
Host: 7el.co
Content-Type: application/xml
Content-Length: length
<PortaCDR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<ContentId>0</ContentId>
<FeatureName>String</FeatureName>
<License>String</License>
<Csv>false</Csv>
<Customer_Timezone>String</Customer_Timezone>
<DisconnectTimeFilter>String</DisconnectTimeFilter>
<DisconnectTimeResellerFilter>String</DisconnectTimeResellerFilter>
<FetchRecordsUsingOffset>false</FetchRecordsUsingOffset>
<FromDate>String</FromDate>
<GetAccountVoiceCalls>false</GetAccountVoiceCalls>
<GetConnectedCalls>false</GetConnectedCalls>
<GetHuntGroupReports>false</GetHuntGroupReports>
<GetOutgoingCalls>false</GetOutgoingCalls>
<IAccount>0</IAccount>
<ICustomer>0</ICustomer>
<IService>0</IService>
<IncludeAccounts>false</IncludeAccounts>
<IncludeSubcustomers>false</IncludeSubcustomers>
<Offset>0</Offset>
<RetailXDRInfo>false</RetailXDRInfo>
<ToDate>String</ToDate>
<getAccountSummary>false</getAccountSummary>
<i_product>String</i_product>
<showcurrentperiod>false</showcurrentperiod>
</PortaCDR>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PortaCDRResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<ContentId>0</ContentId>
<FeatureName>String</FeatureName>
<License>String</License>
<AccountStatisticsSummary xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfAccountSummary9zofi5ip>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d4p1:AccountSummary>
<d4p1:AccountID>String</d4p1:AccountID>
<d4p1:avgoutgoing_count>0</d4p1:avgoutgoing_count>
<d4p1:avgoutgoing_duration>0</d4p1:avgoutgoing_duration>
<d4p1:i_account>0</d4p1:i_account>
<d4p1:incoming_count>0</d4p1:incoming_count>
<d4p1:incoming_duration>0</d4p1:incoming_duration>
<d4p1:outgoing_count>0</d4p1:outgoing_count>
<d4p1:outgoing_duration>0</d4p1:outgoing_duration>
<d4p1:total_count>0</d4p1:total_count>
<d4p1:total_duration>0</d4p1:total_duration>
</d4p1:AccountSummary>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfAccountSummary9zofi5ip>
</AccountStatisticsSummary>
<ConnectedCallDataRecords xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfPortaCustomerAccountConnectedCDR9zofi5ip>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d4p1:PortaCustomerAccountConnectedCDR>
<d4p1:AccountID>String</d4p1:AccountID>
<d4p1:BitFlags>0</d4p1:BitFlags>
<d4p1:CLD>String</d4p1:CLD>
<d4p1:CLI>String</d4p1:CLI>
<d4p1:CallId>String</d4p1:CallId>
<d4p1:CallId_1>String</d4p1:CallId_1>
<d4p1:Connect_time>0001-01-01T00:00:00</d4p1:Connect_time>
<d4p1:Disconnect_time>0001-01-01T00:00:00</d4p1:Disconnect_time>
<d4p1:ServiceName>String</d4p1:ServiceName>
<d4p1:bill_time>0001-01-01T00:00:00</d4p1:bill_time>
<d4p1:groupid>0</d4p1:groupid>
<d4p1:h323_conf_id>String</d4p1:h323_conf_id>
<d4p1:h323_incoming_conf_id>String</d4p1:h323_incoming_conf_id>
<d4p1:rank>0</d4p1:rank>
</d4p1:PortaCustomerAccountConnectedCDR>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfPortaCustomerAccountConnectedCDR9zofi5ip>
</ConnectedCallDataRecords>
<ConnectedCallsRecords xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfPortaConnectedCDR9zofi5ip>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d4p1:PortaConnectedCDR>
<d4p1:CDRS>
<d4p1:PortaCustomerAccountConnectedCDR>
<d4p1:AccountID>String</d4p1:AccountID>
<d4p1:BitFlags>0</d4p1:BitFlags>
<d4p1:CLD>String</d4p1:CLD>
<d4p1:CLI>String</d4p1:CLI>
<d4p1:CallId>String</d4p1:CallId>
<d4p1:CallId_1>String</d4p1:CallId_1>
<d4p1:Connect_time>0001-01-01T00:00:00</d4p1:Connect_time>
<d4p1:Disconnect_time>0001-01-01T00:00:00</d4p1:Disconnect_time>
<d4p1:ServiceName>String</d4p1:ServiceName>
<d4p1:bill_time>0001-01-01T00:00:00</d4p1:bill_time>
<d4p1:groupid>0</d4p1:groupid>
<d4p1:h323_conf_id>String</d4p1:h323_conf_id>
<d4p1:h323_incoming_conf_id>String</d4p1:h323_incoming_conf_id>
<d4p1:rank>0</d4p1:rank>
</d4p1:PortaCustomerAccountConnectedCDR>
</d4p1:CDRS>
<d4p1:GroupID>0</d4p1:GroupID>
</d4p1:PortaConnectedCDR>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfPortaConnectedCDR9zofi5ip>
</ConnectedCallsRecords>
<DateRanges xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
<d2p1:CDRSDateRanges>
<d2p1:Connect_time>0001-01-01T00:00:00</d2p1:Connect_time>
<d2p1:connect_datetime>String</d2p1:connect_datetime>
<d2p1:rank>0</d2p1:rank>
</d2p1:CDRSDateRanges>
</DateRanges>
<DictPortaCustomerAccountCDRS xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfPortaCustomerAccountCDR9zofi5ip>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d4p1:PortaCustomerAccountCDR>
<d4p1:AccountID>String</d4p1:AccountID>
<d4p1:AgentExtension>String</d4p1:AgentExtension>
<d4p1:Bill_time>0001-01-01T00:00:00</d4p1:Bill_time>
<d4p1:BitFlags>0</d4p1:BitFlags>
<d4p1:CLD>String</d4p1:CLD>
<d4p1:CLI>String</d4p1:CLI>
<d4p1:CallId>String</d4p1:CallId>
<d4p1:CallTime>0</d4p1:CallTime>
<d4p1:CallType>String</d4p1:CallType>
<d4p1:Charged_Amount>0</d4p1:Charged_Amount>
<d4p1:Charged_Quantity>0</d4p1:Charged_Quantity>
<d4p1:Connect_time>0001-01-01T00:00:00</d4p1:Connect_time>
<d4p1:DisconnectCause>0</d4p1:DisconnectCause>
<d4p1:Disconnect_time>0001-01-01T00:00:00</d4p1:Disconnect_time>
<d4p1:History>String</d4p1:History>
<d4p1:HoldTime>String</d4p1:HoldTime>
<d4p1:HuntGroupName>String</d4p1:HuntGroupName>
<d4p1:IAccount>0</d4p1:IAccount>
<d4p1:ICustomer>0</d4p1:ICustomer>
<d4p1:ID>0</d4p1:ID>
<d4p1:IDest>0</d4p1:IDest>
<d4p1:IEnv>0</d4p1:IEnv>
<d4p1:IService>0</d4p1:IService>
<d4p1:Rank>0</d4p1:Rank>
<d4p1:RatingPattern>String</d4p1:RatingPattern>
<d4p1:ServiceFlags>String</d4p1:ServiceFlags>
<d4p1:ServiceName>String</d4p1:ServiceName>
<d4p1:Used_Quantity>0</d4p1:Used_Quantity>
<d4p1:connect_datetime>String</d4p1:connect_datetime>
<d4p1:disconnect_datetime>String</d4p1:disconnect_datetime>
<d4p1:h323_conf_id>String</d4p1:h323_conf_id>
<d4p1:h323_incoming_conf_id>String</d4p1:h323_incoming_conf_id>
</d4p1:PortaCustomerAccountCDR>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfPortaCustomerAccountCDR9zofi5ip>
</DictPortaCustomerAccountCDRS>
<NextOffset>0</NextOffset>
<PortaAccountCDRS xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:PortaAccountCDR>
<d2p1:AccountID>String</d2p1:AccountID>
<d2p1:Bill_time>0001-01-01T00:00:00</d2p1:Bill_time>
<d2p1:BitFlags>0</d2p1:BitFlags>
<d2p1:CLD>String</d2p1:CLD>
<d2p1:CLI>String</d2p1:CLI>
<d2p1:CallId>String</d2p1:CallId>
<d2p1:CallType>String</d2p1:CallType>
<d2p1:Charged_Amount>0</d2p1:Charged_Amount>
<d2p1:Charged_Quantity>0</d2p1:Charged_Quantity>
<d2p1:Connect_time>0001-01-01T00:00:00</d2p1:Connect_time>
<d2p1:Disconnect_time>0001-01-01T00:00:00</d2p1:Disconnect_time>
<d2p1:IAccount>0</d2p1:IAccount>
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:ID>0</d2p1:ID>
<d2p1:IDest>0</d2p1:IDest>
<d2p1:IEnv>0</d2p1:IEnv>
<d2p1:IService>0</d2p1:IService>
<d2p1:Ratting_Pattern>String</d2p1:Ratting_Pattern>
<d2p1:Used_Quantity>0</d2p1:Used_Quantity>
<d2p1:failed>false</d2p1:failed>
<d2p1:h323_conf_id>String</d2p1:h323_conf_id>
</d2p1:PortaAccountCDR>
</PortaAccountCDRS>
<PortaCustomerCDRS xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:PortaCustomerCDR>
<d2p1:Bill_time>0001-01-01T00:00:00</d2p1:Bill_time>
<d2p1:BitFlags>0</d2p1:BitFlags>
<d2p1:CLD>String</d2p1:CLD>
<d2p1:CLI>String</d2p1:CLI>
<d2p1:CallId>String</d2p1:CallId>
<d2p1:Charged_Amount>0</d2p1:Charged_Amount>
<d2p1:Charged_Quantity>0</d2p1:Charged_Quantity>
<d2p1:Connect_time>0001-01-01T00:00:00</d2p1:Connect_time>
<d2p1:Disconnect_time>0001-01-01T00:00:00</d2p1:Disconnect_time>
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:ID>0</d2p1:ID>
<d2p1:IDest>0</d2p1:IDest>
<d2p1:IEnv>0</d2p1:IEnv>
<d2p1:IService>0</d2p1:IService>
</d2p1:PortaCustomerCDR>
</PortaCustomerCDRS>
<TotalCalls>0</TotalCalls>
<TotalUsage xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
<d2p1:ChargedCost>0</d2p1:ChargedCost>
<d2p1:ChargedMinutes>0</d2p1:ChargedMinutes>
<d2p1:FromTime>0001-01-01T00:00:00</d2p1:FromTime>
<d2p1:Totime>0001-01-01T00:00:00</d2p1:Totime>
</TotalUsage>
<XDRSInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Porta.SoapTest.Admin">
<d2p1:CustomerXDRInfo>
<d2p1:account_idField>String</d2p1:account_idField>
<d2p1:bill_statusField>String</d2p1:bill_statusField>
<d2p1:bill_timeField>0001-01-01T00:00:00</d2p1:bill_timeField>
<d2p1:bill_timeFieldSpecified>false</d2p1:bill_timeFieldSpecified>
<d2p1:bit_flagsField>0</d2p1:bit_flagsField>
<d2p1:bit_flagsFieldSpecified>false</d2p1:bit_flagsFieldSpecified>
<d2p1:cLDField>String</d2p1:cLDField>
<d2p1:cLIField>String</d2p1:cLIField>
<d2p1:call_recording_server_urlField>String</d2p1:call_recording_server_urlField>
<d2p1:call_recording_urlField>String</d2p1:call_recording_urlField>
<d2p1:charged_amountField>0</d2p1:charged_amountField>
<d2p1:charged_amountFieldSpecified>false</d2p1:charged_amountFieldSpecified>
<d2p1:charged_quantityField>0</d2p1:charged_quantityField>
<d2p1:charged_quantityFieldSpecified>false</d2p1:charged_quantityFieldSpecified>
<d2p1:connect_timeField>0001-01-01T00:00:00</d2p1:connect_timeField>
<d2p1:connect_timeFieldSpecified>false</d2p1:connect_timeFieldSpecified>
<d2p1:countryField>String</d2p1:countryField>
<d2p1:cr_download_linksField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d2p1:cr_download_linksField>
<d2p1:descriptionField>String</d2p1:descriptionField>
<d2p1:destinationField>String</d2p1:destinationField>
<d2p1:disconnect_causeField>String</d2p1:disconnect_causeField>
<d2p1:disconnect_reasonField>String</d2p1:disconnect_reasonField>
<d2p1:disconnect_timeField>0001-01-01T00:00:00</d2p1:disconnect_timeField>
<d2p1:disconnect_timeFieldSpecified>false</d2p1:disconnect_timeFieldSpecified>
<d2p1:h323_conf_idField>String</d2p1:h323_conf_idField>
<d2p1:h323_incoming_conf_idField>String</d2p1:h323_incoming_conf_idField>
<d2p1:i_destField>0</d2p1:i_destField>
<d2p1:i_destFieldSpecified>false</d2p1:i_destFieldSpecified>
<d2p1:i_rateField>0</d2p1:i_rateField>
<d2p1:i_rateFieldSpecified>false</d2p1:i_rateFieldSpecified>
<d2p1:i_serviceField>0</d2p1:i_serviceField>
<d2p1:i_serviceFieldSpecified>false</d2p1:i_serviceFieldSpecified>
<d2p1:i_xdrField>0</d2p1:i_xdrField>
<d2p1:i_xdrFieldSpecified>false</d2p1:i_xdrFieldSpecified>
<d2p1:iso_3166_1_a3Field>String</d2p1:iso_3166_1_a3Field>
<d2p1:serviceField>String</d2p1:serviceField>
<d2p1:subdivisionField>String</d2p1:subdivisionField>
<d2p1:unix_connect_timeField>0</d2p1:unix_connect_timeField>
<d2p1:unix_connect_timeFieldSpecified>false</d2p1:unix_connect_timeFieldSpecified>
<d2p1:unix_disconnect_timeField>0</d2p1:unix_disconnect_timeField>
<d2p1:unix_disconnect_timeFieldSpecified>false</d2p1:unix_disconnect_timeFieldSpecified>
<d2p1:xdr_typeField>String</d2p1:xdr_typeField>
</d2p1:CustomerXDRInfo>
</XDRSInfo>
<lstPortaCustomerAccountCDRS xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:PortaCustomerAccountCDR>
<d2p1:AccountID>String</d2p1:AccountID>
<d2p1:AgentExtension>String</d2p1:AgentExtension>
<d2p1:Bill_time>0001-01-01T00:00:00</d2p1:Bill_time>
<d2p1:BitFlags>0</d2p1:BitFlags>
<d2p1:CLD>String</d2p1:CLD>
<d2p1:CLI>String</d2p1:CLI>
<d2p1:CallId>String</d2p1:CallId>
<d2p1:CallTime>0</d2p1:CallTime>
<d2p1:CallType>String</d2p1:CallType>
<d2p1:Charged_Amount>0</d2p1:Charged_Amount>
<d2p1:Charged_Quantity>0</d2p1:Charged_Quantity>
<d2p1:Connect_time>0001-01-01T00:00:00</d2p1:Connect_time>
<d2p1:DisconnectCause>0</d2p1:DisconnectCause>
<d2p1:Disconnect_time>0001-01-01T00:00:00</d2p1:Disconnect_time>
<d2p1:History>String</d2p1:History>
<d2p1:HoldTime>String</d2p1:HoldTime>
<d2p1:HuntGroupName>String</d2p1:HuntGroupName>
<d2p1:IAccount>0</d2p1:IAccount>
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:ID>0</d2p1:ID>
<d2p1:IDest>0</d2p1:IDest>
<d2p1:IEnv>0</d2p1:IEnv>
<d2p1:IService>0</d2p1:IService>
<d2p1:Rank>0</d2p1:Rank>
<d2p1:RatingPattern>String</d2p1:RatingPattern>
<d2p1:ServiceFlags>String</d2p1:ServiceFlags>
<d2p1:ServiceName>String</d2p1:ServiceName>
<d2p1:Used_Quantity>0</d2p1:Used_Quantity>
<d2p1:connect_datetime>String</d2p1:connect_datetime>
<d2p1:disconnect_datetime>String</d2p1:disconnect_datetime>
<d2p1:h323_conf_id>String</d2p1:h323_conf_id>
<d2p1:h323_incoming_conf_id>String</d2p1:h323_incoming_conf_id>
</d2p1:PortaCustomerAccountCDR>
</lstPortaCustomerAccountCDRS>
<lstPortaResellerSubscriptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
<d2p1:PortaResellerSubscriptions>
<d2p1:AccountID>String</d2p1:AccountID>
<d2p1:Bill_time>0001-01-01T00:00:00</d2p1:Bill_time>
<d2p1:BitFlags>0</d2p1:BitFlags>
<d2p1:CLD>String</d2p1:CLD>
<d2p1:CLI>String</d2p1:CLI>
<d2p1:CallId>String</d2p1:CallId>
<d2p1:Charged_Amount>0</d2p1:Charged_Amount>
<d2p1:Charged_Quantity>0</d2p1:Charged_Quantity>
<d2p1:Connect_time>0001-01-01T00:00:00</d2p1:Connect_time>
<d2p1:Count>0</d2p1:Count>
<d2p1:DisconnectCause>0</d2p1:DisconnectCause>
<d2p1:Disconnect_time>0001-01-01T00:00:00</d2p1:Disconnect_time>
<d2p1:History>String</d2p1:History>
<d2p1:IAccount>0</d2p1:IAccount>
<d2p1:ICustomer>0</d2p1:ICustomer>
<d2p1:ID>0</d2p1:ID>
<d2p1:IDest>0</d2p1:IDest>
<d2p1:IEnv>0</d2p1:IEnv>
<d2p1:IParent>0</d2p1:IParent>
<d2p1:IService>0</d2p1:IService>
<d2p1:ServiceFlags>String</d2p1:ServiceFlags>
<d2p1:ServiceName>String</d2p1:ServiceName>
<d2p1:SubscriptionName>String</d2p1:SubscriptionName>
<d2p1:TotalChargedAmount>0</d2p1:TotalChargedAmount>
<d2p1:Used_Quantity>0</d2p1:Used_Quantity>
</d2p1:PortaResellerSubscriptions>
</lstPortaResellerSubscriptions>
</PortaCDRResponse>