Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Analytics Web Services >
Example of Getting Batch Report Content With Pagination On
This example shows you how to use the batchrpts Web service to get batch report result content with pagination on. Operation
Use the following operation to return batch report result content with pagination on: GET /batchrpts/{batrpt_id}/content
Sample URL
The following is a sample URL for this Web service example: http://myhost.example.com:7017/rs/api/v2/batchrpts/content/3 XML Response
The following is an example of the XML response: <report> <serviceList> <totalPages>2</totalPages> <firstPage>/batchrpts/content/8?page=1</firstPage> <currentPage>/batchrpts/content/8?page=1</currentPage> <nextPage>/batchrpts/content/8?page=2</nextPage> <lastPage>/batchrpts/content/8?page=2</lastPage> <count>11</count> <header> <Total>USD</Total> </header> <service> <Call_date pattern="MM/dd/yyyy">09/24/2013</Call_date> <Call_time>06:40</Call_time> <service_number>999-888-9903</service_number> <service_name>Marisa ODoole</service_name> <Called_Number>999-888-9905</Called_Number> <category>Personal</category> <memo_img/> <memo/> <dispute/> <DISPUTE_NUM/> <Dispute_detail_desc/> <Usage_Type>Message</Usage_Type> <Call_Type>Text Message Sent</Call_Type> <DESTINATION_NAME>New York, NY USA</DESTINATION_NAME> <Duration>1 Messages</Duration> <Total>0.02</Total> </service> <service> <Call_date pattern="MM/dd/yyyy">09/21/2013</Call_date> <Call_time>18:40</Call_time> <service_number>999-888-9903</service_number> <service_name>Marisa ODoole</service_name> <Called_Number>999-888-9901</Called_Number> <category>Personal</category> <memo_img/> <memo/> <dispute/> <DISPUTE_NUM/> <Dispute_detail_desc/> <Usage_Type>Message</Usage_Type> <Call_Type>Text Message Received</Call_Type> <DESTINATION_NAME>Anytown, CA USA</DESTINATION_NAME> <Duration>1 Messages</Duration> <Total>0.02</Total> </service> <service> <Call_date pattern="MM/dd/yyyy">09/19/2013</Call_date> <Call_time>20:11</Call_time> <service_number>999-888-9903</service_number> <service_name>Marisa ODoole</service_name> <Called_Number>*9977</Called_Number> <category>Business</category> <memo_img/> <memo/> <dispute/> <DISPUTE_NUM/> <Dispute_detail_desc/> <Usage_Type>Data</Usage_Type> <Call_Type>Data Downloaded</Call_Type> <DESTINATION_NAME>Los Angeles, CA USA</DESTINATION_NAME> <Duration>8 Kilobytes</Duration> <Total>2.00</Total> </service> <service> <Call_date pattern="MM/dd/yyyy">09/17/2013</Call_date> <Call_time>19:40</Call_time> <service_number>999-888-9903</service_number> <service_name>Marisa ODoole</service_name> <Called_Number>999-888-9902</Called_Number> <category>Personal</category> <memo_img/> <memo/> <dispute/> <DISPUTE_NUM/> <Dispute_detail_desc/> <Usage_Type>Message</Usage_Type> <Call_Type>Text Message Sent</Call_Type> <DESTINATION_NAME>New York, NY USA</DESTINATION_NAME> <Duration>1 Messages</Duration> <Total>0.02</Total> </service> <service> <Call_date pattern="MM/dd/yyyy">09/17/2013</Call_date> <Call_time>09:19</Call_time> <service_number>999-888-9903</service_number> <service_name>Marisa ODoole</service_name> <Called_Number>923-783-8934</Called_Number> <category>Business</category> <memo_img/> <memo/> <dispute/> <DISPUTE_NUM/> <Dispute_detail_desc/> <Usage_Type>Voice</Usage_Type> <Call_Type>Peak call incoming</Call_Type> <DESTINATION_NAME>Los Angeles, CA USA</DESTINATION_NAME> <Duration>8 Minutes</Duration> <Total>1.60</Total> </service> </serviceList> </report>
|