download_bundle_information

Download Bundle Information

To access internet through captive portal, you need to select the AP hosted splash page with click through option. For this we need to create a zip file of the portal page along with any other file like images, stylesheets and then upload it. This files are uploaded in bundle. The unzipped bundle of files should be less than 100 KB.

You can also download the default portal bundle file and use it as a template to create a custom portal bundle.

JSON Table

Attribute Data Type Description
href String Gives a zip file link of client connection log bundle.
traceType String tracetype can be either applicable or not.
size int Size of the zipped file.
fileName String It carries the fileName of the client connection log bundle.

Copy Sample JSON
Sample JSON
{
   "href": "https://192.168.8.15/new/webservice/sfiles?id=0f2911c5-cfb9-4782-be62-8caacfb5d6c1&dwnlfnpre=client_connection_log_bundle_6274363953536950144.zip",
   "traceType": "NOT_APPLICABLE",
   "size": 235,
   "fileName": "client_connection_log_bundle_6274363953536950144.zip"
}
API Calls

/V5/packetcaptures/connectionlogs/bundle

Download Bundle Information

Description This API is used to retreive the download bundle information created from client connection log.
You need to start a client connection log session before you download a bundle information.
Refer “Start a Client Connection Log Session” call to start a session.
Syntax
POST <Base_URL>/packetcaptures/connectionlogs/bundle
Sample code
POST https://training.mojonetworks.com/new/webservice/v5/packetcaptures/connectionlogs
/bundle
Request Body This API call takes the following JSON in the request body. The sample request body is:

[{
   "sessionId" : 2,
   "locationId" : {"type":"locallocationid", "id" : 0}
}]
Response Body If the API call is successful, the HTTP response status is 200.
Sample response body is given below.

{
   "href": "https://192.168.8.15/new/webservice/sfiles?id=0f2911c5-cfb9-4782-be62-8caacfb5d6c1&dwnlfnpre=
   client_connection_log_bundle_6274363953536950144.zip",
   "traceType": "NOT_APPLICABLE",
   "size": 235,
   "fileName": "client_connection_log_bundle_6274363953536950144.zip"
}