Introduction
Short URL API allows you to shorten long URLs while still directing users to right pages. This is useful for messaging technologies with character limits, such as SMS, or for shortening links in shared online meetings, such as Zoom.
For example, a long link https://alm.insuremo.com/sf/frs/do/viewRelease/projects.income_gi/frs.test.2024011809_icgu_gs_v1_17_02_080 can be shortened to https://ptdev-gw.insuremo.com/ebaoeco/1.0/r/Z7nAni.
You can use https://portal.insuremo.com/ebaoeco/short-url-vue-web/ to generate and manage your links.
Workflow: How to Use Short URL Service?
- Click Config > Category Config. Then add a new short link with Category Code and Category Name.
- Click Short Link Manage. Then click Add to create a new short link.
- Enter Original Link and select Expiry Date of the short link.
- Select Category in the Category Config page, and then click Confirm.
- The new short link will be displayed on the search page.
- Copy this short link into your browser and press the Enter key.
- A page with the original link will open in your browser.
In Non Insurance service, you will find the ShortUrl Service card. Click API Details for the details.
API Details will provide direct access to the listed APIs.
You just need to use Generate ShortUrl API.
REST API: Create Short Links
API Information
| API Url | Method |
|---|---|
| https://{HOST}/ebaoeco/1.0/shortUrl | POST |
API Parameters
| Name | Required | Type | Description | Example |
|---|---|---|---|---|
| longLink | Y | String | Original Url | https://alm.insuremo.com/sf/frs/do/viewRelease/projects.income_gi/frs.test.2024011809_icgu_gs_v1_17_02_080 |
| userName | Y | String | insureMO login user name | test123@e.com |
| expiryDate | Y | String | Short Link Expiry Date | 9999-12-31 10:10:10 |
| category | N | String | Short Link Category | PD |
Successful Response
{ "status": "200", "statusText": "Success", "shortUrl": "https://ptdev-gw.insuremo.com/ebaoeco/1.0/r/BbYj2a" }
Failed Response
Enter the link into your browser and you will be redirected to the original URL.