Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Prerequisite - Setup Tank Monitor Interface
Expand
titlePrerequisite Setup
Expand
title Setup Tank Monitor Interface

1. Go to System Manager, select Company Configuration menu. This will open the Company Configuration screen.

2. Navigate to Tank Management, Tank Monitor tab, click Interface Type.

3. Select Anova Gaslog.

4. Enter details, then click Save

Expand
titlePost credentials to the token API to retrieve a current Bearer token

Note: Download 1. Download and install Postman.

12.  Open Open Postman, click "+" buttonGET New Request will be added on your tab.

23. On New Request tab, change the selection on dropdown menu to POST.

34. Enter request URL: https://auwweb.gaslogtelemetry.com/api/v1/connect/token?

45. On New Request tab, navigate to Body tab. Select x-www-form-urlencoded, then enter the following details:

KEYVALUE
grant_typepassword
usernamewoodford.irely
passwordBBA@2n56
client_idWoodfordOilCo
client_secret0B3B0F8DCA374CC0A9BC03804DFA09


6. Click Send button. Response will be generated. 

Note: access_token change every send.

Expand
titleCall the tankinfo API to retrieve a list of all tanks
Expand
title
  • Default = True
  • API URL =

    The following should be setup/ready before the import:

    1. Go to System Manager, select Company Configuration menu. This will open the Company Configuration screen.

    2. Navigate to Tank Management, Tank Monitor tab, click Interface Type.

    3. Select Anova Gaslog.

    4. Enter details, then click Save

    1. Click "+" button. GET New Request will be added on your tab.

    Image Added

    2. Enter request URL:

    https://auwweb.gaslogtelemetry.com/api/v1/device/

  • Vendor Name = woodford.irely
  • Customer Name = WoodfordOilCo
  • API_KEY = 0B3B0F8DCA374CC0A9BC03804DFA09
  • Password = BBA@2n56
  • Image Removed
  • Expand
    titlePre-Requisite Setup Before Importing

    tankinfo.

    3. Navigate to Authorization tab then select Bearer Token.

    Image Added

    4. Copy the generated access_token from previous step response.

    Image Added

    5. Enter it in the Token field, then click Send button.

    Image Added

    6. Click Save Response > Save to a file

    Image Added

    7. Select path to save file, then click Save button. File will be saved as response.json.

    Expand
    titleCreate Consumption Site, Attached Devices and Add Clock Reading Before Importing
    The following should be setup/ready before the import:

    1. Consumption Site - customer should have an existing consumption site. Customer Number is used as the JSON mapping for customerAccount.

    Image Modified

    2. Devices - consumption site should have an attached devices. Device Tank Monitor Serial # (serialNumber) and device Tank Serial # (deviceId) are paired with customer number where the combination is used as mapping for import. 

    Image Modified

    3. Clock Reading - a reading date entry should also exists in Clock Reading as this is being mapped as lastReportedDate.

    Image Modified

    The date should also not exist in Events tab of the Consumption Site.

    Image Modified