{"info":{"_postman_id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","name":"Charge API","description":"<html><head></head><body><p>This API provides functionality for Charge Point Operators (CPOs) to send home charging activity to AllStar.</p>\n<blockquote>\n<p>You must have \"Client Credentials\" issued to you to be able to start using this API.<br>Please get in touch if you do not have this information. </p>\n</blockquote>\n<h2 id=\"basic-usage\">Basic Usage:</h2>\n<ol>\n<li><p>Use <code>dataProvider.chargePoint.findMany.v2</code> endpoint to list Charge Points registered with our system</p>\n<ol>\n<li><p>This is scoped to return only your Charge Points</p>\n</li>\n<li><p>We recommend using this endpoint regularly to ensure you have picked up any recently onboarded chargers, for example either:</p>\n<ol>\n<li><p>Call the endpoint once <strong>every time you intend to push charge session data</strong></p>\n</li>\n<li><p>Call the endpoint on a <strong>frequent schedule</strong> (e.g. every 30 mins - 1 hour)</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p>Use <code>dataProvider.charges.addWithIntervals</code> endpoint to send charge session data</p>\n<ol>\n<li><p>This endpoint allows for granular charge data segmented into 30 minute intervals - <strong>our preferred method</strong></p>\n</li>\n<li><p>If interval data is unavailable you may use the <code>dataProvider.charges.add</code> endpoint to send charge sessions with only a start/stop time. <strong>However this affects our ability to properly price customer charges, so this endpoint is only to be used in the absence of interval data.</strong></p>\n</li>\n</ol>\n</li>\n<li><p>(Optional) Use <code>dataProvider.charges.findMany</code> endpoint to list charges we have sucessfully received between a given set of dates.</p>\n<ol>\n<li><p>You may find this endpoint useful for:</p>\n<ol>\n<li><p>Checking if there are gaps in the charge session data we hold for a user</p>\n</li>\n<li><p>Providing a \"Synced with AllStar\" status to your App users</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<h2 id=\"authentication\">Authentication</h2>\n<p>OAuth 2.0 authentication with the <code>client_credentials</code> grant type is used to authenticate with the API.</p>\n<p>An example request can be seen below</p>\n<p><code>POST https://login.chargepass.co.uk/oauth2/ausa4dehw4Wb8CLSd417/v1/token</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>grant_type: \"client_credentials\"\nscope: \"chargepass.homecharge.charge.write\"\nclient_id: \"CLIENT_ID\"\nclient_secret: \"CLIENT_SECRET\"\n\n</code></pre><ul>\n<li><p>Client ID: Your new client ID <em>(The username of your shared credentials)</em></p>\n</li>\n<li><p>Client Secret: Your new client secret <em>(The password of your shared credentials)</em></p>\n</li>\n<li><p>Access Token URL: <a href=\"https://login.chargepass.co.uk/oauth2/ausa4dehw4Wb8CLSd417/v1/token\"><code>https://login.chargepass.co.uk/oauth2/ausa4dehw4Wb8CLSd417/v1/token</code></a></p>\n</li>\n<li><p>Scope: <code>chargepass.homecharge.charge.write</code></p>\n</li>\n</ul>\n<blockquote>\n<p><strong>Note:</strong><br>Token lifetime is 1 hour, after which time a fresh token will need to be requested </p>\n</blockquote>\n<h2 id=\"response-handling\">Response Handling</h2>\n<p>When sending us charges, you can use the <code>status</code> value for each charge on the response to understand whether the charge has been successfully received.</p>\n<p>The possible status values are:</p>\n<ul>\n<li><p><code>Success</code> - You can be assured that we've received and stored the charge</p>\n</li>\n<li><p><code>Duplicate</code> - We recognise the charge as one you have sent previously (based on the <code>chargeExternalId</code> and <code>chargePointExternalId</code> values). The charge will be ignored and will not be persisted</p>\n</li>\n</ul>\n<p><strong>If a 400 Bad Request is returned, the whole request will be rejected by our validation rules. In this case, none of the charges on the request will be ingested in our system.</strong></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"27848775","collectionId":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","publishedId":"2sA3rwLDeo","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"666666","highlight":"f2d400"},"publishDate":"2026-07-09T13:07:15.000Z"},"item":[{"name":"dataProvider.chargePoint.findMany.v2","id":"034eabe5-21e6-4dd9-9b68-4c1323ea8b08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mina.co.uk/dataProvider.chargePoint.findMany.v2?since=2024-01-01T00:00:00.000Z","description":"<p><strong>Outcome:</strong><br />Retrieves a list of chargers registered in our system</p>\n<p><strong>Purpose:</strong><br />Enables you to identify which charge points you need to send data for.</p>\n<ul>\n<li><p>Charge points are identified by <code>externalId</code></p>\n<ul>\n<li><p>The purpose of <code>externalId</code> is for you to be able to identify the charge point in your own system</p>\n</li>\n<li><p>In most cases <code>externalId</code> is the charge point serial number</p>\n</li>\n</ul>\n</li>\n<li><p>You will also receive a <code>startsOn</code> and <code>endsOn</code> timestamp. This represents the valid subscription period of this charger on our system and generally speaking you should only send charges which occur between these dates (or after the <code>startsOn</code> date if <code>endsOn</code> is null)</p>\n</li>\n<li><p>You will also receive the current <code>isActive</code> status of each charge point, which indicates whether it is currently onboarded/offboarded on our system</p>\n</li>\n</ul>\n<blockquote>\n<p><strong>Note regarding charge point onboarding:</strong><br />The process of onboarding new charge points onto our system is undertaken directly between fleets and Allstar, there is no provision for onboarding within this API.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","name":"Charge API","type":"collection"}},"urlObject":{"path":["dataProvider.chargePoint.findMany.v2"],"host":["https://api.mina.co.uk"],"query":[{"description":{"content":"<p>The datetime (ISO 8601) when to find chargers from.</p>\n","type":"text/plain"},"key":"since","value":"2024-01-01T00:00:00.000Z"}],"variable":[]}},"response":[{"id":"61603ec9-b115-4522-ab4a-442b8e5c4229","name":"Active Charger (200 OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mina.co.uk/dataProvider.chargePoint.findMany?since=2024-01-01T00:00:00.000Z","host":["https://api.mina.co.uk"],"path":["dataProvider.chargePoint.findMany"],"query":[{"key":"since","value":"2024-01-01T00:00:00.000Z","description":"The datetime (ISO 8601) when to find chargers from."}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"externalId\": \"test.evseId1\",\n      \"creationTimestamp\": \"2023-01-01T00:00:00+00:00\",\n      \"startsOn\": \"2026-06-30T12:00:00+00:00\",\n      \"endsOn\": null,\n      \"isActive\": true\n    }\n  ]\n}"},{"id":"7c7aca6e-bd53-437d-bd6b-16900a9e0d58","name":"Inactive Charger (200) OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mina.co.uk/dataProvider.chargePoint.findMany?since=2024-01-01T00:00:00.000Z","host":["https://api.mina.co.uk"],"path":["dataProvider.chargePoint.findMany"],"query":[{"key":"since","value":"2024-01-01T00:00:00.000Z","description":"The datetime (ISO 8601) when to find chargers from."}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"externalId\": \"test.evseId1\",\n      \"creationTimestamp\": \"2023-01-01T00:00:00+00:00\",\n      \"startsOn\": \"2026-06-30T12:00:00+00:00\",\n      \"endsOn\": \"2026-07-04T12:00:00+00:00\",\n      \"isActive\": false\n    }\n  ]\n}"}],"_postman_id":"034eabe5-21e6-4dd9-9b68-4c1323ea8b08"},{"name":"dataProvider.chargePoint.findMany","id":"499fcd5c-e043-4c0d-80c7-6a3ab42ccd76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mina.co.uk/dataProvider.chargePoint.findMany?since=2024-01-01T00:00:00.000Z","description":"<blockquote>\n<p><strong>We recommend using our v2 endpoint - it provides more detail on the charge points registered on our system, including explicit status and timestamps for onboarding / offboarding.</strong> </p>\n</blockquote>\n<p><strong>Outcome:</strong><br />Retrieves a list of chargers registered in our system</p>\n<p><strong>Purpose:</strong></p>\n<p>Enables you to identify which charge points you need to send data for.</p>\n<ul>\n<li><p>Charge points are identified by \"externalId\"</p>\n<ul>\n<li><p>The purpose of externalId is for you to be able to identify the charge point in your own system</p>\n</li>\n<li><p>In most cases externalId is the charge point serial number</p>\n</li>\n</ul>\n</li>\n<li><p>When chargepoints are offboarded from our system they will stop being returned by this endpoint</p>\n</li>\n</ul>\n<blockquote>\n<p><strong>Note regarding charge point onboarding:</strong><br />The process of onboarding new charge points onto our system is undertaken directly between fleets and Allstar, there is no provision for onboarding within this API.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","name":"Charge API","type":"collection"}},"urlObject":{"path":["dataProvider.chargePoint.findMany"],"host":["https://api.mina.co.uk"],"query":[{"description":{"content":"<p>The datetime (ISO 8601) when to find chargers from.</p>\n","type":"text/plain"},"key":"since","value":"2024-01-01T00:00:00.000Z"}],"variable":[]}},"response":[{"id":"a9617cf6-dffb-451a-ab5e-4d31bc8546b2","name":"Success (200 OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mina.co.uk/dataProvider.chargePoint.findMany?since=2021-01-01T06:34:56.000000Z","host":["https://api.mina.co.uk"],"path":["dataProvider.chargePoint.findMany"],"query":[{"key":"since","value":"2021-01-01T06:34:56.000000Z","description":"The date/time (ISO 8601) when to find chargers from"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"externalId\": \"chargePoint-1\",\n            \"creationTimestamp\": \"2021-03-04T12:17:30.000000Z\"\n        },\n        {\n            \"externalId\": \"chargePoint-2\",\n            \"creationTimestamp\": \"2021-09-21T15:06:16.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"499fcd5c-e043-4c0d-80c7-6a3ab42ccd76"},{"name":"dataProvider.charges.addWithIntervals","id":"e0ca2a79-032f-477a-b19d-18a4c850db88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      // The unique ID for the charge.\r\n      \"chargeExternalId\": \"{{chargeExternalId}}\", \r\n\r\n      // The unique ID for the charge point.\r\n      \"chargePointExternalId\": \"{{chargePointExternalId}}\", \r\n\r\n      // One or more charge intervals - each has a maximum duration of 30 minutes and a minimum duration of 1 minute.\r\n      \"intervals\": [ \r\n        {\r\n          // ISO 8601 date/time when the charge interval started.\r\n          \"from\": \"{{from}}\",\r\n\r\n          // ISO 8601 date/time when the charge interval finished.\r\n          \"to\": \"{{to}}\",\r\n\r\n          // Energy consumption for the charge interval in kWh.\r\n          \"consumption\": {{consumption}}\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals","description":"<blockquote>\n<p><strong>Important:</strong> </p>\n</blockquote>\n<blockquote>\n<p>This is the preferred method of receiving charge sessions (compared with <code>charges.add</code>) because it produces the highest quality of data. When intervals are provided, we can accurately calculate payment amounts for all drivers including those on multi-rate or dynamic tariffs. </p>\n</blockquote>\n<p><strong>Purpose:</strong></p>\n<p>Send one or more charges to us.</p>\n<ul>\n<li><p>Charges include a collection of 30 minute intervals.</p>\n</li>\n<li><p>We'll determine when each charge started/finished based on the first/last interval respectively.</p>\n</li>\n<li><p>Charge consumption will be calculated by summing the consumption values for all intervals.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","name":"Charge API","type":"collection"}},"urlObject":{"path":["dataProvider.charges.addWithIntervals"],"host":["https://api.mina.co.uk"],"query":[],"variable":[]}},"response":[{"id":"3ad22225-f0f3-4d42-9671-8b89189f0945","name":"Single Charge (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"status\": \"Success\"\r\n        }\r\n    ]\r\n}"},{"id":"223cc381-7684-40b3-82fb-b4d991f320b0","name":"Duplicate Charge  (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"status\": \"Duplicate\"\r\n        }\r\n    ]\r\n}"},{"id":"c3d52bd2-e26c-4a9a-9191-dc9a17033f8f","name":"Error Charge  (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"status\": \"Error\"\r\n        }\r\n    ]\r\n}"},{"id":"8aaafe1f-4893-4182-9b50-d22efed2b217","name":"Multiple Charges  (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"charges\": [\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"intervals\": [\r\n                {\r\n                    \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n                    \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n                    \"consumption\": 1.5438574893184753\r\n                },\r\n                {\r\n                    \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n                    \"to\": \"2021-01-01T07:30:00.000000Z\",\r\n                    \"consumption\": 2.7890435280972488\r\n                },\r\n                {\r\n                    \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n                    \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n                    \"consumption\": 0.9234284611902673\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-2\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"intervals\": [\r\n                {\r\n                    \"from\": \"2021-01-01T08:51:09.000000Z\",\r\n                    \"to\": \"2021-01-01T09:00:00.000000Z\",\r\n                    \"consumption\": 2.9843874343898299\r\n                },\r\n                {\r\n                    \"from\": \"2021-01-01T09:00:00.000000Z\",\r\n                    \"to\": \"2021-01-01T09:30:00.000000Z\",\r\n                    \"consumption\": 1.8904320972799927\r\n                },\r\n                {\r\n                    \"from\": \"2021-01-01T09:30:00.000000Z\",\r\n                    \"to\": \"2021-01-01T09:32:94.000000Z\",\r\n                    \"consumption\": 0.2982398747982722\r\n                }\r\n            ]\r\n        },\r\n                {\r\n            \"chargeExternalId\": \"chargePoint-2_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-2\",\r\n            \"intervals\": [\r\n                {\r\n                    \"from\": \"2021-01-01T13:01:57.000000Z\",\r\n                    \"to\": \"2021-01-01T13:30:00.000000Z\",\r\n                    \"consumption\": 6.8794328792437894\r\n                },\r\n                {\r\n                    \"from\": \"2021-01-01T13:30:00.000000Z\",\r\n                    \"to\": \"2021-01-01T13:52:33.000000Z\",\r\n                    \"consumption\": 2.9084329784238792\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"status\": \"Success\"\r\n        },\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-2\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"status\": \"Duplicate\"\r\n        },\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-2_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-2\",\r\n            \"status\": \"Success\"\r\n        }\r\n    ]\r\n}"},{"id":"cd5afedf-2ce4-4fbd-ad53-528b7793f219","name":"Missing Charge External ID (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].ChargeExternalId\": [\r\n            \"'ChargeExternalId' is required.\"\r\n        ]\r\n    }\r\n}"},{"id":"87338db4-82e6-4106-801b-f4ed37386b36","name":"Missing Charge Point External ID  (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].ChargePointExternalId\": [\r\n            \"'ChargePointExternalId' is required.\"\r\n        ]\r\n    }\r\n}"},{"id":"56dcb81d-f061-4dba-8b8c-7b255072dd18","name":"Empty Intervals (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": []\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].Intervals\": [\r\n            \"'Intervals' is required.\"\r\n        ]\r\n    }\r\n}"},{"id":"0597c87b-ff79-46f2-bad4-d8eca8cb32a5","name":"Invalid Intervals - From after To (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].Intervals[0].From\": [\r\n            \"'From' must be less than 'To'.\"\r\n        ]\r\n    }\r\n}"},{"id":"123fb286-1505-49d1-aefe-2f137dbbbd52","name":"Invalid Intervals - Intervals not 30 minutes (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:15:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:15:00.000000Z\",\r\n          \"to\": \"2021-01-01T07:27:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].Intervals[1]\": [\r\n            \"The difference between 'From' and 'To' must be 30 minutes or less.\"\r\n        ]\r\n    }\r\n}"},{"id":"833a8a01-cf56-4874-ab70-a7d322eb4143","name":"Invalid Intervals - From does not match previous To (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"intervals\": [\r\n        {\r\n          \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n          \"to\": \"2021-01-01T07:00:00.000000Z\",\r\n          \"consumption\": 1.5438574893184753\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T07:30:00.000000Z\",\r\n          \"to\": \"2021-01-01T08:00:00.000000Z\",\r\n          \"consumption\": 2.7890435280972488\r\n        },\r\n        {\r\n          \"from\": \"2021-01-01T08:88:00.000000Z\",\r\n          \"to\": \"2021-01-01T08:27:23.000000Z\",\r\n          \"consumption\": 0.9234284611902673\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].Intervals[1]\": [\r\n            \"'From' must be equal to '2021-01-01T07:00:00.000000Z'\"\r\n        ]\r\n    }\r\n}\r\n"}],"_postman_id":"e0ca2a79-032f-477a-b19d-18a4c850db88"},{"name":"dataProvider.charges.add","id":"7f442c28-5708-46ea-a1ad-ebfb023e83c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      // The unique ID for the charge.\r\n      \"chargeExternalId\": \"{{chargeExternalId}}\",\r\n\r\n      // The unique ID for the charge point.\r\n      \"chargePointExternalId\": \"{{chargePointExternalId}}\",\r\n\r\n      // ISO 8601 date/time when the charge interval started.\r\n      \"from\": \"{{from}}\",\r\n\r\n      // ISO 8601 date/time when the charge interval finished.\r\n      \"to\": \"{{to}}\",\r\n\r\n      // Energy consumption for the charge interval in kWh.\r\n      \"consumption\": {{consumption}}\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.add","description":"<blockquote>\n<p><strong>Important:</strong> </p>\n</blockquote>\n<blockquote>\n<p>This is the most basic method of ingesting charges. Consumption will be evenly distributed across the duration of the charge in 30-minute intervals. As a result, drivers on variable tariff won't receive 100% accurate reimbursement amounts. </p>\n</blockquote>\n<blockquote>\n<p>We recommend using this endpoint only if you are unable to support interval data as required by the <code>charges.addWithIntervals</code> endpoint </p>\n</blockquote>\n<p><strong>Purpose:</strong></p>\n<p>Send us one or more charges based on when they started/finished.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","name":"Charge API","type":"collection"}},"urlObject":{"path":["dataProvider.charges.add"],"host":["https://api.mina.co.uk"],"query":[],"variable":[]}},"response":[{"id":"538c2c78-719d-4cef-bfce-5f9a56350bfe","name":"Single Charge (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n      \"to\": \"2021-01-01T07:11:23.000000Z\",\r\n      \"consumption\": 2.46728595051\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\n            \"chargePointExternalId\": \"chargePoint-1\",\n            \"status\": \"Success\"\n        }\n    ]\n}"},{"id":"7a5bf93d-2918-4f40-820a-62e821ad1946","name":"Duplicate Charge (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n      \"to\": \"2021-01-01T07:11:23.000000Z\",\r\n      \"consumption\": 2.46728595051\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\n            \"chargePointExternalId\": \"chargePoint-1\",\n            \"status\": \"Duplicate\"\n        }\n    ]\n}"},{"id":"5bbfa8ea-b0bc-4bf4-9c41-2b59bf0c9fcf","name":"Error Charge (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n      \"to\": \"2021-01-01T07:11:23.000000Z\",\r\n      \"consumption\": 2.46728595051\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\n            \"chargePointExternalId\": \"chargePoint-1\",\n            \"status\": \"Error\"\n        }\n    ]\n}"},{"id":"2cf024af-b572-45a9-851e-eeed94cdff4f","name":"Multiple Charges (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"charges\": [\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n            \"to\": \"2021-01-01T07:11:23.000000Z\",\r\n            \"consumption\": 2.46728595051\r\n        },\r\n        {\r\n            \"charges\": [\r\n                {\r\n                    \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n                    \"chargePointExternalId\": \"chargePoint-1\",\r\n                    \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n                    \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n                    \"consumption\": 6.9783427983429874\r\n                },\r\n                {\r\n                    \"chargeExternalId\": \"chargePoint-1_charge-2\",\r\n                    \"chargePointExternalId\": \"chargePoint-1\",\r\n                    \"from\": \"2021-01-01T08:51:09.000000Z\",\r\n                    \"to\": \"2021-01-01T09:32:94.000000Z\",\r\n                    \"consumption\": 2.8943289723487942\r\n                },\r\n                {\r\n                    \"chargeExternalId\": \"chargePoint-2_charge-1\",\r\n                    \"chargePointExternalId\": \"chargePoint-2\",\r\n                    \"from\": \"2021-01-01T13:01:57.000000Z\",\r\n                    \"to\": \"2021-01-01T13:52:33.000000Z\",\r\n                    \"consumption\": 4.8794389723478943\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\n            \"chargePointExternalId\": \"chargePoint-1\",\n            \"status\": \"Success\"\n        },\n        {\n            \"chargeExternalId\": \"chargePoint-1_charge-2\",\n            \"chargePointExternalId\": \"chargePoint-1\",\n            \"status\": \"Duplicate\"\n        },\n        {\n            \"chargeExternalId\": \"chargePoint-2_charge-1\",\n            \"chargePointExternalId\": \"chargePoint-2\",\n            \"status\": \"Success\"\n        }\n    ]\n}"},{"id":"d486f138-193b-46ec-8bf0-5f5c1a3a719c","name":"Missing Charge External ID (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"charges\": [\r\n        {\r\n            \"chargePointExternalId\": \"chargePoint-1\",\r\n            \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n            \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n            \"consumption\": 6.7984328794239022\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].ChargeExternalId\": [\r\n            \"'ChargeExternalId' is required.\"\r\n        ]\r\n    }\r\n}"},{"id":"2d3e74be-48bc-4f40-90c3-f6ecc4608f68","name":"Missing Charge Point External ID  (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"charges\": [\r\n        {\r\n            \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n            \"from\": \"2021-01-01T06:34:56.000000Z\",\r\n            \"to\": \"2021-01-01T07:41:23.000000Z\",\r\n            \"consumption\": 3.7894328974237894\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.addWithIntervals"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"One or more validation errors occurred.\",\r\n    \"status\": 400,\r\n    \"errors\": {\r\n        \"Charges[0].ChargePointExternalId\": [\r\n            \"'ChargePointExternalId' is required.\"\r\n        ]\r\n    }\r\n}"},{"id":"26119651-5f41-4c62-8c13-501084a839d7","name":"From after To (400 Bad Request)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"charges\": [\r\n    {\r\n      \"chargeExternalId\": \"chargePoint-1_charge-1\",\r\n      \"chargePointExternalId\": \"chargePoint-1\",\r\n      \"from\": \"2021-01-01T07:00:00.000000Z\",\r\n      \"to\": \"2021-01-01T06:34:56.000000Z\",\r\n      \"consumption\": 2.46728595051\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"errors\": {\n        \"Charges[0].From\": [\n            \"'From' must be less than 'To'.\"\n        ]\n    }\n}"}],"_postman_id":"7f442c28-5708-46ea-a1ad-ebfb023e83c7"},{"name":"dataProvider.charges.findMany","id":"41bda860-6181-4d25-ad92-489e4888b714","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t// The unique ID's for the charge points.\n\t\"chargePointExternalIds\": [\n        \"{{chargePointExternalId}}\"\n    ],\n\n\t// ISO 8601 date/time when the charge period started.\n\t\"chargesReceivedFrom\": \"{{chargesReceivedFrom}}\",\n\n  // ISO 8601 date/time when the charge period ended.\n\t\"chargesReceivedTo\": \"{{ChargesReceivedTo}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.findMany","description":"<p>Retrieves a list of charges <strong>successfully</strong> received by our system.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","id":"f3987b4f-2d97-479e-ade1-3a3f8db16d0b","name":"Charge API","type":"collection"}},"urlObject":{"path":["dataProvider.charges.findMany"],"host":["https://api.mina.co.uk"],"query":[],"variable":[]}},"response":[{"id":"de2ba6b4-343b-41ba-8c25-3a90fb4bc2a2","name":"Single Charge (200 OK)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t// The unique ID's for the charge points.\n\t\"chargePointExternalIds\": [\n        \"{{chargePointExternalId}}\"\n    ],\n\n\t// ISO 8601 date/time when the charge period started.\n\t\"chargesReceivedFrom\": \"{{chargesReceivedFrom}}\",\n\n  // ISO 8601 date/time when the charge period ended.\n\t\"chargesReceivedTo\": \"{{ChargesReceivedTo}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mina.co.uk/dataProvider.charges.findMany"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"chargeExternalId\": \"externalId-1\",\n            \"chargePointExternalId\": \"chargePoint-1\",\n            \"intervals\": [\n                \"from\": \"2021-09-21T15:06:16.000000Z\",\n                \"to\": \"2021-09-21T15:30:00.000000Z\",\n                \"consumption\": 25\n            ]\n        }\n    ]\n}"}],"_postman_id":"41bda860-6181-4d25-ad92-489e4888b714"}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"}]}},"event":[{"listen":"prerequest","script":{"id":"772d2aca-7ec0-4bf2-8e28-25e298dc644b","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"2a202605-bb95-463b-9dc9-c8590e0e1ea2","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.mina.co.uk"},{"key":"since","value":"2024-01-01T00:00:00.000Z"}]}