/records
POST
Stores multiple consumption records.
Parameters
Responses
202
Accepted the request to store records.
400
Bad Request
401
Unauthorized
403
Forbidden
500
Internal Server Error
Show operation
const options = {
method: 'POST',
headers: {accept: 'application/json', 'content-type': 'application/json'}
};
fetch('https://example.com/%7BbasePath%7D/records', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));