I’ll start off by admitting I do not know much about APIs and understanding how they work. With that being said, I have a project where I need to create a Webflow page for my sales team to use to pull energy meter data from SMART METER TEXAS™. They have an API document, but since I don’t understand the code used for these APIs, I am not sure what I need to do to put that in my Webflow page.
Here is the API code:
SMART METER TEXAS™ API for Monthly Billing Energy Data Request
• Body Parameters – Monthly Billing Data
o Monthly Billing Energy Data Request
{
trans_id* string
pattern: [a-zA-Z0-9]{1,32}
Transaction Id
requestorID* string
minLength: 1
maxLength: 32
example: SMT_PORTAL_ID
User ID registered at SMT Portal.
requesterType* string
example: REP
The user type of the registered SMT Portal
User Id.
Enum:
Array [ 12 ]
requesterAuthenticationID string
minLength: 1
maxLength: 18 example: 12321313213
Requester Company DUNs number
startDate* string($date)
pattern: ^[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}$
example: 01/20/2018
Start date in mm/dd/yyyy format.
endDate* string($date)
pattern: ^[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}$
example: 02/20/2018
End date in mm/dd/yyyy format.
deliveryMode string
example: FTP
The Asynchronous delivery mechanism for the requested report. For requesterTypes: REP, CSP, TDSP, REG the default deliveryMode is FTP and for requesterTypes: RES, BUSINESS the default deliveryMode is EML
Enum:
Array [ 6 ]
reportFormat string
example: CSV
Format of the requested report. The default report format through delivered through FTP and EML is CSV and the only report format delivered through API is JSON.
Enum:
Array [ 6 ]
version* string
example: L
The version of the energy data required. A-All, L-Latest
Enum:
Array [ 2 ]
readingType string
example: C
The type of the reading. C-Consumption, GGeneration, A-Both Consumption and Generation. This field is mandatory field for Interval resource
Enum:
Array [ 6 ]
esiid* [...]
SMT TermsandConditions* string
example: Y
Terms and Conditions. End users needs to accept terms & conditions by sending the value as Y
Enum:
Array [ 4 ]
}
Any advice or help would be much appreciated. Thanks.