howto-howto-1444x512

Upload a license via REST-client to your ctrlX CORE

JoannaX
Community Moderator
Community Moderator

Prerequisite to use this process is version V1.8 of the ctrlX CORE and a app license file. With version release V1.10 it will no longer be necessary to use the REST client for uploading licenses. In addition this process only works with a real ctrlX CORE and will not work with a ctrlX COREvirtual.

  1. First download a REST client (e.g. POSTMAN: https://www.postman.com/downloads or Insomnia https://insomnia.rest/download).  Then attach your ctrlX CORE to your PC. They must be on the same network.

  2. We need to authenticate the device. For that, create a new POST request with a JSON body, and add your user name and password in JSON format. Make sure you have the right IP address of your device (default IP is 192.168.1.1 if you did not change it). Send the request.

  3. After sending the request you can copy the access_token from the response.JoannaX_1-1620649668632.png


  4. Now create a PUT request. Choose bearer-token as authentication method and paste the copied access_token there.JoannaX_2-1620649668638.png


  5. Then change the body type of the request to “multipart form” and create a field called “file” with the license-file as value.JoannaX_3-1620649668645.png
    JoannaX_4-1620649668655.png


  6. Upload the license file (capability response) you downloaded from the Bosch Rexroth Licensing Center. See here, how to get a license for your app.

    JoannaX_5-1620649668672.png

  7. After sending the request, check if the response says “200 OK”.JoannaX_6-1620649668675.png


  8. Now you can change the request to “GET” and send it again to see what licenses are available.JoannaX_7-1620649668682.png

 

 

 

JoannaX
JoannaX
Hi, I am the product owner of the ctrlX Store and Licensing!
Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist