{"info":{"_postman_id":"3b22043d-5387-4c0b-9702-c5d4b9f2cb34","name":"Vertical Wholesale API","description":"<html><head></head><body><p>This documentation will describe the verious endpoints available to interact with your wholesale agreement via the Vertical Integrate API.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"51504193","collectionId":"3b22043d-5387-4c0b-9702-c5d4b9f2cb34","publishedId":"2sBYHXQdbz","public":true,"customColor":{"top-bar":"1c1c3b","right-sidebar":"1c1c3b","highlight":"6b38e5"},"publishDate":"2026-11-02T16:03:59.000Z"},"item":[{"name":"Auth","item":[],"id":"7d981443-7894-451e-9483-e50ebcaa21ac","description":"<p>The Vertical Wholesale API is a RESTful API which requires an API key and an API secret, issued by Vertical, to access.</p>\n<h2 id=\"get-requests\">GET requests</h2>\n<p>GET requests contain no body payload and so only require the API key to be passed in the API-KEY header</p>\n<h2 id=\"post-put-and-patch-requests\">POST, PUT and PATCH requests</h2>\n<p>Requests which send a payload in the body require, in addition to the API key passed in the headers, an HMAC hash of the body payload to be sent in another header, API-HASH, using the issued API secret.</p>\n<p>Example in PHP, where <code>$payload</code> is your JSON body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">    $hash = hash_hmac(\"sha512\", $payload, $secret);\n    curl_setopt($ch, CURLOPT_HTTPHEADER, array(\n        \"API-KEY: {$key}\",\n        \"API-HASH: {$hash}\"\n    ));\n\n</code></pre>\n<h2 id=\"variables\">Variables</h2>\n<p>To use this postman collections the below environmental variables should be set:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Test Value</strong></th>\n<th><strong>Live Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>base_url</td>\n<td>default</td>\n<td><a href=\"https://api.test.durham.cloud/wholesale\">https://api.test.durham.cloud/wholesale</a></td>\n<td><a href=\"https://api.durham.cloud/wholesale\">https://api.durham.cloud/wholesale</a></td>\n</tr>\n<tr>\n<td>API_key</td>\n<td>secret</td>\n<td>to be provided by Vertical</td>\n<td>to be provided by Vertical</td>\n</tr>\n<tr>\n<td>secret</td>\n<td>secret</td>\n<td>to be provided by Vertical</td>\n<td>to be provided by Vertical</td>\n</tr>\n</tbody>\n</table>\n</div><p>All values in single {} should be replaced with the appropriate value.</p>\n","_postman_id":"7d981443-7894-451e-9483-e50ebcaa21ac"},{"name":"Quote","item":[{"name":"Get Quote","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"50845119-5ebb-41ae-bd08-685e89ca1bbd"}}],"id":"287bd58f-68b1-4ab7-9e2d-c708cc56fc8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{base_url}}/quote?address={address}&town={town}&postcode={postcode}&capacity={capacity}&start_date={start_date}&end_date={end_date}&udprn={udprn}&uprn={uprn}&electricity={electricity}&gas={gas}&broadband={broadband}&water={water}&tvl={tvl}&is_unlimited={is_unlimited}","urlObject":{"path":["quote"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>The properies address lines, excluding the town and postcode</p>\n","type":"text/plain"},"key":"address","value":"{address}"},{"description":{"content":"<p>The town of the property.</p>\n","type":"text/plain"},"key":"town","value":"{town}"},{"description":{"content":"<p>The properties postcode. The format must include a space between the outward and inward code.</p>\n","type":"text/plain"},"key":"postcode","value":"{postcode}"},{"description":{"content":"<p>The number of people who will be living at the property. </p>\n","type":"text/plain"},"key":"capacity","value":"{capacity}"},{"description":{"content":"<p>The date the contract will start in YYYY-MM-DD format. </p>\n","type":"text/plain"},"key":"start_date","value":"{start_date}"},{"description":{"content":"<p>The contract end date. Must be 10 months or more after the start date. Format is YYYY-MM-DD. </p>\n","type":"text/plain"},"key":"end_date","value":"{end_date}"},{"description":{"content":"<p>The unique delivery point reference number.</p>\n","type":"text/plain"},"key":"udprn","value":"{udprn}"},{"description":{"content":"<p>The unique property reference number.</p>\n","type":"text/plain"},"key":"uprn","value":"{uprn}"},{"description":{"content":"<p>Use 1 to include the service in the quote. Otherwise, 0. </p>\n","type":"text/plain"},"key":"electricity","value":"{electricity}"},{"description":{"content":"<p>Use 1 to include the service in the quote. Otherwise, 0. </p>\n","type":"text/plain"},"key":"gas","value":"{gas}"},{"description":{"content":"<p>Use 1 to include the service in the quote. Otherwise, 0. </p>\n","type":"text/plain"},"key":"broadband","value":"{broadband}"},{"description":{"content":"<p>Use 1 to include the service in the quote. Otherwise, 0. </p>\n","type":"text/plain"},"key":"water","value":"{water}"},{"description":{"content":"<p>Use 1 to include the service in the quote. Otherwise, 0. </p>\n","type":"text/plain"},"key":"tvl","value":"{tvl}"},{"description":{"content":"<p>Is for unlimited agreement</p>\n","type":"text/plain"},"key":"is_unlimited","value":"{is_unlimited}"}],"variable":[]}},"response":[{"id":"0a8b9a39-aacb-4bfd-941b-f83f9ff75682","name":"200 Success","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://api.test.durham.cloud/wholesale/quote?address=&town=&postcode&capacity=&start_date=&end_date=&udprn=&uprn=&electricity=1&gas=1&broadband=1&water=1&tvl=0","protocol":"https","host":["api","test","durham","cloud"],"path":["wholesale","quote"],"query":[{"key":"address","value":"","description":"The properies address lines, excluding the town and postcode **Required**"},{"key":"town","value":"","description":"The town of the property. **Required**"},{"key":"postcode","value":null,"description":"The properties postcode. The format must include a space between the outward and inward code."},{"key":"capacity","value":"","description":"The number of people who will be living at the property. **Required**"},{"key":"start_date","value":"","description":"The date the contract will start in YYYY-MM-DD format. **Required**"},{"key":"end_date","value":"","description":"The contract end date. Must be 10 months or more after the start date. Format is YYYY-MM-DD. **Required**"},{"key":"udprn","value":"","description":"The unique delivery point reference number."},{"key":"uprn","value":"","description":"The unique property reference number."},{"key":"electricity","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0. **Required**"},{"key":"gas","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0. **Required**"},{"key":"broadband","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0. **Required**"},{"key":"water","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0. **Required**"},{"key":"tvl","value":"0","description":"Use 1 to include the service in the quote. Otherwise, 0. (TV Licence) **Required**"},{"key":"is_unlimited","value":"0","description":"Is for unlimited agreement","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Aug 2025 13:19:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"298"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"electricity\":\t{\n//Price structure for an energy service quote. Service will only be displayed if selected on request.\n\n        \"is_available\": \"<boolean>\",\n        //True if the service is available. Otherwise, false.\n\n        \"monthly_fee\": \"<number>\",\n        //Price for the service for the whole property per month.\n\n        \"tenant_week\": \"<number>\",\n        //Price for the service per tenant per week.\n\n        \"tenant_month\":\t\"<number>\",\n        //Price for the service per tenant per month.\n\n        \"unit_rate\": \"<number>\",\n        //Price per kWh unit.\n\n        \"standing_charge\": \"<number>\",\n        //Price per day for the service.\n\n        \"annual_consumption\": \"<number>\",\n        //Annual consumption.\n\n        \"tariff_pricing_type\": \"<string>\",\n        //Tariff pricing type. (area, capacity, consumption)\n\n        \"is_ppm\": \"<boolean>\",\n        //Is pre-payment meter. Value can be null if it is unknown.\n\n        \"comment\": \"<string>\"\n        //Feedback on generating quote on service if any.\n    },\n    \"gas\":\t{\n//Price structure for an energy service quote. Service will only be displayed if selected on request.\n\n        \"is_available\":\t\"<boolean>\",\n        //True if the service is available. Otherwise, false.\n\n        \"monthly_fee\": \"<number>\",\n        //Price for the service for the whole property per month.\n\n        \"tenant_week\": \"<number>\",\n        //Price for the service per tenant per week.\n\n        \"tenant_month\": \"<number>\",\n        //Price for the service per tenant per month.\n\n        \"unit_rate\": \"<number>\",\n        //Price per kWh unit.\n\n        \"standing_charge\": \"<number>\",\n        //Price per day for the service.\n\n        \"annual_consumption\": \"<number>\",\n        //Annual consumption.\n\n        \"tariff_pricing_type\": \"<string>\",\n        //Tariff pricing type. (area, capacity, consumption)\n        \n        \"is_ppm\": \"<boolean>\",\n        //Is pre-payment meter. Value can be null if it is unknown.\n\n        \"comment\": \"<string>\"\n        //Feedback on generating quote on service if any.\n    },\n    \"broadband\": {\n//Broadband quotes for available packages. Service will only be displayed if selected on request.\n\n        \"is_available\":\t\"<boolean>\",\n        //True if the service is available. Otherwise, false.\n\n        \"provider\":\t\"<string>\",\n        //Supplier name.\n\n        \"package_name\": \"<string>\",\n        //Package name.\n\n        \"package_code\":\t\"<string>\",\n        //Package code. This is to be used for POST /contracts\n\n        \"monthly_fee\":\t\"<number>\",\n        //Price for the service for the whole property per month.\n\n        \"tenant_week\":\t\"<number>\",\n        //Price for the service per tenant per week.\n\n        \"tenant_month\": \"<number>\",\n        //Price for the service per tenant per month.\n\n        \"min_speed\": \"<number>\",\n        //Minimum download speed.\n\n        \"max_speed\": \"<number>\",\n        //Maximum download speed\n\n        \"estimated_speed\": \"<number>\",\n        //Estimated speed\n\n        \"comment\": \"<string>\"\n        //Feedback on generating quote on service if any.\n\n    },\n    \"water\": {\n//Price structure for a service on a quote. Service will only be displayed if selected on request.\n\n        \"is_available\": \"<boolean>\",\n        //True if the service is available. Otherwise, false.\n\n        \"monthly_fee\": \"<number>\",\n        //Price for the service for the whole property per month.\n\n        \"tenant_week\": \"<number>\",\n        //Price for the service per tenant per week.\n\n        \"tenant_month\": \"<number>\",\n        //Price for the service per tenant per month.\n\n        \"comment\": \"<string>\"\n        //Feedback on generating quote on service if any.\n\n    },\n    \"tvl\": {\n//Price structure for a service on a quote. Service will only be displayed if selected on request.\n\n        \"is_available\":\t\"<boolean>\",\n        //True if the service is available. Otherwise, false.\n\n        \"monthly_fee\": \"<number>\",\n        //Price for the service for the whole property per month.\n\n        \"tenant_week\": \"<number>\",\n        //Price for the service per tenant per week.\n\n        \"tenant_month\": \"<number>\",\n        //Price for the service per tenant per month.\n\n        \"comment\": \"<string>\"\n        //Feedback on generating quote on service if any.\n    }\n }"},{"id":"5b83d8cc-f8e9-4afc-bd53-f03d28dd4805","name":"400 Bad Request - required field missing","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://api.test.durham.cloud/wholesale/quote?address={address}&town={town}&postcode={postcode}&electricity=1&gas=1&broadband=1&water=1&tvl=0","protocol":"https","host":["api","test","durham","cloud"],"path":["wholesale","quote"],"query":[{"key":"address","value":"{address}","description":"The properies address lines, excluding the town and postcode"},{"key":"town","value":"{town}","description":"The town of the property."},{"key":"postcode","value":"{postcode}","description":"The properties postcode. The format must include a space between the outward and inward code."},{"key":"capacity","value":"","description":"The number of people who will be living at the property.","disabled":true},{"key":"start_date","value":"","description":"The date the contract will start in YYYY-MM-DD format.","disabled":true},{"key":"end_date","value":"","description":"The contract end date. Must be 10 months or more after the start date. Format is YYYY-MM-DD.\n\n","disabled":true},{"key":"udprn","value":"","description":"The unique delivery point reference number.","disabled":true},{"key":"uprn","value":"","description":"The unique property reference number.","disabled":true},{"key":"electricity","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"gas","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"broadband","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"water","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"tvl","value":"0","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"is_unlimited","value":"0","description":"Is for unlimited agreement","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 11 Aug 2025 13:24:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The capacity field is required. (and 2 more errors)\",\n    \"errors\": {\n        \"capacity\": [\n            \"The capacity field is required.\"\n        ],\n        \"start_date\": [\n            \"The start date field is required.\"\n        ],\n        \"end_date\": [\n            \"The end date field is required.\"\n        ]\n    }\n}"},{"id":"662c5853-43ef-4db4-8b19-f9d74a31345c","name":"400 Bad Request - invalid postcode","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://api.test.durham.cloud/wholesale/quote?address={address}&town={town}&postcode={postcode}&capacity={capacity}&start_date={start_date}&end_date={end_date}&electricity=1&gas=1&broadband=1&water=1&tvl=0","protocol":"https","host":["api","test","durham","cloud"],"path":["wholesale","quote"],"query":[{"key":"address","value":"{address}","description":"The properies address lines, excluding the town and postcode"},{"key":"town","value":"{town}","description":"The town of the property."},{"key":"postcode","value":"{postcode}","description":"The properties postcode. The format must include a space between the outward and inward code."},{"key":"capacity","value":"{capacity}","description":"The number of people who will be living at the property."},{"key":"start_date","value":"{start_date}","description":"The date the contract will start in YYYY-MM-DD format."},{"key":"end_date","value":"{end_date}","description":"The contract end date. Must be 10 months or more after the start date. Format is YYYY-MM-DD.\n\n"},{"key":"udprn","value":"","description":"The unique delivery point reference number.","disabled":true},{"key":"uprn","value":"","description":"The unique property reference number.","disabled":true},{"key":"electricity","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"gas","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"broadband","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"water","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"tvl","value":"0","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"is_unlimited","value":"0","description":"Is for unlimited agreement","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 11 Aug 2025 13:25:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"298"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The postcode is not a valid postcode.\",\n    \"errors\": {\n        \"postcode\": [\n            \"The postcode is not a valid postcode.\"\n        ]\n    }\n}"},{"id":"f0bb1307-9ed3-4f73-b4ac-2db152810de1","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"•••••••","type":"text","disabled":true},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-KEY","value":"12345","type":"text"}],"url":{"raw":"https://api.test.durham.cloud/wholesale/quote?address={address}&town={town}&postcode={postcode}&capacity={capacity}&start_date={start_date}&end_date={end_date}&electricity=1&gas=1&broadband=1&water=1&tvl=0","protocol":"https","host":["api","test","durham","cloud"],"path":["wholesale","quote"],"query":[{"key":"address","value":"{address}","description":"The properies address lines, excluding the town and postcode"},{"key":"town","value":"{town}","description":"The town of the property."},{"key":"postcode","value":"{postcode}","description":"The properties postcode. The format must include a space between the outward and inward code."},{"key":"capacity","value":"{capacity}","description":"The number of people who will be living at the property."},{"key":"start_date","value":"{start_date}","description":"The date the contract will start in YYYY-MM-DD format."},{"key":"end_date","value":"{end_date}","description":"The contract end date. Must be 10 months or more after the start date. Format is YYYY-MM-DD.\n\n"},{"key":"udprn","value":"","description":"The unique delivery point reference number.","disabled":true},{"key":"uprn","value":"","description":"The unique property reference number.","disabled":true},{"key":"electricity","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"gas","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"broadband","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"water","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"tvl","value":"0","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"is_unlimited","value":"0","description":"Is for unlimited agreement","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 11 Aug 2025 13:28:51 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""},{"id":"2a900e2c-a929-4025-8263-dfe5818b5d1f","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://api.test.durham.cloud/wholesale/quote?address={address}&town={town}&postcode={postcode}&capacity={capacity}&start_date={start_date}&end_date={end_date}&electricity=1&gas=1&broadband=1&water=1&tvl=0","protocol":"https","host":["api","test","durham","cloud"],"path":["wholesale","quote"],"query":[{"key":"address","value":"{address}","description":"The properies address lines, excluding the town and postcode"},{"key":"town","value":"{town}","description":"The town of the property."},{"key":"postcode","value":"{postcode}","description":"The properties postcode. The format must include a space between the outward and inward code."},{"key":"capacity","value":"{capacity}","description":"The number of people who will be living at the property."},{"key":"start_date","value":"{start_date}","description":"The date the contract will start in YYYY-MM-DD format."},{"key":"end_date","value":"{end_date}","description":"The contract end date. Must be 10 months or more after the start date. Format is YYYY-MM-DD.\n\n"},{"key":"udprn","value":"","description":"The unique delivery point reference number.","disabled":true},{"key":"uprn","value":"","description":"The unique property reference number.","disabled":true},{"key":"electricity","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"gas","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"broadband","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"water","value":"1","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"tvl","value":"0","description":"Use 1 to include the service in the quote. Otherwise, 0."},{"key":"is_unlimited","value":"0","description":"Is for unlimited agreement","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 11 Aug 2025 13:23:35 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"We were unable to find a property using the address details provided.\",\n    \"context\": {\n        \"search_results\": [\n            {\n                \"Id\": \"UPRN|1000000000001\",\n                \"Type\": \"Address\",\n                \"Text\": \"1 Example Road\",\n                \"Highlight\": \"\",\n                \"Description\": \"Birmingham B1 1AA\"\n            },\n            {\n                \"Id\": \"UPRN|1000000000002\",\n                \"Type\": \"Address\",\n                \"Text\": \"2 Example Rpad\",\n                \"Highlight\": \"\",\n                \"Description\": \"Birmingham B1 1AA\"\n            },\n            {\n                \"Id\": \"UPRN|1000000000003\",\n                \"Type\": \"Address\",\n                \"Text\": \"3 Example Road\",\n                \"Highlight\": \"\",\n                \"Description\": \"Birmingham B1 1AA\"\n            }\n        ]\n    }\n}"}],"_postman_id":"287bd58f-68b1-4ab7-9e2d-c708cc56fc8d"}],"id":"79d08e45-c8a1-4ac7-83c9-e54e661441bd","description":"<p>Use this endpoint to generate a quote for a contract based on the information provided.</p>\n","_postman_id":"79d08e45-c8a1-4ac7-83c9-e54e661441bd"},{"name":"Contract","item":[{"name":"Create Contract","event":[{"listen":"prerequest","script":{"exec":["// get secret","var secret = pm.environment.get(\"secret\");","// get request body","var req = request.data","var requestBody = pm.variables.replaceIn(pm.request.body.raw);","","// create HMAC SHA512 hash request body and secret","var hashHmacSHA512 = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestBody, secret));","// add headers to request","pm.environment.set(\"API-HASH\", hashHmacSHA512);"],"type":"text/javascript","packages":{},"id":"a0c33f29-5917-48ae-8d17-0a9d48947a73"}}],"id":"a76b54d5-85bc-4243-b9aa-12df3aa613fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"address\": \"string\", //The properties address lines, excluding the town and postcode.\n  \n  \"town\": \"sting\", //The town of the property.\n  \n  \"postcode\": \"string\", //The properties postcode. The format must include a space between the outward and inward code.\n  \n  \"capacity\": 2, //The number of people that will be living at the property. (Min: 1, Max: 12)\n  \n  \"start_date\": \"string\", //The date the contract will be started from in YYYY-MM-DD format.\n  \n  \"end_date\": \"string\", //The end date for the contract. Date must be 10 months ahead of start_date and format YYYY-MM-DD.\n  \n  \"udprn\": \"sting\", //8 char unique delivery point reference number.\n  \n  \"uprn\": \"string\", //12 char unique property reference number.\n  \n  \"electricity\": true, //Wholesale contracts must have electricity. Therefore, this should be true.\n  \n  \"gas\": true, //True if the contract should have gas. Otherwise, false\n  \n  \"water\": true, //True if the contract should have water. Otherwise, false.\n  \n  \"tvl\": false, //True if the contract should have TV licence. Otherwise, false.\n  \n  \"broadband\": true, //True if the contract should have broadband. Otherwise, false.\n  \n  \"is_unlimited\": true //Is for unlimited agreement\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contract","description":"<p>Add a new contract to your existing wholesale agreement.</p>\n","urlObject":{"path":["contract"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"f3edca78-ee6b-4b0c-ae6f-b930ce6d618b","name":"200 Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"address\": \"string\",\n  \"town\": \"sting\",\n  \"postcode\": \"string\",\n  \"capacity\": 2,\n  \"start_date\": \"string\",\n  \"end_date\": \"string\",\n  \"udprn\": \"sting\",\n  \"uprn\": \"string\",\n  \"electricity\": true,\n  \"gas\": true,\n  \"water\": true,\n  \"tvl\": false,\n  \"broadband\": true,\n  \"is_unlimited\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contract"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"reference\": \"<string>\",\n    //The customer reference number of the contract.\n\n    \"address\": \"<string>\",\n    //The address the contract relates to.\n\n    \"capacity\":\t\"<integer>\",\n    //The amount of people living at the property.\n\n    \"start_date\": \"<string>\",\n    //The start date of the contract in YYYY-MM-DD format.\n\n    \"end_date\":\t\"<string>\",\n    //The end date of the contract in YYYY-MM-DD format.\n\n    \"balance\": \"<number>\",\n    //The current balance of the contract.\n\n    \"future_balance\": \"<number>\",\n    //The balance of the contract including payment notices due in the future.\n\n    \"is_reconciled\": \"<boolean>\",\n    //True if the account has had a reconciliation. Otherwise, false.\n\n    \"payment_notices_due\": \"<number>\",\n    //The total of payment notices, in pounds, due for the contract.\n\n    \"payment_notices_issued\": \"<number>\",\n    //The total of payment notices, in pounds, issued to a contract including those due in the future.\n\n    \"total_payments\": \"<number>\",\n    //The total of payments made, in pounds.\n\n    \"occupants\": [\n    //The details of the people living in the property.\n\n        {\n            \"firstname\": \"<string>\",\n            \"lastname\": \"<string>\",\n            \"email\": \"<string>\",\n            \"mobile\": \"<string>\",\n            \"start_date\": \"<string>\",\n            \"end_date\": \"<string>\"\n        }\n    ],\n\n    \"letting_agent\": {\n    //The currently active letting agent that we have details for. Null if there aren't any details.\n\n        \"name\": \"<string>\",\n        \"email\": \"<string>\",\n        \"telephone\": \"<string>\"\n    },\n    \n    \"services\":\t[\n    //Array of services that have been requested for the contract.\n\n        {\n            \"name\":\t\"<string>\",\n            //Name of the service.\n\n            \"order_status\":\t\"<string>\",\n            //The current status of ordering for the service.\n\n            \"start_date\": \"<string>\",\n            //The date the service was requested from for this contract.\n\n            \"billing_start_date\": \"<string>\",\n            //The date the service is being billed from for this contract.\n\n            \"billing_end_date\":\t\"<string>\",\n            //The date the service is being billed up to for this contract.\n\n            \"delivery_point_reference\":\t\"<string>\",\n            //The MPAN or MPRN for the energy services.\n\n            \"meter_type\": \"<string>\",\n            //A code for the currently active meter. A list of codes and what they represent can be found https://www.edq.com/globalassets/documentation/data-guides/adg_gbu.pdf on page 13.\n\n            \"price_per_week\": \"<number>\"\n        }\n    ],\n    \n    \"usage\": {\n    //Usage data for energy services. This will be null if the service is not an energy service.\n\n        \"success\": \"<boolean>\",\n        //True if all data is available to generate a usage timeline, excluding readings. If false, data will be null and message will provide extra detail.\n\n        \"message\": \"<string>\",\n        //An error message if an error occurred. Otherwise, null.\n\n        \"data\":\t{\n            \"actual\":\t{\n            //Usage that has been calculated from readings provided.\n\n                \"success\": \"<boolean>\",\n                //True if all data is available to calculate usage, including readings. If false, data will be null and message will provide extra detail.\n\n                \"message\": \"<string>\",\n                //An error message if an error occurred. Otherwise, null.\n\n                \"data\":\t{\n                    \n                    \"total_pounds\": \"<number>\",\n                    //The calculated usage so far in pounds from the readings provided.\n\n                    \"up_to_date\": \"<string>\",\n                    //The date the actual usage is up to in YYYY-MM-DD format.\n\n                    \"readings\":\t[\n                    //The readings used to calculate cost in each usage period.\n\n                        {\n                    \n                            \"start\": {\n                                \"reading1\":\t\"<integer>\",\n                                //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                                \"reading2\":\t\"<integer>\",\n                                //The night reading if the meter is economy 7. Otherwise, null.\n\n                                \"date\":\t\"<string>\",\n                                //The date the reading was taken in YYYY-MM-DD format.\n\n                                \"is_estimated\":\t\"<boolean>\"\n                                //True if the reading is an estimated reading.\n                            },\n                        \n                            \"end\": {\n                                \n                                \"reading1\":\t\"<integer>\",\n                                //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                                \"reading2\":\t\"<integer>\",\n                                //The night reading if the meter is economy 7. Otherwise, null.\n\n                                \"date\":\t\"<string>\",\n                                //The date the reading was taken in YYYY-MM-DD format.\n\n                                \"is_estimated\": \"<boolean>\"\n                                //True if the reading is an estimated reading.\n                            }\n                        }\n                    ]\n                }\n            },\n\n            \"forecast\":\t{\n            //Forecasting usage using the estimated annual kilowatt hours for the service. If actual usage has been calculated, that will be factored in.\n\n                \"total_pounds\":\t\"<number>\",\n                //The predicted usage in pounds for all usage periods.\n\n                \"estimated_annual_kwh\":\t\"<integer>\",\n                //The kilowatt hours the property is estimated to use in a year. This is used to predict total usage.\n\n                \"suggested_price_per_week\":\t\"<number>\",\n                //The price per person per week that has been calculated using the forecast and payment notices issued so far.\n\n                \"up_to_date\": \"<string>\",\n                //The date the forecasted usage is up to in YYYY-MM-DD format.\n\n                \"includes_usage\": \"<boolean>\"\n                //True if the forecast has actual usage factored into it. Otherwise, false if the forecast is completely based from the estimated consumption.\n            },\n\n            \"periods\": [\n            //The usage periods. Periods could indicate a change in tariff, meter exchange etc.\n\n                {\n\n                    \"period_start_date\": \"<string>\",\n                    \"period_end_date\": \"<string>\",\n                    \"meter\": {\n                        \"serial_number\": \"<string>\",\n                        \"profile_class\": \"<string>\",\n                        \"is_imperial\": \"<boolean>\",\n                        \"is_prepayment\": \"<boolean>\"\n                    },\n                    \n                    \"tariff\": {\n                        \"calorific_value\": \"<number>\",\n                        \"standard_unit_rate\": \"<number>\",\n                        \"economy_unit_rate_day\": \"<number>\",\n                        \"economy_unit_rate_night\": \"<number>\",\n                        \"standard_standing_charge\": \"<number>\",\n                        \"economy_standing_charge\": \"<number>\",\n                        \"vat\": \"<number>\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"d04e9479-c45e-4a25-b965-11cf3fe57b3f","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"address\": \"string\",\n  \"town\": \"sting\",\n  \"postcode\": \"string\",\n  \"capacity\": 2,\n  \"start_date\": \"string\",\n  \"end_date\": \"string\",\n  \"udprn\": \"sting\",\n  \"uprn\": \"string\",\n  \"electricity\": true,\n  \"gas\": true,\n  \"water\": true,\n  \"tvl\": false,\n  \"broadband\": true,\n  \"is_unlimited\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contract"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 07:54:02 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n    //Simple error message\n}"},{"id":"fd59336b-af78-4ad6-b430-c87da7f5d699","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"1234","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"address\": \"string\",\n  \"town\": \"sting\",\n  \"postcode\": \"string\",\n  \"capacity\": 2,\n  \"start_date\": \"string\",\n  \"end_date\": \"string\",\n  \"udprn\": \"sting\",\n  \"uprn\": \"string\",\n  \"electricity\": true,\n  \"gas\": true,\n  \"water\": true,\n  \"tvl\": false,\n  \"broadband\": true,\n  \"is_unlimited\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contract"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 12 Aug 2025 07:50:18 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""},{"id":"72eea11c-6df6-452a-b5b4-8332f7caa024","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"address\": \"string\",\n  \"town\": \"sting\",\n  \"postcode\": \"string\",\n  \"capacity\": 2,\n  \"start_date\": \"string\",\n  \"end_date\": \"string\",\n  \"udprn\": \"sting\",\n  \"uprn\": \"string\",\n  \"electricity\": true,\n  \"gas\": true,\n  \"water\": true,\n  \"tvl\": false,\n  \"broadband\": true,\n  \"is_unlimited\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contract"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 07:44:00 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"We were unable to find a property using the address details provided.\",\n    \"context\": {\n        \"search_results\": [\n            {\n                \"Id\": \"UPRN|1000000000001\",\n                \"Type\": \"Address\",\n                \"Text\": \"1 Example Road\",\n                \"Highlight\": \"\",\n                \"Description\": \"Birmingham B1 1AA\"\n            },\n            {\n                \"Id\": \"UPRN|1000000000002\",\n                \"Type\": \"Address\",\n                \"Text\": \"2 Example Rpad\",\n                \"Highlight\": \"\",\n                \"Description\": \"Birmingham B1 1AA\"\n            },\n            {\n                \"Id\": \"UPRN|1000000000003\",\n                \"Type\": \"Address\",\n                \"Text\": \"3 Example Road\",\n                \"Highlight\": \"\",\n                \"Description\": \"Birmingham B1 1AA\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a76b54d5-85bc-4243-b9aa-12df3aa613fb"},{"name":"Get Contract","id":"d0cba790-d74e-4b92-b1c9-86203c5a4329","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{base_url}}/contracts/{contract_reference}","description":"<p>Retrive information of an existing contract assosiated with your wholesale agreement.</p>\n<p><strong>Path Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Desc</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contract_reference</td>\n<td>string</td>\n<td>The customer reference number for the contract.</td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p>The contract reference can be obtained via the 'Properties' tab location in your TSEG portal</p>\n","urlObject":{"path":["contracts","{contract_reference}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6916cd84-f9ec-4025-b961-f033488b4958","name":"200 Success","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{base_url}}/contracts/{contract_reference}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"reference\": \"<string>\",\n    //The customer reference number of the contract.\n\n    \"address\": \"<string>\",\n    //The address the contract relates to.\n\n    \"capacity\":\t\"<integer>\",\n    //The amount of people living at the property.\n\n    \"start_date\": \"<string>\",\n    //The start date of the contract in YYYY-MM-DD format.\n\n    \"end_date\":\t\"<string>\",\n    //The end date of the contract in YYYY-MM-DD format.\n\n    \"balance\": \"<number>\",\n    //The current balance of the contract.\n\n    \"future_balance\": \"<number>\",\n    //The balance of the contract including payment notices due in the future.\n\n    \"is_reconciled\": \"<boolean>\",\n    //True if the account has had a reconciliation. Otherwise, false.\n\n    \"payment_notices_due\": \"<number>\",\n    //The total of payment notices, in pounds, due for the contract.\n\n    \"payment_notices_issued\": \"<number>\",\n    //The total of payment notices, in pounds, issued to a contract including those due in the future.\n\n    \"total_payments\": \"<number>\",\n    //The total of payments made, in pounds.\n\n    \"occupants\": [\n    //The details of the people living in the property.\n\n        {\n            \"firstname\": \"<string>\",\n            \"lastname\": \"<string>\",\n            \"email\": \"<string>\",\n            \"mobile\": \"<string>\",\n            \"start_date\": \"<string>\",\n            \"end_date\": \"<string>\"\n        }\n    ],\n\n    \"letting_agent\": {\n    //The currently active letting agent that we have details for. Null if there aren't any details.\n\n        \"name\": \"<string>\",\n        \"email\": \"<string>\",\n        \"telephone\": \"<string>\"\n    },\n    \n    \"services\":\t[\n    //Array of services that have been requested for the contract.\n\n        {\n            \"name\":\t\"<string>\",\n            //Name of the service.\n\n            \"order_status\":\t\"<string>\",\n            //The current status of ordering for the service.\n\n            \"start_date\": \"<string>\",\n            //The date the service was requested from for this contract.\n\n            \"billing_start_date\": \"<string>\",\n            //The date the service is being billed from for this contract.\n\n            \"billing_end_date\":\t\"<string>\",\n            //The date the service is being billed up to for this contract.\n\n            \"delivery_point_reference\":\t\"<string>\",\n            //The MPAN or MPRN for the energy services.\n\n            \"meter_type\": \"<string>\",\n            //A code for the currently active meter. A list of codes and what they represent can be found https://www.edq.com/globalassets/documentation/data-guides/adg_gbu.pdf on page 13.\n\n            \"price_per_week\": \"<number>\"\n        }\n    ],\n    \n    \"usage\": {\n    //Usage data for energy services. This will be null if the service is not an energy service.\n\n        \"success\": \"<boolean>\",\n        //True if all data is available to generate a usage timeline, excluding readings. If false, data will be null and message will provide extra detail.\n\n        \"message\": \"<string>\",\n        //An error message if an error occurred. Otherwise, null.\n\n        \"data\":\t{\n            \"actual\":\t{\n            //Usage that has been calculated from readings provided.\n\n                \"success\": \"<boolean>\",\n                //True if all data is available to calculate usage, including readings. If false, data will be null and message will provide extra detail.\n\n                \"message\": \"<string>\",\n                //An error message if an error occurred. Otherwise, null.\n\n                \"data\":\t{\n                    \n                    \"total_pounds\": \"<number>\",\n                    //The calculated usage so far in pounds from the readings provided.\n\n                    \"up_to_date\": \"<string>\",\n                    //The date the actual usage is up to in YYYY-MM-DD format.\n\n                    \"readings\":\t[\n                    //The readings used to calculate cost in each usage period.\n\n                        {\n                    \n                            \"start\": {\n                                \"reading1\":\t\"<integer>\",\n                                //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                                \"reading2\":\t\"<integer>\",\n                                //The night reading if the meter is economy 7. Otherwise, null.\n\n                                \"date\":\t\"<string>\",\n                                //The date the reading was taken in YYYY-MM-DD format.\n\n                                \"is_estimated\":\t\"<boolean>\"\n                                //True if the reading is an estimated reading.\n                            },\n                        \n                            \"end\": {\n                                \n                                \"reading1\":\t\"<integer>\",\n                                //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                                \"reading2\":\t\"<integer>\",\n                                //The night reading if the meter is economy 7. Otherwise, null.\n\n                                \"date\":\t\"<string>\",\n                                //The date the reading was taken in YYYY-MM-DD format.\n\n                                \"is_estimated\": \"<boolean>\"\n                                //True if the reading is an estimated reading.\n                            }\n                        }\n                    ]\n                }\n            },\n\n            \"forecast\":\t{\n            //Forecasting usage using the estimated annual kilowatt hours for the service. If actual usage has been calculated, that will be factored in.\n\n                \"total_pounds\":\t\"<number>\",\n                //The predicted usage in pounds for all usage periods.\n\n                \"estimated_annual_kwh\":\t\"<integer>\",\n                //The kilowatt hours the property is estimated to use in a year. This is used to predict total usage.\n\n                \"suggested_price_per_week\":\t\"<number>\",\n                //The price per person per week that has been calculated using the forecast and payment notices issued so far.\n\n                \"up_to_date\": \"<string>\",\n                //The date the forecasted usage is up to in YYYY-MM-DD format.\n\n                \"includes_usage\": \"<boolean>\"\n                //True if the forecast has actual usage factored into it. Otherwise, false if the forecast is completely based from the estimated consumption.\n            },\n\n            \"periods\": [\n            //The usage periods. Periods could indicate a change in tariff, meter exchange etc.\n\n                {\n\n                    \"period_start_date\": \"<string>\",\n                    \"period_end_date\": \"<string>\",\n                    \"meter\": {\n                        \"serial_number\": \"<string>\",\n                        \"profile_class\": \"<string>\",\n                        \"is_imperial\": \"<boolean>\",\n                        \"is_prepayment\": \"<boolean>\"\n                    },\n                    \n                    \"tariff\": {\n                        \"calorific_value\": \"<number>\",\n                        \"standard_unit_rate\": \"<number>\",\n                        \"economy_unit_rate_day\": \"<number>\",\n                        \"economy_unit_rate_night\": \"<number>\",\n                        \"standard_standing_charge\": \"<number>\",\n                        \"economy_standing_charge\": \"<number>\",\n                        \"vat\": \"<number>\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"7099fb2c-5aa8-4b2c-8904-4300e5193e24","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"1234","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{base_url}}/contracts/{contract_reference}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 08:04:24 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""},{"id":"a7d454e1-1d5d-493f-a0e4-3057d711da89","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{base_url}}/contracts/{contract_reference}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 08:03:00 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Record not found.\"\n}"}],"_postman_id":"d0cba790-d74e-4b92-b1c9-86203c5a4329"},{"name":"Update Contract End Dates","event":[{"listen":"prerequest","script":{"exec":["// get secret","var secret = pm.environment.get(\"secret\");","// get request body","var req = request.data","var requestBody = pm.variables.replaceIn(pm.request.body.raw);","","// create HMAC SHA512 hash request body and secret","var hashHmacSHA512 = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestBody, secret));","// add headers to request","pm.environment.set(\"API_Hash\", hashHmacSHA512);"],"type":"text/javascript","packages":{},"id":"95f72045-67e0-4660-a139-49cb1dc2c875"}}],"id":"ed100d3a-9c90-4427-b78d-baee36af7865","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"API_HASH","value":"{API_hash}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"date\": \"string\" //The date the contract is expected to end in YYYY-MM-DD format.\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/dates/end","description":"<p>Use this endpoint to update the end date of a contract</p>\n<p><strong>Path Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Desc</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contract_reference</td>\n<td>string</td>\n<td>The customer reference number for the contract.</td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p>The contract reference can be obtained via the 'Properties' tab location in your TSEG portal.</p>\n","urlObject":{"path":["contracts","{contract_reference}","dates","end"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b5b10657-7d36-43f6-ad15-eafcfe4c11b5","name":"200 Success","originalRequest":{"method":"PATCH","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/dates/end"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 08:11:55 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n    //Truthy boolean indicating successful operation.\n}"},{"id":"8aea02dc-75c1-4de5-933b-1c6588c37d67","name":"400 Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2026/09/01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/dates/end"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 08:12:48 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n    //Simple error message.\n}"},{"id":"81ef442a-1a17-4159-b90c-24c380fc25b1","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"API-KEY","value":"1234","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"date\": \"2026-09-01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/dates/end"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:21:29 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""},{"id":"79a62199-7808-4514-acbb-1fd003674a9c","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"date\": \"2026-09-01\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/dates/end"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:22:17 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Record not found.\"\n}"}],"_postman_id":"ed100d3a-9c90-4427-b78d-baee36af7865"},{"name":"Add Letting Agent Details","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"8ed8a2db-2d54-440a-8d35-e3578842adbc"}},{"listen":"prerequest","script":{"exec":["// get secret","var secret = pm.environment.get(\"secret\");","// get request body","var req = request.data","var requestBody = pm.variables.replaceIn(pm.request.body.raw);","","// create HMAC SHA512 hash request body and secret","var hashHmacSHA512 = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestBody, secret));","// add headers to request","pm.environment.set(\"API-HASH\", hashHmacSHA512);"],"type":"text/javascript","packages":{},"id":"f75f0671-ce40-4aa1-b182-cdc2e592edb2"}}],"id":"22f66a91-e1e2-437f-a1a8-e8af31415a1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\", //The name of the letting agent.\n    \n    \"email\": \"string\", //The preferred email address of the letting agent.\n    \n    \"telephone\": \"string\", //The preferred telephone number of the letting agent. Must begin with a 0 and have 11 digits.\n    \n    \"responsible_from\": \"string\" //The date of which the letting agent became responsible in YYYY-MM-DD format.\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/letting-agents","description":"<p>Use this endpont to provide the letting agent details of a contract realted to your wholesale agreement.</p>\n<p><strong>Path Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Desc</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contract_reference</td>\n<td>string</td>\n<td>The customer reference number for the contract the letting agent relates to.</td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p>The contract reference can be obtained via the 'Properties' tab location in your TSEG portal.</p>\n","urlObject":{"path":["contracts","{contract_reference}","letting-agents"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2bd4a09e-f8a9-4ba4-abad-06ea1e69cd6f","name":"200 Success","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"email\": \"string\",\n    \"telephone\": \"string\",\n    \"responsible_from\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/letting-agents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:34:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n    //Truthy boolean indicating successful operation.\n}"},{"id":"050fee4a-5588-4c78-9a56-99f3d1e3f80d","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"email\": \"string\",\n    \"telephone\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/letting-agents"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:33:19 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n    //Simple error message.\n}"},{"id":"d6894070-f58c-44fd-85ab-9bd6f523d762","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"1111","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"email\": \"string\",\n    \"telephone\": \"string\",\n    \"responsible_from\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/letting-agents"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:35:07 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""},{"id":"8251d1ce-bf7f-4fcd-9741-ae925576f339","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"email\": \"string\",\n    \"telephone\": \"string\",\n    \"responsible_from\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/letting-agents"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:39:36 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This action is unauthorized.\"\n}"}],"_postman_id":"22f66a91-e1e2-437f-a1a8-e8af31415a1d"},{"name":"Add Occupant Details","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"33975e9b-ac3f-4ba8-a30c-c22ae9aa0a2f"}},{"listen":"prerequest","script":{"exec":["// get secret","var secret = pm.environment.get(\"secret\");","// get request body","var req = request.data","var requestBody = pm.variables.replaceIn(pm.request.body.raw);","","// create HMAC SHA512 hash request body and secret","var hashHmacSHA512 = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestBody, secret));","// add headers to request","pm.environment.set(\"API-HASH\", hashHmacSHA512);"],"type":"text/javascript","packages":{},"id":"2d263f2a-8537-464d-8d3e-f4a4bd4b245e"}}],"id":"15f54332-9f28-4c1e-a6a7-7d1835bd25b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"string\", //The first name of the occupant\n    \n    \"lastname\": \"string\", //The last name of the occupant\n    \n    \"email\": \"string\", //The email address of the occupant. \n    \n    \"mobile\": \"string\", //The mobile number of the occupant. Must begin with a 0 and have 11 digits.\n    \n    \"date_of_birth\": \"string\", //The date of birth of the occupant in YYYY-MM-DD format.\n    \n    \"start_date\": \"string\", //The date of birth of the occupant in YYYY-MM-DD format.\n    \n    \"end_date\": \"string\" //The date of birth of the occupant in YYYY-MM-DD format.\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/occupants","description":"<p>Use this endpoint to proved details of a person living in the property this contract relates to.</p>\n<p><strong>Path Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Desc</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contract_reference</td>\n<td>string</td>\n<td>The customer reference number for the contract the occupant relates to.</td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p>The contract reference can be obtained via the 'Properties' tab location in your TSEG portal.</p>\n","urlObject":{"path":["contracts","{contract_reference}","occupants"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e05d9995-f4f0-406b-922a-0b1e42dc7725","name":"200 Success","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"string\",\n    \"lastname\": \"string\",\n    \"email\": \"string\",\n    \"mobile\": \"string\",\n    \"date_of_birth\": \"string\",\n    \"start_date\": \"string\",\n    \"end_date\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/occupants"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:54:14 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n    //Truthy boolean indicating successful operation.\n}"},{"id":"d45cc738-f48b-4692-be0c-29437b497099","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"string\",\n    \"lastname\": \"string\",\n    \"email\": \"string\",\n    \"mobile\": \"string\",\n    \"date_of_birth\": \"string\",\n    \"start_date\": \"string\",\n    \"end_date\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/occupants"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 12:57:46 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n    //Simple error message.\n}"},{"id":"ef189fbc-b07b-45c9-8bde-4975120b1594","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"1111","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"string\",\n    \"lastname\": \"string\",\n    \"email\": \"string\",\n    \"mobile\": \"string\",\n    \"date_of_birth\": \"string\",\n    \"start_date\": \"string\",\n    \"end_date\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/occupants"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 13:04:39 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""},{"id":"524049ad-035a-412d-b5a7-a11f638f0684","name":"404 Record Not Found","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"string\",\n    \"lastname\": \"string\",\n    \"email\": \"string\",\n    \"mobile\": \"string\",\n    \"date_of_birth\": \"string\",\n    \"start_date\": \"string\",\n    \"end_date\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/occupants"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 13:03:38 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Record not found.\"\n}"}],"_postman_id":"15f54332-9f28-4c1e-a6a7-7d1835bd25b9"},{"name":"Generate Reconciliation","event":[{"listen":"prerequest","script":{"exec":["// get secret","var secret = pm.environment.get(\"secret\");","// get request body","var req = request.data","var requestBody = pm.variables.replaceIn(pm.request.body.raw);","","// create HMAC SHA512 hash request body and secret","var hashHmacSHA512 = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestBody, secret));","// add headers to request","pm.environment.set(\"API-HASH\", hashHmacSHA512);"],"type":"text/javascript","packages":{},"id":"6d80a612-b454-4e57-92ce-23a4ad131fb9"}}],"id":"5af55d7f-d21b-443b-9dee-577dd0933662","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"url":"{{base_url}}/contracts/{reference}/reconciliation","description":"<p>Use this endpoint to reconcile a contract, this will calculate and return usage data for energy services.</p>\n<p><strong>Path Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Desc</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contract_reference</td>\n<td>string</td>\n<td>The customer reference number for the contract the readings relates to..</td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p>The contract reference can be obtained via the 'Properties' tab location in your TSEG portal.</p>\n","urlObject":{"path":["contracts","{reference}","reconciliation"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8f21c0d5-596c-40f7-af9f-846aa1445bc3","name":"200 Success","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"string\" //The date to reconcile up to in YYYY-MM-DD format.\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{reference}/reconciliation"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n//The services included in the reconciliation.\n    {\n        \"name\": \"<string>\",\n        //Name of the service.\n\n        \"delivery_point_reference\":\t\"<string>\",\n        //The MPAN or MPRN for the energy services.\n\n        \"start_date\": \"<string>\",\n        //The date the reconciliation is being billed from for this service.\n\n        \"up_to_date\": \"<string>\",\n        //The date the reconciliation is being billed up to for this service.\n\n        \"meter_type\": \"<string>\",\n        //A code for the currently active meter. A list of codes and what they represent can be found https://www.edq.com/globalassets/documentation/data-guides/adg_gbu.pdf on page 13.\n\n        \"price_per_month\": \"<number>\",\n        //The current payment notice price per month.\n\n        \"usage\": {\n        //Usage data for energy services. This will be null if the service has not been billed on usage (only being bill managed).\n\n            \"success\": \"<boolean>\",\n            //True if all data is available to generate usage periods. If false, periods will be null and message will provide extra detail.\n\n            \"message\": \"<string>\",\n            //An error message if an error occurred. Otherwise, null.\n\n            \"periods\": [\n            //The periods used to calculate usage. Periods could indicate a change in tariff, meter exchange etc.\n\n                {\n                    \"period_start_date\": \"<string>\",\n                    \"period_end_date\": \"<string>\",\n                    \"kwh\": \"<number>\",\n                    \"kwh_night\": \"<number>\",\n                    \"meter\": {\n                        \"serial_number\": \"<string>\",\n                        \"profile_class\": \"<string>\",\n                        \"is_imperial\": \"<boolean>\",\n                        \"is_prepayment\": \"<boolean>\"\n                    },\n                    \n                    \"tariff\": {\n                        \"calorific_value\": \"<number>\",\n                        \"standard_unit_rate\": \"<number>\",\n                        \"economy_unit_rate_day\": \"<number>\",\n                        \"economy_unit_rate_night\": \"<number>\",\n                        \"standard_standing_charge\": \"<number>\",\n                        \"economy_standing_charge\": \"<number>\",\n                        \"vat\": \"<number>\",\n                        \"egp_unit_rate_reduction\": \"<number>\",\n                        \"egp_unit_rate_reduction_night\": \"<number>\"\n                    },\n                    \n                    \"start_reading\": {\n                        \"reading1\": \"<integer>\",\n                        //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                        \"reading2\": \"<integer>\",\n                        //The night reading if the meter is economy 7. Otherwise, null.\n\n                        \"date\": \"<string>\",\n                        //The date the reading was taken in YYYY-MM-DD format.\n\n                        \"is_estimated\":\t\"<boolean>\"\n                        //True if the reading is an estimated reading.\n                    },\n\n                    \"end_reading\": {\n                        \"reading1\":\t\"<integer>\",\n                        //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                        \"reading2\": \"<integer>\",\n                        //The night reading if the meter is economy 7. Otherwise, null.\n\n                        \"date\":\t\"<string>\",\n                        //The date the reading was taken in YYYY-MM-DD format.\n\n                        \"is_estimated\":\t\"<boolean>\"\n                        //True if the reading is an estimated reading.\n                    }\n                }\n            ]\n        },\n\n        \"bill_management\": {\n        //Bill management data. This will be null if the service has never been bill managed.\n\n            \"start_date\": \"<string>\",\n            //The start date the service was bill managed.\n\n            \"end_date\":\t\"<string>\",\n            //The end date the service was bill managed.\n\n            \"total\": \"<number>\"\n            //The total amount billed during the bill managed period. This will be included in the totals.\n        },\n\n        \"totals\": {\n        //The cost of service totals.\n\n            \"total_pounds\":\t\"<number>\",\n            //The total cost of the service.\n\n            \"total_pounds_inc_epg\":\t\"<number>\",\n            //The total cost of the service.\n\n            \"total_pounds_ex_epg\": \"<number>\"\n            //The total cost of the service excluding the Energy Price Guarantee rates.\n        },\n\n        \"ebss\": {\n        //Energy Bill Support Scheme. This will be null if the service has never benefited.\n\n            \"start_date\": \"<string>\",\n            //The date the service started receiving Energy Bill Support Scheme.\n\n            \"end_date\":\t\"<string>\",\n            //The date the service stopped receiving Energy Bill Support Scheme.\n\n            \"total\": \"<number>\"\n            //The total Energy Bill Support Scheme. This is NOT included in the totals.\n        }\n    }\n]"},{"id":"5e349cf7-bf86-4d47-856b-5ef6664e22b7","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2025-09-12\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{reference}/reconciliation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 15:33:06 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n    //Simple error message\n}"},{"id":"c29045af-de1e-425a-8815-9f992422b45a","name":"406 Not Acceptable","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2025-07-12\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{reference}/reconciliation"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Aug 2025 15:30:14 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n//The services included in the reconciliation.\n    {\n        \"name\": \"<string>\",\n        //Name of the service.\n\n        \"delivery_point_reference\":\t\"<string>\",\n        //The MPAN or MPRN for the energy services.\n\n        \"start_date\": \"<string>\",\n        //The date the reconciliation is being billed from for this service.\n\n        \"up_to_date\": \"<string>\",\n        //The date the reconciliation is being billed up to for this service.\n\n        \"meter_type\": \"<string>\",\n        //A code for the currently active meter. A list of codes and what they represent can be found https://www.edq.com/globalassets/documentation/data-guides/adg_gbu.pdf on page 13.\n\n        \"price_per_month\": \"<number>\",\n        //The current payment notice price per month.\n\n        \"usage\": {\n        //Usage data for energy services. This will be null if the service has not been billed on usage (only being bill managed).\n\n            \"success\": \"<boolean>\",\n            //True if all data is available to generate usage periods. If false, periods will be null and message will provide extra detail.\n\n            \"message\": \"<string>\",\n            //An error message if an error occurred. Otherwise, null.\n\n            \"periods\": [\n            //The periods used to calculate usage. Periods could indicate a change in tariff, meter exchange etc.\n\n                {\n                    \"period_start_date\": \"<string>\",\n                    \"period_end_date\": \"<string>\",\n                    \"kwh\": \"<number>\",\n                    \"kwh_night\": \"<number>\",\n                    \"meter\": {\n                        \"serial_number\": \"<string>\",\n                        \"profile_class\": \"<string>\",\n                        \"is_imperial\": \"<boolean>\",\n                        \"is_prepayment\": \"<boolean>\"\n                    },\n                    \n                    \"tariff\": {\n                        \"calorific_value\": \"<number>\",\n                        \"standard_unit_rate\": \"<number>\",\n                        \"economy_unit_rate_day\": \"<number>\",\n                        \"economy_unit_rate_night\": \"<number>\",\n                        \"standard_standing_charge\": \"<number>\",\n                        \"economy_standing_charge\": \"<number>\",\n                        \"vat\": \"<number>\",\n                        \"egp_unit_rate_reduction\": \"<number>\",\n                        \"egp_unit_rate_reduction_night\": \"<number>\"\n                    },\n                    \n                    \"start_reading\": {\n                        \"reading1\": \"<integer>\",\n                        //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                        \"reading2\": \"<integer>\",\n                        //The night reading if the meter is economy 7. Otherwise, null.\n\n                        \"date\": \"<string>\",\n                        //The date the reading was taken in YYYY-MM-DD format.\n\n                        \"is_estimated\":\t\"<boolean>\"\n                        //True if the reading is an estimated reading.\n                    },\n\n                    \"end_reading\": {\n                        \"reading1\":\t\"<integer>\",\n                        //The day reading if the meter is an economy 7. Otherwise, the only reading.\n\n                        \"reading2\": \"<integer>\",\n                        //The night reading if the meter is economy 7. Otherwise, null.\n\n                        \"date\":\t\"<string>\",\n                        //The date the reading was taken in YYYY-MM-DD format.\n\n                        \"is_estimated\":\t\"<boolean>\"\n                        //True if the reading is an estimated reading.\n                    }\n                }\n            ]\n        },\n\n        \"bill_management\": {\n        //Bill management data. This will be null if the service has never been bill managed.\n\n            \"start_date\": \"<string>\",\n            //The start date the service was bill managed.\n\n            \"end_date\":\t\"<string>\",\n            //The end date the service was bill managed.\n\n            \"total\": \"<number>\"\n            //The total amount billed during the bill managed period. This will be included in the totals.\n        },\n\n        \"totals\": {\n        //The cost of service totals.\n\n            \"total_pounds\":\t\"<number>\",\n            //The total cost of the service.\n\n            \"total_pounds_inc_epg\":\t\"<number>\",\n            //The total cost of the service.\n\n            \"total_pounds_ex_epg\": \"<number>\"\n            //The total cost of the service excluding the Energy Price Guarantee rates.\n        },\n\n        \"ebss\": {\n        //Energy Bill Support Scheme. This will be null if the service has never benefited.\n\n            \"start_date\": \"<string>\",\n            //The date the service started receiving Energy Bill Support Scheme.\n\n            \"end_date\":\t\"<string>\",\n            //The date the service stopped receiving Energy Bill Support Scheme.\n\n            \"total\": \"<number>\"\n            //The total Energy Bill Support Scheme. This is NOT included in the totals.\n        }\n    }\n]"},{"id":"0176a21b-5b53-49a0-bff5-9d1621fe9003","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"{{API_key}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2025-09-12\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{reference}/reconciliation"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 12 Aug 2025 15:34:23 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5af55d7f-d21b-443b-9dee-577dd0933662"},{"name":"Submit Meter Reading","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"5f051e4d-1f98-4a6a-8298-781bda613ec5"}},{"listen":"prerequest","script":{"exec":["// get secret","var secret = pm.environment.get(\"secret\");","// get request body","var req = request.data","var requestBody = pm.variables.replaceIn(pm.request.body.raw);","","// create HMAC SHA512 hash request body and secret","var hashHmacSHA512 = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestBody, secret));","// add headers to request","pm.environment.set(\"API-HASH\", hashHmacSHA512);"],"type":"text/javascript","packages":{},"id":"ffc25f89-82ab-46ea-899e-042c9faadcb2"}}],"id":"07f14ab1-687f-4e81-b349-e2603e18384a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"API-KEY","value":"{{API_key}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reading1\": \"integer\", //Reading 1 (day reading, or the only reading if there is no night reading).\n    \n    \"reading2\": \"integer\", //Reading 2 (night reading, if it exists).\n    \n    \"date\": \"string\", //Date the reading was taken in YYYY-MM-DD format.\n    \n    \"serial_number\": \"string\" //The meter serial number for extra validation. Required only when the service has more than one active meter.\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/{service}/readings","description":"<p>Use this endpoint to submit a meter reading for a particular contract and service.</p>\n<p><strong>Path Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Desc</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contract_reference</td>\n<td>string</td>\n<td>The customer reference number for the contract the readings relates to.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>service</td>\n<td>string</td>\n<td>The service the reading is for. E.g: gas or electricity.</td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p>The contract reference can be obtained via the 'Properties' tab location in your TSEG portal.</p>\n","urlObject":{"path":["contracts","{contract_reference}","{service}","readings"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"06e022db-73c7-457d-bffa-bec37db6cfa6","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reading1\": \"6360\",\n    \"reading2\": null,\n    \"date\": \"2025-08-13\",\n    \"serial_number\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/{service}/readings"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Aug 2025 15:20:23 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"298"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n    //Truthy boolean indicating successful operation.\n}"},{"id":"7ae4057e-e1eb-414c-a71e-bf628cffe757","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reading1\": \"16360\",\n    \"reading2\": null,\n    \"date\": \"2025-08-14\",\n    \"serial_number\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/{service}/readings"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Aug 2025 15:23:20 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"298"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n    //Simple error message.\n}"},{"id":"4ef0041d-08b9-4852-bfb8-869c2935e305","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"1234","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reading1\": \"6360\",\n    \"reading2\": null,\n    \"date\": \"2025-08-13\",\n    \"serial_number\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/{service}/readings"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 13 Aug 2025 15:21:48 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"}],"cookie":[],"responseTime":null,"body":""},{"id":"196e793b-78df-42be-9de6-d2a120e2a2d9","name":"406 Not Acceptable","originalRequest":{"method":"POST","header":[{"key":"API-KEY","value":"•••••••","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"API-HASH","value":"{API-HASH}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reading1\": \"16360\",\n    \"reading2\": null,\n    \"date\": \"2025-08-13\",\n    \"serial_number\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/contracts/{contract_reference}/{service}/readings"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Aug 2025 15:22:38 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n    //Simple error message.\n}"}],"_postman_id":"07f14ab1-687f-4e81-b349-e2603e18384a"}],"id":"5dc50de4-ef68-4f10-9666-55bdfd7833ea","description":"<p>Use these endpoints to fetch, created and update contracts on your B2B wholsale agreement.</p>\n<p><em>The POST, PUT and PATCH requests in this collection contain a Pre-req script to generate the API-HASH and add the value to the API-HASH header</em></p>\n","_postman_id":"5dc50de4-ef68-4f10-9666-55bdfd7833ea"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"044ab41e-d496-406c-865b-d0ac6b930390"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"ce88f782-91d5-4769-9bda-58db5ccce205"}}],"variable":[{"key":"address","value":"","type":"string"},{"key":"town","value":"","type":"string"},{"key":"postcode","value":"","type":"string"},{"key":"capacity","value":"","type":"string"},{"key":"start_date","value":"","type":"string"},{"key":"end_date","value":"","type":"string"},{"key":"udprn","value":"","type":"string"},{"key":"uprn","value":"","type":"string"},{"key":"electricity","value":"1","type":"string"},{"key":"gas","value":"1","type":"string"},{"key":"broadband","value":"1","type":"string"},{"key":"water","value":"1","type":"string"},{"key":"tvl","value":"0","type":"string"},{"key":"is_unlimited","value":"0","type":"string"},{"key":"API-HASH","value":"{API-HASH}","type":"string"},{"key":"contract_reference","value":"","type":"string"},{"key":"letting_agent_name","value":"Test Letting Agent","type":"string"},{"key":"letting_agent_email","value":"test_letting_agent@test.com","type":"string"},{"key":"letting_agent_telephone","value":"07777777777","type":"string"},{"key":"letting_agent_responsible_from","value":"2025-08-13","type":"string"},{"key":"service","value":"","type":"default"}]}