{"info":{"_postman_id":"fedf929e-38d9-42bb-91e2-0b9964f405e9","name":"HZ.WS","description":"<html><head></head><body><p>Use this web service at your own risk and if you decide to do so keep yourself informed by following our <a href=\"https://docs.google.com/document/d/1eoXTIbg4IF4H_2vSHkhBUwdzHEhOPXKELF4IKQNxqvg/edit?usp=sharing\">web service's changelog</a> for deprecations and changes that might impact your application if you decide to upgrade to a newer software version.</p>\n<p>This web service will be the successor of WebSuite.exe. It runs on port 2 (check the configuration guid <a href=\"http://heitzsystem.com/documentation/configuration/etablissement/serveur_websuite/#serveur-websuite\">here</a>).</p>\n<p>Check how to generate a <a href=\"http://heitzsystem.com/documentation/configuration/employe/employe/#cle-application\">API Key here</a><br><strong>!!!Remember to keep this keys safe!!!</strong></p>\n<p>Once you get your app id and key you must generate a <a href=\"https://docs.google.com/document/d/1iqyG0h6lI1Nn0RiaxntzYZ4XB3PF9cpx2hYL2ba4Xi0/edit?usp=sharing\">session</a>. The same is listed at @DEVELOPER section.</p>\n<p><strong>Important to know:</strong><br>Some API endpoints require special permissions/rights and/or specifics versions of our web service. Make sure to check the @requirements on each endpoint to know if you have access or not to this.</p>\n<p><strong>By using this API you engage yourself in taking the necessary actions to protect the server.</strong></p>\n<ul>\n<li>You won't expose your Heitz-WS server address in any way in your client app</li>\n<li>You won't expose your session token nor API key</li>\n<li>You will take the necessary measures to prevent attacks (Example: Protect your forms, validate your data, and use nonce tokens or captchas when possible)</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24519","collectionId":"fedf929e-38d9-42bb-91e2-0b9964f405e9","publishedId":"SVfMUAnB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-08-26T07:20:02.000Z"},"item":[{"name":"@AUTH","item":[{"name":"As Developer","item":[{"name":"/api/developer/getToken","event":[{"listen":"test","script":{"id":"3197cf6c-6ef9-41ed-9630-9d595cd7dddc","exec":["var jsonData = JSON.parse(responseBody);","if (jsonData.token)","postman.setEnvironmentVariable(\"token\", jsonData.token);","",""],"type":"text/javascript"}}],"id":"22a5443b-2e4c-43c4-a6a0-f9e2d554ce8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{dev_id}}\",\n    \"key\": \"{{dev_key}}\"\n}"},"url":"{{url}}/api/developer/getToken","description":"<p>API Keys can be generated for a particular developer.\nThis function will create a session token. You must obtain that token and provide it it future calls as a \"Authorization\" header. Example: \"Authorization\":\"YOUR_TOKEN\".</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Prop</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key</td>\n<td>The Application API key generated by an employee from Configuration.exe</td>\n</tr>\n<tr>\n<td>id</td>\n<td>The Application ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","developer","getToken"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22a5443b-2e4c-43c4-a6a0-f9e2d554ce8c"}],"id":"d73f4c64-63e5-4d41-afed-8066d77f8fb7","event":[{"listen":"prerequest","script":{"id":"0a4b09cc-54f0-4abf-8ede-aefd2ade1bd3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"edab3ce4-0bd3-42a1-b28a-932d3d5a992c","type":"text/javascript","exec":[""]}}],"_postman_id":"d73f4c64-63e5-4d41-afed-8066d77f8fb7","description":""},{"name":"As Client","item":[{"name":"/api/auth/signin (from client acc)","event":[{"listen":"prerequest","script":{"id":"6c2952a1-c8a7-4c0e-8a37-1faa453de695","exec":["","",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"52cc4473-0a72-4c04-9b7a-e7c752a1838b","exec":["var jsonData = JSON.parse(responseBody);","if (jsonData.token)","postman.setEnvironmentVariable(\"token\", jsonData.token);","","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"23794e35-b86f-4519-8a71-81a7d3eaeb7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"test1@heitzsystem.com\",\n  \"password\": \"123\"\n}"},"url":"{{url}}/api/auth/signin","description":"<p>Logs the user in using it's club email and password</p>\n","urlObject":{"path":["api","auth","signin"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"48e7b77d-eaea-46ee-ba34-96538b23636d","name":"status:200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"test1@heitzsystem.com\",\n  \"password\": \"1\"\n}"},"url":"{{url}}/api/auth/signin"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"access-control-allow-headers","description":""},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":""},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":""},{"key":"connection","value":"keep-alive","name":"connection","description":""},{"key":"content-length","value":"104","name":"content-length","description":""},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":""},{"key":"date","value":"Fri, 25 Aug 2017 21:15:03 GMT","name":"date","description":""},{"key":"etag","value":"W/\"68-g6P94nKVfardHy39WM/G2UbxJQo\"","name":"etag","description":""},{"key":"vary","value":"Accept-Encoding","name":"vary","description":""},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":""}],"cookie":[],"responseTime":null,"body":"{\"id\":300329535,\"lastName\":\"LAST_NAME\",\"firstName\":\"FIRST_NAME\",\"token\":\"75D37E40-89DA-11E7-A0FD-39F03AA4E450\"}"}],"_postman_id":"23794e35-b86f-4519-8a71-81a7d3eaeb7f"}],"id":"7f23df61-dc94-49f1-87ca-ef5c2192bd9f","_postman_id":"7f23df61-dc94-49f1-87ca-ef5c2192bd9f","description":""}],"id":"9fb2f1f5-f425-438c-8e02-aec6eab92421","_postman_id":"9fb2f1f5-f425-438c-8e02-aec6eab92421","description":""},{"name":"/center","item":[{"name":"/center/:id/info (adaptative/public)","id":"dfcd4492-f00c-40ee-b47e-bd8c66e050f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"{{url}}/api/center/:id/info?fields=name,id,siret,site,doublon,requiredFields,operatingHours,operatingHoursExceptions,ageMinimum","description":"<p>Obtain information related to the company.<br />Further parameters can be provided as argument.<br /><code>?fields={param1},{param2},{paramX}</code><br />Here's the list of options:</p>\n<ul>\n<li>id</li>\n<li>name</li>\n<li>address1</li>\n<li>address2</li>\n<li>cp</li>\n<li>city</li>\n<li>phone</li>\n<li>fax</li>\n<li>email</li>\n<li>owner</li>\n<li>generator</li>\n<li>siren</li>\n<li>siret</li>\n<li>ape</li>\n<li>rcs</li>\n<li>companyLegalForm</li>\n<li>taxNumber</li>\n<li>logo</li>\n<li>capacity</li>\n<li>site</li>\n<li>geoLatitude</li>\n<li>geoLongitude</li>\n<li>country</li>\n<li>capitalSocial</li>\n<li>doublon - Returns a list of fields that must be unique upon creation or insertion of client entries.</li>\n<li>requiredFields - Returns a list of fields that must be provided in order to be able to create / update a user</li>\n<li>operatingHours - The operating hours</li>\n<li>operatingHoursExceptions - The list of days and the period where the club will be exceptionally closed</li>\n<li>allTepProps - Returns all properties starting by \"tep\"</li>\n<li>allPlanningProps - Returns all properties starting by \"plg\"</li>\n<li>termsOfSale - Returns a link to access the terms of sales</li>\n</ul>\n<h2 id=\"-190-rc74\">&gt;= 1.9.0-rc.74</h2>\n<p>A new feature was introduced in <code>v1.9.0-rc.74</code> allowing the API to return different levels of information depending on requesters session (?fields=allProps).</p>\n<p>Public + Client + Employee - Basic/Public information</p>\n<p>Employee with <code>SYSTEM CONFIGURATION</code> privileges will granted with access to an extensive list of center meta information.</p>\n<p>Tip: To get the all the fields authorized to your session, you may use <code>?fields=allProps.</code></p>\n","urlObject":{"path":["api","center",":id","info"],"host":["{{url}}"],"query":[{"description":{"content":"<p>List of fields to fetch joined by , (a few sugar properties exists such as allTepProps, allPlanningProps)</p>\n","type":"text/plain"},"key":"fields","value":"name,id,siret,site,doublon,requiredFields,operatingHours,operatingHoursExceptions,ageMinimum"}],"variable":[{"id":"203894e5-42b6-4898-a82c-84a4709d0417","description":{"content":"<p>Use (-) or id to target the default club or a different club</p>\n","type":"text/plain"},"type":"string","value":"-","key":"id"}]}},"response":[{"id":"73016679-1a4b-4e19-bae2-ea8f79b298eb","name":"/center/:id/info (public)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/api/center/:id/info?fields=name,id,siret,site,doublon,requiredFields,operatingHours,operatingHoursExceptions,ageMinimum","host":["{{url}}"],"path":["api","center",":id","info"],"query":[{"key":"fields","value":"name,id,siret,site,doublon,requiredFields,operatingHours,operatingHoursExceptions,ageMinimum"}],"variable":[{"id":"203894e5-42b6-4898-a82c-84a4709d0417","key":"id","value":"-","type":"string","description":"Use (-) or id to target the default club or a different club"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"407-dSIJERcb2wS79tApYF2zOOQxcwM\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Mon, 10 Jan 2022 16:12:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1003,\n    \"name\": \"WOOD KING FIT CLUB\",\n    \"siret\": \"00000000000000\",\n    \"site\": null,\n    \"ageMinimum\": 0,\n    \"doublon\": {\n        \"lastName\": true,\n        \"firstName\": true,\n        \"secondName\": false,\n        \"birthday\": false,\n        \"identificationNumber\": false,\n        \"email\": false\n    },\n    \"requiredFields\": {\n        \"lastName\": true,\n        \"firstName\": true,\n        \"secondName\": false,\n        \"birthday\": false,\n        \"identificationNumber\": false,\n        \"civility\": false,\n        \"address\": false,\n        \"job\": false,\n        \"currentSituation\": false,\n        \"email\": false,\n        \"mobilePhone\": false,\n        \"phone\": false,\n        \"photo\": false\n    },\n    \"operatingHours\": [\n        {\n            \"id\": 1003000044674,\n            \"start\": \"08:00:00\",\n            \"end\": \"22:00:00\",\n            \"day\": 1,\n            \"type\": 1\n        },\n        {\n            \"id\": 1003000044675,\n            \"start\": \"08:00:00\",\n            \"end\": \"22:00:00\",\n            \"day\": 2,\n            \"type\": 1\n        },\n        {\n            \"id\": 1003000044676,\n            \"start\": \"08:00:00\",\n            \"end\": \"22:00:00\",\n            \"day\": 3,\n            \"type\": 1\n        },\n        {\n            \"id\": 1003000044677,\n            \"start\": \"08:00:00\",\n            \"end\": \"22:00:00\",\n            \"day\": 4,\n            \"type\": 1\n        },\n        {\n            \"id\": 1003000044678,\n            \"start\": \"08:00:00\",\n            \"end\": \"22:00:00\",\n            \"day\": 5,\n            \"type\": 1\n        },\n        {\n            \"id\": 1003000044679,\n            \"start\": \"08:00:00\",\n            \"end\": \"22:00:00\",\n            \"day\": 6,\n            \"type\": 1\n        },\n        {\n            \"id\": 1003000044680,\n            \"start\": \"08:00:00\",\n            \"end\": \"22:00:00\",\n            \"day\": 7,\n            \"type\": 1\n        }\n    ],\n    \"operatingHoursExceptions\": []\n}"}],"_postman_id":"dfcd4492-f00c-40ee-b47e-bd8c66e050f1"},{"name":"/center/:id/operatingHours (public)","id":"54b089da-f853-4dcb-9a3c-54a4dcc17307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{url}}/api/center/:id/schedule/operatingHours?viewMode=1","description":"<p><em>Day</em>: 1=Lundi, 2=Mardi ....</p>\n<p><em>Type (deprecated)</em>: 1-&gt;TOUS / 2-&gt;EMPLOYE / 3-&gt;CLIENTS / 4-&gt;CLIENTS EXTERIEUR</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n    {\n        \"id\": 301317034,\n        \"start\": \"07:00:00\",\n        \"end\": \"12:00:00\",\n        \"day\": 1,\n        \"type\": 1\n    },\n    {... }]\n\nor in compact mode (the key is the isoWeekday): \n\n{\n    \"1\": [\n        {\n            \"start\": \"07:00:00\",\n            \"end\": \"23:00:00\"\n        }\n    ],\n    \"2\": [\n        {\n            \"start\": \"07:30:00\",\n            \"end\": \"22:00:00\"\n        },\n        {\n            \"start\": \"22:01:00\",\n            \"end\": \"23:00:00\"\n        }\n    ],\n    ..]\n</code></pre>","urlObject":{"path":["api","center",":id","schedule","operatingHours"],"host":["{{url}}"],"query":[{"description":{"content":"<p>0=DEFAULT; 1=COMPACT (dates are combined in a common period) \n(Introduced in v1.9.0.-rc26)</p>\n","type":"text/plain"},"key":"viewMode","value":"1"}],"variable":[{"type":"string","value":"1000","key":"id"}]}},"response":[],"_postman_id":"54b089da-f853-4dcb-9a3c-54a4dcc17307"},{"name":"/center/:id/exceptionsForDates","id":"2407156b-b4c7-41fa-8889-fcaabd8e5c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{url}}/api/center/:id/schedule/exceptionsForDates?dates=2019-06-26,2019-06-27","description":"<p>Day: 1=Lundi, 2=Mardi ....\nType: 1-&gt;TOUS / 2-&gt;EMPLOYE / 3-&gt;CLIENTS / 4-&gt;CLIENTS EXTERIEUR</p>\n","urlObject":{"path":["api","center",":id","schedule","exceptionsForDates"],"host":["{{url}}"],"query":[{"key":"dates","value":"2019-06-26,2019-06-27"}],"variable":[{"id":"0fd8db61-8cc0-41e9-a5d2-a2828a73ed98","type":"string","value":"1000","key":"id"}]}},"response":[],"_postman_id":"2407156b-b4c7-41fa-8889-fcaabd8e5c58"},{"name":"/center/:id/schedule/operatingHoursForPeriod","id":"df54c6aa-ddcc-4cf1-90a7-275fb84d7d9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{url}}/api/center/:id/schedule/operatingHoursForPeriod?start=2020-12-18&end=2020-12-24","description":"<p>Returns the center's operating hours considering the provided interval and the center's operating hours exceptions.</p>\n<p>Day: 1=Lundi, 2=Mardi ....</p>\n<p>Type: 1-&gt;TOUS / 2-&gt;EMPLOYE / 3-&gt;CLIENTS / 4-&gt;CLIENTS EXTERIEUR</p>\n","urlObject":{"path":["api","center",":id","schedule","operatingHoursForPeriod"],"host":["{{url}}"],"query":[{"key":"start","value":"2020-12-18"},{"key":"end","value":"2020-12-24"}],"variable":[{"description":{"content":"<ul>\n<li>to use the sessions id center</li>\n</ul>\n","type":"text/plain"},"type":"string","value":"-","key":"id"}]}},"response":[],"_postman_id":"df54c6aa-ddcc-4cf1-90a7-275fb84d7d9f"},{"name":"/center/:id/operatingHoursExceptions (public)","id":"64402c75-8410-44a2-8fca-ed79bd99b2ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{url}}/api/center/:id/schedule/operatingHoursExceptions","description":"<p>An exception to the club default working hours.\nWhen a exception is created we are actually saying, that day, the club will be closed from <code>start</code> to <code>end</code></p>\n","urlObject":{"path":["api","center",":id","schedule","operatingHoursExceptions"],"host":["{{url}}"],"query":[],"variable":[{"id":"8791baeb-cf95-4e1e-8735-c3fbaee81772","type":"string","value":"1000","key":"id"}]}},"response":[],"_postman_id":"64402c75-8410-44a2-8fca-ed79bd99b2ee"}],"id":"bb7c6dd2-2b86-4fec-8a17-f2af9faa3bdf","description":"<p>Please note that you can ommit the id by providing -</p>\n","event":[{"listen":"prerequest","script":{"id":"84db2c92-8f11-4dce-9719-1de51237268f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"93111187-9587-4b7d-b3f0-236444b6e254","type":"text/javascript","exec":[""]}}],"_postman_id":"bb7c6dd2-2b86-4fec-8a17-f2af9faa3bdf"},{"name":"@PLANNING","item":[{"name":"/planning/browse (1) (public) + (private)","id":"5c840b08-1bd0-4867-8e5f-064d12edfca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/planning/browse?startDate=2019-02-02&endDate=2019-02-03&idGroups=&idCenter=&viewAs=EMPLOYEE","description":"<p>In this function you can discard the \"Authorization\" header if you pretend to obtain a \"inpersonal\" timetable.\nIf you provide the authorization header, the timetable returned by this function will consider the booking rules such as \"This user must have one of this accesses to book\". If he doesn't the entry will not be returned.</p>\n","urlObject":{"path":["api","planning","browse"],"host":["{{url}}"],"query":[{"description":{"content":"<p>End Date</p>\n","type":"text/plain"},"key":"startDate","value":"2019-02-02"},{"description":{"content":"<p>Start Date</p>\n","type":"text/plain"},"key":"endDate","value":"2019-02-03"},{"disabled":true,"description":{"content":"<p>String of dates in YYYY-MM-DD joined by ,</p>\n","type":"text/plain"},"key":"dates","value":"2018-08-28"},{"disabled":true,"description":{"content":"<p>String of activity/task ids joined by , </p>\n","type":"text/plain"},"key":"idActivities","value":"301302878"},{"disabled":true,"key":"numberOfDays","value":"2"},{"disabled":true,"description":{"content":"<p>Allows your to stack results in a way that makes it easier to access the planning: \nHere's a list of valid options: \"date\"|\"date-hour\"|\"date-period-hour\"</p>\n","type":"text/plain"},"key":"stackBy","value":"date-hour"},{"disabled":true,"key":"idEmployees","value":"300606668,300575493"},{"disabled":true,"description":{"content":"<p>If you type an integer hour will be converted to 10:59:59. If you type 10:59, time will be converted to 10:59:59. If you provide the full format, your time period will be used</p>\n","type":"text/plain"},"key":"hourStart","value":"10"},{"disabled":true,"description":{"content":"<p>If you type an integer hour will be converted to 10:59:59. If you type 10:59, time will be converted to 10:59:59. If you provide the full format, your time period will be used</p>\n","type":"text/plain"},"key":"hourEnd","value":"14"},{"disabled":true,"description":{"content":"<p>Min calories</p>\n","type":"text/plain"},"key":"caloriesMin","value":"50"},{"disabled":true,"description":{"content":"<p>Max calories</p>\n","type":"text/plain"},"key":"caloriesMax","value":"80"},{"description":{"content":"<p>The ids of activity groups concatenated by a , </p>\n","type":"text/plain"},"key":"idGroups","value":""},{"description":{"content":"<p>The centers' ids concatenated by a , </p>\n","type":"text/plain"},"key":"idCenter","value":""},{"key":"viewAs","value":"EMPLOYEE"}],"variable":[]}},"response":[],"_postman_id":"5c840b08-1bd0-4867-8e5f-064d12edfca9"},{"name":"/planning/browse (2)","id":"10fa177b-20c0-42f8-a496-64a36f9cca30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/planning/browse?dates=2020-04-30","description":"<p>In this function you can discard the \"Authorization\" header if you pretend to obtain a \"inpersonal\" timetable.\nIf you provide the authorization header, the timetable returned by this function will consider the booking rules such as \"This user must have one of this accesses to book\". If he doesn't the entry will not be returned.</p>\n","urlObject":{"path":["api","planning","browse"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>End Date</p>\n","type":"text/plain"},"key":"startDate","value":"2020-03-18"},{"disabled":true,"description":{"content":"<p>Start Date</p>\n","type":"text/plain"},"key":"endDate","value":"2021-07-18"},{"description":{"content":"<p>String of dates in YYYY-MM-DD joined by ,</p>\n","type":"text/plain"},"key":"dates","value":"2020-04-30"},{"disabled":true,"description":{"content":"<p>String of activity/task ids joined by , </p>\n","type":"text/plain"},"key":"idActivities","value":"301302878"},{"disabled":true,"key":"numberOfDays","value":"2"},{"disabled":true,"description":{"content":"<p>Allows your to stack results in a way that makes it easier to access the planning: \nHere's a list of valid options: \"date\"|\"date-hour\"|\"date-period-hour\"</p>\n","type":"text/plain"},"key":"stackBy","value":"date-hour"},{"disabled":true,"key":"idEmployees","value":"301320734"},{"disabled":true,"description":{"content":"<p>If you type an integer hour will be converted to 10:59:59. If you type 10:59, time will be converted to 10:59:59. If you provide the full format, your time period will be used</p>\n","type":"text/plain"},"key":"hourStart","value":"10"},{"disabled":true,"description":{"content":"<p>If you type an integer hour will be converted to 10:59:59. If you type 10:59, time will be converted to 10:59:59. If you provide the full format, your time period will be used</p>\n","type":"text/plain"},"key":"hourEnd","value":"14"},{"disabled":true,"description":{"content":"<p>Min calories</p>\n","type":"text/plain"},"key":"caloriesMin","value":"50"},{"disabled":true,"description":{"content":"<p>Max calories</p>\n","type":"text/plain"},"key":"caloriesMax","value":"80"},{"disabled":true,"description":{"content":"<p>The ids of activity groups concatenated by a , </p>\n","type":"text/plain"},"key":"idGroups","value":""},{"disabled":true,"description":{"content":"<p>The centers' ids concatenated by a , </p>\n","type":"text/plain"},"key":"idCenter","value":""},{"disabled":true,"description":{"content":"<p>viewAs=EMPLOYEE is the correct way to get the planning. This flag is ignored when the request is comming for a non employee account</p>\n","type":"text/plain"},"key":"viewAs","value":"EMPLOYEE"}],"variable":[]}},"response":[],"_postman_id":"10fa177b-20c0-42f8-a496-64a36f9cca30"},{"name":"/planning/tasks","id":"f627b012-58e3-429e-890b-7e42358ca935","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/planning/tasks?basic=true","description":"<p>Returns the list of planning tasks. \nTasks/Activities are entities that will be used to generate scheduledTasks (aka events).</p>\n<p>Deprecation notice: GET <code>/planning/activities</code> route is being by this route. If you are using the old route, make sure to upgrade since the old route might disappear in future versions.</p>\n","urlObject":{"path":["api","planning","tasks"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>When true all tasks are returned even if the user has not the right to book</p>\n","type":"text/plain"},"key":"allTasks","value":"true"},{"description":{"content":"<p>When true, only the list is returned</p>\n","type":"text/plain"},"key":"basic","value":"true"},{"disabled":true,"key":"idCenter","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"f627b012-58e3-429e-890b-7e42358ca935"},{"name":"/planning/tasks/:id","id":"e56f6ba5-81b4-40df-bcac-a9ab5f197e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/planning/tasks/:id?teamConfig=true&articles=true&articlesTariff=true","urlObject":{"path":["api","planning","tasks",":id"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>When true all tasks are returned even if the user has not the right to book</p>\n","type":"text/plain"},"key":"allTasks","value":"true"},{"disabled":true,"key":"idCenter","value":"1000"},{"key":"teamConfig","value":"true"},{"key":"articles","value":"true"},{"description":{"content":"<p>includes articles and respective tariffs</p>\n","type":"text/plain"},"key":"articlesTariff","value":"true"}],"variable":[{"id":"d1131c89-3cc3-48b9-8309-87cd78e41e97","type":"string","value":"301134478","key":"id"}]}},"response":[],"_postman_id":"e56f6ba5-81b4-40df-bcac-a9ab5f197e3b"},{"name":"/planning/tasks (public)","id":"8fa9951c-5a82-4e0d-8a36-282e6b9f3e71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/planning/tasks?basic=true","urlObject":{"path":["api","planning","tasks"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>When true all tasks are returned even if the user has not the right to book</p>\n","type":"text/plain"},"key":"allTasks","value":"true"},{"description":{"content":"<p>When true, only the list is returned</p>\n","type":"text/plain"},"key":"basic","value":"true"},{"disabled":true,"key":"idCenter","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"8fa9951c-5a82-4e0d-8a36-282e6b9f3e71"},{"name":"/planning/groups (public)","id":"e07ef022-f67b-4f52-b782-33c7bfdf7d29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token2}}"}],"url":"{{url}}/api/planning/groups?onlyActive=false&idCenter=0&onlyInternetActive=true","urlObject":{"path":["api","planning","groups"],"host":["{{url}}"],"query":[{"description":{"content":"<p>? (boolean) Default=false;  Returns all groups, containing tasks where \"Active\" is checked</p>\n","type":"text/plain"},"key":"onlyActive","value":"false"},{"description":{"content":"<p>? (number) Default=0 ; If you wish to restrict groups available to a given center (Note: This relies on Planning</p>\n","type":"text/plain"},"key":"idCenter","value":"0"},{"description":{"content":"<p>? (boolean) [v1.9.0 rc.55] Returns all groups containing tasks where INTERNET is checked (doesn't assume active to be true so you must provide active = true if you wish) </p>\n","type":"text/plain"},"key":"onlyInternetActive","value":"true"}],"variable":[]}},"response":[],"_postman_id":"e07ef022-f67b-4f52-b782-33c7bfdf7d29"},{"name":"/planning/rooms","id":"ecc2fadd-7b24-4cad-a912-e37a966ade07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/planning/rooms?task=301134478","description":"<p>Returns all rooms available for a given club</p>\n","urlObject":{"path":["api","planning","rooms"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(optional) If you provide this field, room list will returns rooms that are authorized for the given task.</p>\n","type":"text/plain"},"key":"task","value":"301134478"},{"disabled":true,"description":{"content":"<p>(optional) The id of the center that you want to request</p>\n","type":"text/plain"},"key":"idCenter","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"ecc2fadd-7b24-4cad-a912-e37a966ade07"},{"name":"/planning/coaches","id":"f7c12059-4a6b-4f46-b21b-70a42855b97d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/planning/coaches?purpose=TASK_SCHEDULING&task=301134478","description":"<p>Allowed query params:</p>\n<p>?<strong>pupose</strong>=TASK_SCHEDULING</p>\n<p>When purpose is set to task scheduling only employees affected to tasks will be returned and this will also have in consideration if the user has the right to schedule tasks for other coaches or just for himself</p>\n","urlObject":{"path":["api","planning","coaches"],"host":["{{url}}"],"query":[{"description":{"content":"<p>TASK_SCHEDULING =&gt; Returns only coaches that an employee can select based on his rights</p>\n","type":"text/plain"},"key":"purpose","value":"TASK_SCHEDULING"},{"key":"task","value":"301134478"}],"variable":[]}},"response":[],"_postman_id":"f7c12059-4a6b-4f46-b21b-70a42855b97d"},{"name":"/planning/book/:id/cancel","id":"aba6430d-f56f-46a5-9469-5d9adabf789e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/planning/book/:id/cancel","description":"<p>Cancels a reservation.</p>\n","urlObject":{"path":["api","planning","book",":id","cancel"],"host":["{{url}}"],"query":[],"variable":[{"type":"string","value":"1000301409149","key":"id"}]}},"response":[{"id":"9635629f-ac17-4fa9-a274-afcfd91e571a","name":"/planning/book/:id/cancel","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/planning/book/:id/cancel","host":["{{url}}"],"path":["api","planning","book",":id","cancel"],"variable":[{"key":"id","value":"1000301409149","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"ETag","value":"W/\"1f-zk2ETYQXGGLlRVuzDlgvD8vvRI0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Wed, 17 Mar 2021 15:34:19 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"deleted\": false\n}"}],"_postman_id":"aba6430d-f56f-46a5-9469-5d9adabf789e"},{"name":"/planning/book","id":"d10ad569-56e2-464f-a21b-6fef80dd70d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/planning/book?idClient=1000","urlObject":{"path":["api","planning","book"],"host":["{{url}}"],"query":[{"key":"idClient","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"d10ad569-56e2-464f-a21b-6fef80dd70d1"},{"name":"/planning/book","id":"18a6e97c-cc02-4a2b-a0f8-b1d9f40aab33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"id\": 1003000049840,\n\t\"places\":5\n}"},"url":"{{url}}/api/planning/book","description":"<p>Books an activity for a customer.<br />Requires a internal or external session (Planning App).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": number,\n    \"places\": number,\n    \"joinQueueList\": number (only considered if there are not enough places available),\n            idClient?: number; &lt;Optional&gt; Requires admin session in order to be considered. Otherwise defaults to session&amp;#x27;s idClient.\n}\n\n</code></pre><p>Since ⚠️ heitz-ws v1.9.0-rc.46 you can benefit from booking repetition.</p>\n<p>Let's say you want to book a similar event for 1 whole month up to 4 reservations.</p>\n<p>You could include a \"repeat\" property in your request payload with the following configuration.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"repeat\": {\n    \"intervalNum\": 1, \n    \"intervalUnit\": 5,\n    \"maxNum\": 4,\n    \"max\": \"2021-08-20 10:10:00\"\n}\n\n</code></pre><p>This repeat object can be read as follow:<br />Book up to 4 events (<code>maxNum</code>) every 1 (<code>intervalNum</code>) week (<code>intervalUnit</code>) and stop if we reach the timestamp of <code>2021-08-20 10:10:00</code>.</p>\n<p><code>intervalUnit</code> accepts the following values: <code>4 = DAY; 5 = WEEK; 6 = MONTH</code>.</p>\n<p>Once a repetition is processed by the server, server will include a <code>repetitionRes</code> in response payload.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": 1000301412857,\n    \"emailResult\": {\n        \"id\": 1000301412859,\n        \"attachmentIds\": [],\n        \"attachmentsFromDocuments\": []\n    },\n    \"smsResult\": {\n        \"id\": 1000301412860\n    },\n    \"repetitionResult\": [\n        {\n            \"err\": false,\n            \"res\": {\n                \"id\": 1000301412861,\n                \"emailResult\": {\n                    \"id\": 1000301412863,\n                    \"attachmentIds\": [],\n                    \"attachmentsFromDocuments\": []\n                },\n                \"smsResult\": {\n                    \"id\": 1000301412864\n                }\n            }\n        },\n        .... other repetitions\n   ]\n}\n\n</code></pre><h4 id=\"errors-that-may-be-returned-upon-booking-request\">Errors that may be returned upon booking request</h4>\n<ul>\n<li>ACTIVITY_FULL - L'activité n'a plus de places disponibles. (No places left in a given event.)</li>\n<li>ACTIVITY_LIMIT_REACHED - Le nombre maximum de réservations par personne pour cette activité est atteint. (Booking more places than authorized by the task.)</li>\n<li>PERIOD_NOT_STARTED - La période de réservation n'a pas démarré. (Reservation period has not started.)</li>\n<li>PERIOD_LIMIT_ACTIVE_BOOKINGS - La limite de réservations actives sur la période est atteinte. (X active bookings over X days.)</li>\n<li>PERIOD_EXCEEDED - La période de réservation est dépassée. (Reservation period exceeded.)</li>\n<li>MAX_DAILY_LIMIT - La limite de réservation journalière est atteinte. (Daily maximum bookings limit reached.)</li>\n<li>MAX_LIMIT - La limite de réservation est atteinte. (Maximum bookings (active or already past) over X weeks.)</li>\n<li>MAX_TIME_LIMIT - (No direct translation provided; related to time limit for reservations.)</li>\n<li>SPECIAL_ACCESS_REQUIRED - Vous ne possédez pas l'accès/abonnement nécessaire pour réserver cette activité. (Special access or subscription needed for booking.)</li>\n<li>BUSY_CLIENT - Une autre réservation sur la même période existe déjà. (Client has another booking for the same period.)</li>\n<li>NOT_ENOUGH_SLOTS - Pas assez de places disponibles. (Not enough slots available.)</li>\n<li>CLUB_MUST_BE_OPEN_TO_BOOK - Les réservations sont possibles que lorsque le centre est ouvert. (Club must be open to make a reservation.)</li>\n<li>ACTIVITY_OVERLAP - L'activité n'est plus disponible car le lieu a été pris par un autre activité. (Activity overlap due to the venue being taken by another activity.)</li>\n<li>NO_ACTIVE_ACCESS - (No description provided.)</li>\n<li>BOOK_SESSION_KO - More or not enough sessions available and the user may not have the necessary access or subscription to book the activity.</li>\n<li>INTERNET_BOOKING_BLOCK - User can't book before a specified time, with the time provided in the error detail.</li>\n<li>GROUP_LIMIT_REACHED - La limite de réservation pour ce groupe est atteinte. (Group limit for reservations reached.)</li>\n<li>CLIENT_TYPE - Your account type is not authorized to book this type of event.</li>\n</ul>\n","urlObject":{"path":["api","planning","book"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e7f7a2e2-1fe0-4b0a-a391-e302c5faa53d","name":"/planning/book (with repetition)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"id\": 1000301412022,\n\t\"places\":1,\n    \"idClient\":2910,\n    \"repeat\": {\n        \"intervalNum\": 1,\n        \"intervalUnit\": 4,\n        \"maxNum\": 4,\n        \"max\": \"2021-08-20 10:10:00\"\n    }\n}"},"url":"{{url}}/api/planning/book"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"790"},{"key":"ETag","value":"W/\"316-owckaIsVXrhSfq1CxYRc5ZOT9N8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Fri, 14 May 2021 07:47:40 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1000301412857,\n    \"emailResult\": {\n        \"id\": 1000301412859,\n        \"attachmentIds\": [],\n        \"attachmentsFromDocuments\": []\n    },\n    \"smsResult\": {\n        \"id\": 1000301412860\n    },\n    \"repetitionResult\": [\n        {\n            \"err\": false,\n            \"res\": {\n                \"id\": 1000301412861,\n                \"emailResult\": {\n                    \"id\": 1000301412863,\n                    \"attachmentIds\": [],\n                    \"attachmentsFromDocuments\": []\n                },\n                \"smsResult\": {\n                    \"id\": 1000301412864\n                }\n            }\n        },\n        {\n            \"err\": false,\n            \"res\": {\n                \"id\": 1000301412865,\n                \"emailResult\": {\n                    \"id\": 1000301412867,\n                    \"attachmentIds\": [],\n                    \"attachmentsFromDocuments\": []\n                },\n                \"smsResult\": {\n                    \"id\": 1000301412868\n                }\n            }\n        },\n        {\n            \"err\": false,\n            \"res\": {\n                \"id\": 1000301412869,\n                \"emailResult\": {\n                    \"id\": 1000301412871,\n                    \"attachmentIds\": [],\n                    \"attachmentsFromDocuments\": []\n                },\n                \"smsResult\": {\n                    \"id\": 1000301412872\n                }\n            }\n        },\n        {\n            \"err\": false,\n            \"res\": {\n                \"id\": 1000301412873,\n                \"emailResult\": {\n                    \"id\": 1000301412875,\n                    \"attachmentIds\": [],\n                    \"attachmentsFromDocuments\": []\n                },\n                \"smsResult\": {\n                    \"id\": 1000301412876\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"18a6e97c-cc02-4a2b-a0f8-b1d9f40aab33"},{"name":"/planning/book/:id/confirm","id":"3f3e9581-6ad3-47eb-af55-9a5345b5b365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/planning/book/:id/confirm","urlObject":{"path":["api","planning","book",":id","confirm"],"host":["{{url}}"],"query":[],"variable":[{"id":"46c7d91a-3280-46be-a84b-71114c65f09d","type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"3f3e9581-6ad3-47eb-af55-9a5345b5b365"},{"name":"/planning/store/tasksForArticle","id":"88625084-a9b2-4b28-bea2-d12df4b5eb7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/planning/store/tasksForArticle?id=1000301394301","description":"<p>For a target article (?id=) returns the list of planning tasks that accept credits/book sessions from this article.</p>\n<p>@queryParams: </p>\n<ul>\n<li><code>id</code> The target article. Multiple id's can be provided if joined by (,)</li>\n<li><code>rawMode</code> (default=false) . When true, all planning tasks will be returned even if the \"activity\" property is false.</li>\n</ul>\n<p>@Response: </p>\n<p>Array of array X.\nWhere X is composed by two indexes. \nThe first is the target id article. \nThe second are the planning tasks in which this article was assigned.</p>\n","urlObject":{"path":["api","planning","store","tasksForArticle"],"host":["{{url}}"],"query":[{"key":"id","value":"1000301394301"}],"variable":[]}},"response":[{"id":"3c5a9191-c40a-40b1-8147-2c53c09c41d1","name":"/planning/store/tasksForArticle","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/planning/store/tasksForArticle?id=1000301394301&rawMode=false","host":["{{url}}"],"path":["api","planning","store","tasksForArticle"],"query":[{"key":"id","value":"1000301394301"},{"key":"rawMode","value":"false","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"98"},{"key":"ETag","value":"W/\"62-cT1C64biqvgsdCtbtBJ2gXhDMlc\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 30 Mar 2021 18:10:27 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    [\n        1000301394301,\n        [\n            {\n                \"id\": 1000301406917,\n                \"label\": \"PARTENAIRE_TASK\",\n                \"internet\": true,\n                \"activity\": true\n            }\n        ]\n    ]\n]"}],"_postman_id":"88625084-a9b2-4b28-bea2-d12df4b5eb7c"},{"name":"/planning/store/articlesForEvent","id":"63c746dc-4792-4a25-9d4b-8559a6f18d8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/planning/store/articlesForEvent?id=1000301409541&articleSellState=2&targetMarketPlace=4&detail=1&rawMode=true","description":"<p>For the target event/scheduled task (?id=XX), returns the list of articles that generate credits/book sessions.</p>\n","urlObject":{"path":["api","planning","store","articlesForEvent"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(required) {number} At least 1 id is required. Multi value allowed joined by ,</p>\n","type":"text/plain"},"key":"id","value":"1000301409541"},{"description":{"content":"<p>(optional) {number} {default=2} 1=ALL; 2=SELLABLE; </p>\n","type":"text/plain"},"key":"articleSellState","value":"2"},{"description":{"content":"<p>(optional) {number} export enum ArticleTariffType {\n          CENTER_OPT_A = 1,\n          CENTER_OPT_B = 1,\n          BORNE_VENTE = 2,\n          INTERNET = 4,\n          CONTACT = 8,\n          RESTAURANT = 16\n     }\nMultiple values can be specified, joined by \",\" . Resultset will contain articles that are sellable at least in one of your target market places</p>\n","type":"text/plain"},"key":"targetMarketPlace","value":"4"},{"description":{"content":"<p>1 = Include tariff ids; 2= Include tariff details</p>\n","type":"text/plain"},"key":"detail","value":"1"},{"description":{"content":"<p>(optional) {boolean} Returns affected articles even if the task @default=false</p>\n","type":"text/plain"},"key":"rawMode","value":"true"}],"variable":[]}},"response":[{"id":"19c69c94-0baf-44b0-b5bf-a62a2fb88add","name":"/planning/store/articlesForEvent (rawMode=true)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/planning/store/articlesForEvent?id=1000301409541&articleSellState=2&targetMarketPlace=4&detail=1&rawMode=true","host":["{{url}}"],"path":["api","planning","store","articlesForEvent"],"query":[{"key":"id","value":"1000301409541","description":"(required) {number} At least 1 id is required. Multi value allowed joined by ,"},{"key":"articleSellState","value":"2","description":"(optional) {number} {default=2} 1=ALL; 2=SELLABLE; "},{"key":"targetMarketPlace","value":"4","description":"(optional) {number} export enum ArticleTariffType {\n          CENTER_OPT_A = 1,\n          CENTER_OPT_B = 1,\n          BORNE_VENTE = 2,\n          INTERNET = 4,\n          CONTACT = 8,\n          RESTAURANT = 16\n     }\nMultiple values can be specified, joined by \",\" . Resultset will contain articles that are sellable at least in one of your target market places"},{"key":"detail","value":"1","description":"1 = Include tariff ids; 2= Include tariff details"},{"key":"rawMode","value":"true","description":"(optional) {boolean} Returns affected articles even if the task @default=false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"572"},{"key":"ETag","value":"W/\"23c-TqfGCWWDKx9QY5Sc3H54OqfP9aU\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 30 Mar 2021 20:01:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    [\n        1000301409541,\n        [\n            {\n                \"id\": 1000301394031,\n                \"name\": \"GROUP BOOKING (A) 5 SEANCES SUR 1 AN\",\n                \"displayColumn\": 3,\n                \"displayLine\": 5,\n                \"displayPage\": 1,\n                \"category\": 2,\n                \"_task\": {\n                    \"activity\": false\n                },\n                \"_tariffIds\": [\n                    1000301394033\n                ]\n            },\n            {\n                \"id\": 1000301394028,\n                \"name\": \"GROUP BOOKING (A) 2X PAR MOIS SUR 12 MOIS\",\n                \"displayColumn\": 2,\n                \"displayLine\": 5,\n                \"displayPage\": 1,\n                \"category\": 2,\n                \"_task\": {\n                    \"activity\": false\n                },\n                \"_tariffIds\": [\n                    1000301394030\n                ]\n            },\n            {\n                \"id\": 1000301397507,\n                \"name\": \"GROUP BOOKING ART A SEANCE\",\n                \"displayColumn\": 1,\n                \"displayLine\": 5,\n                \"displayPage\": 1,\n                \"category\": 1,\n                \"_task\": {\n                    \"activity\": false\n                },\n                \"_tariffIds\": [\n                    1000301397508\n                ]\n            }\n        ]\n    ]\n]"}],"_postman_id":"63c746dc-4792-4a25-9d4b-8559a6f18d8a"},{"name":"/planning/store/articlesForTask","id":"89cf824a-e149-4c00-af5a-1203ba7c3568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/planning/store/articlesForTask?id=1000301406917&articleSellState=2&targetMarketPlace=4&detail=1&rawMode=false","description":"<p>Returns an array of arrays where the first index is the access and the second is the list of articles that are currently available.</p>\n","urlObject":{"path":["api","planning","store","articlesForTask"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(required) {number} The task id. (Multi value allowed if joined by a comma , ) </p>\n","type":"text/plain"},"key":"id","value":"1000301406917"},{"description":{"content":"<p>(optional) {number} {default=2} 1=ALL; 2=SELLABLE; </p>\n","type":"text/plain"},"key":"articleSellState","value":"2"},{"description":{"content":"<p>(optional) {number} export enum ArticleTariffType {\n          CENTER_OPT_A = 1,\n          CENTER_OPT_B = 1,\n          BORNE_VENTE = 2,\n          INTERNET = 4,\n          CONTACT = 8,\n          RESTAURANT = 16\n     }\nMultiple values can be specified, joined by \",\" . Resultset will contain articles that are sellable at least in one of your target market places</p>\n","type":"text/plain"},"key":"targetMarketPlace","value":"4"},{"description":{"content":"<p>1 = Include tariff ids; 2= Include tariff details</p>\n","type":"text/plain"},"key":"detail","value":"1"},{"description":{"content":"<p>(optional) {boolean} Returns affected articles even if _task.activity is false @default=false</p>\n","type":"text/plain"},"key":"rawMode","value":"false"}],"variable":[]}},"response":[{"id":"97a1be8b-657e-4f61-b3a5-e1816fc37eac","name":"/planning/store/articlesForTask","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/planning/store/articlesForTask?id=1000301406917&articleSellState=2&targetMarketPlace=4&detail=1&rawMode","host":["{{url}}"],"path":["api","planning","store","articlesForTask"],"query":[{"key":"id","value":"1000301406917","description":"(required) {number} The task id. (Multi value allowed if joined by a comma , ) "},{"key":"articleSellState","value":"2","description":"(optional) {number} {default=2} 1=ALL; 2=SELLABLE; "},{"key":"targetMarketPlace","value":"4","description":"(optional) {number} export enum ArticleTariffType {\n          CENTER_OPT_A = 1,\n          CENTER_OPT_B = 1,\n          BORNE_VENTE = 2,\n          INTERNET = 4,\n          CONTACT = 8,\n          RESTAURANT = 16\n     }\nMultiple values can be specified, joined by \",\" . Resultset will contain articles that are sellable at least in one of your target market places"},{"key":"detail","value":"1","description":"1 = Include tariff ids; 2= Include tariff details"},{"key":"rawMode","value":null,"description":"(optional) {boolean} Returns affected articles even if the task @default=false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"209"},{"key":"ETag","value":"W/\"d1-A8FmfLE46+eLBxmRV8CWDEfd7Hg\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 30 Mar 2021 20:02:35 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    [\n        1000301406917,\n        [\n            {\n                \"id\": 1000301408467,\n                \"name\": \"ANNUEL 3 (SEANCE ILIMITÉ JUSQU'A 2/JOUR)\",\n                \"displayColumn\": 5,\n                \"displayLine\": 6,\n                \"displayPage\": 1,\n                \"category\": 2,\n                \"_task\": {\n                    \"activity\": true\n                },\n                \"_tariffIds\": [\n                    1000301408468\n                ]\n            }\n        ]\n    ]\n]"}],"_postman_id":"89cf824a-e149-4c00-af5a-1203ba7c3568"},{"name":"/planning/bookSession/browse","id":"a439c182-00a8-4cba-8e67-821424f5a48b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/planning/bookSession/browse?idClient=2908&detail=1,2,3&states=1,2&idSubscription&idArt","description":"<p>Returns book sessions according to filtering criteria.</p>\n<p>Requires a session <code>admin</code> privileges.</p>\n<ul>\n<li>Starting on 1.9.0-rc.74 (2022-04-28) the API suffered a few changes:<ul>\n<li>The following query parameters are deprecated so please update your implementation as soon as possible to prevent app breaking:<ul>\n<li>includeNonActive, includeExpired, includeAvailable, includeUsed</li>\n<li>To accomplish a similar behaviour we introduced <code>states</code> query parameter<ul>\n<li>You can provide multiple states. <code>OR</code> operator will be used.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>     export enum BOOK_SESSION_STATE {\n          AVAILABLE = 1,\n          EXPIRED = 2,\n          SCHEDULED = 3,\n          /**\n           * Used but cancelled\n           */\n          CANCELED = 4,\n          USED = 5,\n     }\n\n</code></pre><ul>\n<li>Payload: <code>_task</code> and <code>_event</code> are now accessible in <code>_planning</code> property.<ul>\n<li>Example below:</li>\n</ul>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{   \n    \"id\": 1003000094058,\n    \"idCli\": 2908,\n    \"idTick\": 1000301396204,\n    \"idArt\": null,\n    \"idAct\": 1003000094043,\n    \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n    \"creationIdCtr\": 1003,\n    \"idPdec\": 1003000052358,\n    \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n    \"comment\": null,\n    \"_subscription\":\n    {\n        \"id\": 1003000094043,\n        \"idArticle\": 1003000058029,\n        \"start\": \"2022-04-24T22:00:00.000Z\",\n        \"end\": \"2023-04-23T22:00:00.000Z\",\n        \"_article\":\n        {\n            \"id\": 1003000058029,\n            \"name\": \"ACCESS TEST 3\"\n        }\n    },\n    \"_tasks\":\n    [],\n    \"_booking\":\n    {\n        \"id\": 1003000052358,\n        \"idPlanning\": 1003000090097,\n        \"....\":\"....\",\n        \"cancellationSMS\": false,\n        \"idPartnerDetail\": null,\n        \"idClient2\": null,\n        \"_event\":\n        {\n            \"id\": 1003000090097,\n            \"start\": \"2022-03-03T17:10:00.000Z\",\n            \"end\": \"2022-03-03T17:25:00.000Z\"\n        },\n        \"_task\":\n        {\n            \"id\": 1003000066461,\n            \"label\": \"TASK_1003\"\n        }\n    },\n\n    \"_event\": &lt;-- Deprecated\n    {\n        \"id\": 1003000090097,\n        \"start\": \"2022-03-03T17:10:00.000Z\",\n        \"end\": \"2022-03-03T17:25:00.000Z\"\n    },\n    \"_task\": &lt;-- Deprecated\n    {\n        \"id\": 1003000066461,\n        \"label\": \"TASK_1003\"\n    }\n}\n\n</code></pre>","urlObject":{"path":["api","planning","bookSession","browse"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"},{"disabled":true,"description":{"content":"<p>{number} When specified will return all book sessions that can be used to book a certain type of event (task/activity)</p>\n","type":"text/plain"},"key":"idTask","value":"200008881"},{"description":{"content":"<p>1=Include list of tasks assigned to the article</p>\n","type":"text/plain"},"key":"detail","value":"1,2,3"},{"disabled":true,"description":{"content":"<p>(optional) Returns a count instead of a list of book sessions</p>\n","type":"text/plain"},"key":"countOnly","value":"true"},{"description":{"content":"<p>(optional) multiple states can be supplied. An <code>OR</code> operator will be used when fetching the records. Example 1,2 will return AVAILABLE OR EXPIRED book sessions</p>\n","type":"text/plain"},"key":"states","value":"1,2"},{"key":"idSubscription","value":null},{"key":"idArt","value":null}],"variable":[]}},"response":[{"id":"536d9c5b-5fbe-4778-bb64-f94831b5706e","name":"/planning/bookSession/browse","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/planning/bookSession/browse?idClient=2908&detail=1,2,3&states=1,2&idSubscription&idArt","host":["{{url}}"],"path":["api","planning","bookSession","browse"],"query":[{"key":"idClient","value":"2908"},{"key":"idTask","value":"200008881","description":"{number} When specified will return all book sessions that can be used to book a certain type of event (task/activity)","disabled":true},{"key":"detail","value":"1,2,3","description":"1=Include list of tasks assigned to the article"},{"key":"countOnly","value":"true","description":"(optional) Returns a count instead of a list of book sessions","disabled":true},{"key":"states","value":"1,2","description":"(optional) multiple states can be supplied. An `OR` operator will be used when fetching the records. Example 1,2 will return AVAILABLE OR EXPIRED book sessions"},{"key":"idSubscription","value":null},{"key":"idArt","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"14d1-EZKCaJb5PGwffpSxAnX2D5D4NEw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Thu, 28 Apr 2022 12:25:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1003000094049,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094051,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094052,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094053,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094054,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094055,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094056,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094057,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094058,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094059,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094060,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    },\n    {\n        \"id\": 1003000094061,\n        \"idCli\": 2908,\n        \"idTick\": 1000301396204,\n        \"idArt\": null,\n        \"idAct\": 1003000094043,\n        \"dateExpiration\": \"2023-04-23T22:00:00.000Z\",\n        \"creationIdCtr\": 1003,\n        \"idPdec\": null,\n        \"dateActivation\": \"2022-04-24T22:00:00.000Z\",\n        \"comment\": null,\n        \"_subscription\": {\n            \"id\": 1003000094043,\n            \"idArticle\": 1003000058029,\n            \"start\": \"2022-04-24T22:00:00.000Z\",\n            \"end\": \"2023-04-23T22:00:00.000Z\",\n            \"_article\": {\n                \"id\": 1003000058029,\n                \"name\": \"ACCESS TEST 3\"\n            }\n        },\n        \"_tasks\": [],\n        \"_booking\": null\n    }\n]"}],"_postman_id":"a439c182-00a8-4cba-8e67-821424f5a48b"}],"id":"e93c50ae-b74b-4278-9950-4215c7f7e77e","description":"<p>12.8.0: </p>\n<ul>\n<li><code>queueList</code> property is now returned in the activities list</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"50fe99fd-aa29-4b60-973e-2c3ca06802b0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7a671a81-7840-4c8d-93c3-02eadc36c6d8","type":"text/javascript","exec":[""]}}],"_postman_id":"e93c50ae-b74b-4278-9950-4215c7f7e77e"},{"name":"@TEP/MEASURES & TESTS","item":[{"name":"/tepParams","item":[{"name":"/api/tepParams","id":"7fab46ae-aa34-47f4-8354-b9b8d5dff644","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/tepParams","urlObject":{"path":["api","tepParams"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fab46ae-aa34-47f4-8354-b9b8d5dff644"}],"id":"0b107006-de5e-4e9f-a6c6-d40b53079dd4","_postman_id":"0b107006-de5e-4e9f-a6c6-d40b53079dd4","description":""},{"name":"/userTepBilan","item":[{"name":"/api/userTepBilan/list","id":"0e0123fc-d6d7-4f58-b3a4-7a4b66c8d515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepBilan/list?idClient=300280359","urlObject":{"path":["api","userTepBilan","list"],"host":["{{url}}"],"query":[{"key":"idClient","value":"300280359"}],"variable":[]}},"response":[],"_postman_id":"0e0123fc-d6d7-4f58-b3a4-7a4b66c8d515"},{"name":"/api/userTepBilan/:id","id":"92e8e95c-231b-43d1-883a-e06f3d88022a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepBilan/:id?idClient=300280359","urlObject":{"path":["api","userTepBilan",":id"],"host":["{{url}}"],"query":[{"key":"idClient","value":"300280359"}],"variable":[{"id":"b3c0c60a-9631-4ae0-822e-24641301e8a8","type":"string","value":"300069091","key":"id"}]}},"response":[],"_postman_id":"92e8e95c-231b-43d1-883a-e06f3d88022a"},{"name":"/api/userTepBilan/:id","id":"524ea4ab-018f-4bcb-8b80-34beb57f5f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepBilan/:id?idClient=300280359","urlObject":{"path":["api","userTepBilan",":id"],"host":["{{url}}"],"query":[{"key":"idClient","value":"300280359"}],"variable":[{"id":"c7929184-4415-406c-a896-015a46f4543f","type":"string","value":"301130329","key":"id"}]}},"response":[],"_postman_id":"524ea4ab-018f-4bcb-8b80-34beb57f5f3e"},{"name":"/api/userTepBilan/:id","id":"373d4827-5884-44d6-b39f-62c804ca66c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"height\": 168\n}"},"url":"{{url}}/api/userTepBilan/:id?idClient=300280359","urlObject":{"path":["api","userTepBilan",":id"],"host":["{{url}}"],"query":[{"key":"idClient","value":"300280359"}],"variable":[{"id":"70b115ee-940d-4bf9-a6d3-d4ae04ebf73b","type":"string","value":"301130329","key":"id"}]}},"response":[],"_postman_id":"373d4827-5884-44d6-b39f-62c804ca66c6"},{"name":"/api/userTepBilan","id":"8ccbf91d-9663-465d-ac2c-b04e78838def","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"height\": 180,\n  \"expirationDate\": \"2017-12-24 23:00\"\n}"},"url":"{{url}}/api/userTepBilan?idClient=300280359","urlObject":{"path":["api","userTepBilan"],"host":["{{url}}"],"query":[{"key":"idClient","value":"300280359"}],"variable":[]}},"response":[],"_postman_id":"8ccbf91d-9663-465d-ac2c-b04e78838def"}],"id":"05d02089-ccf2-47fb-bed4-4e57a0748b21","_postman_id":"05d02089-ccf2-47fb-bed4-4e57a0748b21","description":""}],"id":"03eb335b-8117-4532-a43a-f6691eacc99e","event":[{"listen":"prerequest","script":{"id":"622c2787-c9b7-414e-adbe-026430ef3958","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3632491a-27e5-49c3-8121-5f7f996c49bf","type":"text/javascript","exec":[""]}}],"_postman_id":"03eb335b-8117-4532-a43a-f6691eacc99e","description":""},{"name":"@TEP/WORKOUT","item":[{"name":"/userTepMeasures","item":[{"name":"/userTepMeasures/stackByDate","id":"077e391b-8382-4d58-9350-2a6aee6fe3b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepMeasures/stackByDate?idClient=2908&start=&end=2020-09-05&measureType=0&testState=1","description":"<p>Returns a list of measures</p>\n","urlObject":{"path":["api","userTepMeasures","stackByDate"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(optional) The target client id (requires admin session)</p>\n","type":"text/plain"},"key":"idClient","value":"2908"},{"description":{"content":"<p>(optional) The date range interval start</p>\n","type":"text/plain"},"key":"start","value":""},{"description":{"content":"<p>(optional)  The date range interval end</p>\n","type":"text/plain"},"key":"end","value":"2020-09-05"},{"description":{"content":"<p>'ALL'= 0,'CERTIFIED'= 1 (DEFAULT),'NOT_CERTIFIED'= 2</p>\n","type":"text/plain"},"key":"measureType","value":"0"},{"description":{"content":"<p>0 = ALL (DEFAULT); 1 = TEST ONLY ; 2=ISOLATED;</p>\n","type":"text/plain"},"key":"testState","value":"1"}],"variable":[]}},"response":[],"_postman_id":"077e391b-8382-4d58-9350-2a6aee6fe3b7"},{"name":"/userTepMeasures/lastMeasures","id":"171115c7-f64c-433f-a894-b89c2a5b428e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepMeasures/lastMeasures?idClient={{targetClientId}}","description":"<p>Returns the last measure taken for each parameter</p>\n","urlObject":{"path":["api","userTepMeasures","lastMeasures"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional: The target client id (requires admin session)</p>\n","type":"text/plain"},"key":"idClient","value":"{{targetClientId}}"}],"variable":[]}},"response":[],"_postman_id":"171115c7-f64c-433f-a894-b89c2a5b428e"},{"name":"/userTepMeasures/compare","id":"3b5f0ed2-f850-4d2e-a485-50e98bae96cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepMeasures/compare?idClient=2908&date=2019-06-18&measureType=0&compareWith=2&compareWithDate=2018-02-22&testState=0&compareMode=0","description":"<p>Returns the list of measure taken by the client.</p>\n<ul>\n<li>Allows you to filter for certain parameters</li>\n<li>Allows you to compare with a specific test (by specificing it's date) </li>\n<li>Allows you to obtain certain measureTypes</li>\n</ul>\n<p>@Note:\nIf you pretend to have an accurate comparison between properties you must query this api endpoint for each \"params\" in separate.</p>\n","urlObject":{"path":["api","userTepMeasures","compare"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"},{"description":{"content":"<p>The reference date used as main reference (will be used for comparison)</p>\n","type":"text/plain"},"key":"date","value":"2019-06-18"},{"disabled":true,"description":{"content":"<p>List of \"TepParams\"  (see GET /tepParams)</p>\n","type":"text/plain"},"key":"params","value":"0"},{"description":{"content":"<p>'ALL'= 0,'CERTIFIED'= 1 (DEFAULT),'NOT_CERTIFIED'= 2</p>\n","type":"text/plain"},"key":"measureType","value":"0"},{"description":{"content":"<p>0 = NONE; 1 = PREVIOUS_MEASURE; 2 = SPECIFIC_MEASURE_DATE;</p>\n","type":"text/plain"},"key":"compareWith","value":"2"},{"description":{"content":"<p>(optional) Considered when 'compareWith' is SPECIFIC_MEASURE_DATE</p>\n","type":"text/plain"},"key":"compareWithDate","value":"2018-02-22"},{"description":{"content":"<p>0 = ALL ; 1= ON_TEST; 2 = ISOLATED</p>\n","type":"text/plain"},"key":"testState","value":"0"},{"description":{"content":"<p>0 = ALL  (DEFAULT) | 1 = INNER_JOIN | 2 = LEFT_JOIN | 3 = RIGHT_RIGHT</p>\n","type":"text/plain"},"key":"compareMode","value":"0"}],"variable":[]}},"response":[],"_postman_id":"3b5f0ed2-f850-4d2e-a485-50e98bae96cc"},{"name":"/userTepMeasures/browse","id":"c17ab7d6-27b7-4a53-9f6c-3aaa321f00d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepMeasures/browse?idClient=2908&startDate=2018-02-16&endDate=2020-02-16&mode=list&lastMeasureOnly=true&testState=0","description":"<p>Returns the list of measure taken by the client.</p>\n<ul>\n<li>Allows you to filter for certain tep parameters (Example: 0 = WEIGHT;... )</li>\n<li>Allows you to compare with a specific test (by specificing it's date) </li>\n<li>Allows you to filter results by <code>measureType</code> (Certificated or not)</li>\n</ul>\n","urlObject":{"path":["api","userTepMeasures","browse"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"},{"disabled":true,"description":{"content":"<p>List of tepParameters that you want to fetch. If not provided returns all available parameters</p>\n","type":"text/plain"},"key":"params","value":""},{"disabled":true,"description":{"content":"<p>(optional) ALL= 0, CERTIFIED= 1,  NOT_CERTIFIED= 2</p>\n","type":"text/plain"},"key":"measureType","value":"0"},{"disabled":true,"description":{"content":"<p>(optional) The target date</p>\n","type":"text/plain"},"key":"date","value":"2018-02-16"},{"description":{"content":"<p>(optional) The start of period</p>\n","type":"text/plain"},"key":"startDate","value":"2018-02-16"},{"description":{"content":"<p>(optional) The end of period</p>\n","type":"text/plain"},"key":"endDate","value":"2020-02-16"},{"description":{"content":"<p>'all' (default) | 'chart' | 'list'</p>\n","type":"text/plain"},"key":"mode","value":"list"},{"disabled":true,"description":{"content":"<p>(optional) If not provided no limit is applied</p>\n","type":"text/plain"},"key":"limit","value":"2"},{"disabled":true,"description":{"content":"<p>(optional) If not provided no offset is applied</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"key":"lastMeasureOnly","value":"true"},{"description":{"content":"<p>0 = ALL ; 1 = TEST; 2 = NO_TEST</p>\n","type":"text/plain"},"key":"testState","value":"0"}],"variable":[]}},"response":[{"id":"a8946b3d-a8f7-4500-9c2d-0232041fda21","name":"/userTepMeasures/browse","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/userTepMeasures/browse?idClient=2908&compareWith=1&params=0,2,4&measureType=0&start=2018-06-17&end=2017-01-03&mode=chart","host":["{{url}}"],"path":["api","userTepMeasures","browse"],"query":[{"key":"idClient","value":"2908"},{"key":"compareWith","value":"1","description":"0 NONE = 0,    PREVIOUS_MEASURE = 1,           SPECIFIC_MEASURE_DATE = 2"},{"key":"params","value":"0,2,4","description":"List of tepParameters that you want to fetch"},{"key":"measureType","value":"0","description":"(optional) 'ALL'= 0, 'CERTIFIED'= 1,  'NOT_CERTIFIED'= 2"},{"key":"start","value":"2018-06-17","description":"(optional)"},{"key":"end","value":"2017-01-03","description":"(optional)"},{"key":"mode","value":"chart","description":"'all' (default) | 'chart'"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"64bd-pNtRfUmK/tXJel4msiYSNb9mCe8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Mon, 19 Aug 2019 14:50:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"0\": {\n        \"data\": [\n            93,\n            110,\n            99.2,\n            50,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            92.7,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            92.7,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            92.7,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            92.7,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            92.7,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            92.7,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            92.7,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            99.2,\n            110.1,\n            100\n        ],\n        \"rows\": [\n            {\n                \"id\": 301277418,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-09-21T12:17:21.934Z\",\n                \"value\": 93,\n                \"certified\": true,\n                \"idCliTest\": null,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301321777,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2019-08-19T14:34:05.403Z\",\n                \"value\": 110,\n                \"certified\": false,\n                \"idCliTest\": null,\n                \"min\": 60,\n                \"max\": 80,\n                \"idCenter\": 0\n            },\n            {\n                \"id\": 301299418,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-03T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299417,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301321775,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2019-08-19T08:36:28.341Z\",\n                \"value\": 50,\n                \"certified\": false,\n                \"idCliTest\": null,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 0\n            },\n            {\n                \"id\": 301299480,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-29T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299479,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299510,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-30T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299509,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299541,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-04T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299540,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299571,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-22T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299570,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299602,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-24T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299601,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299632,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-04-13T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299631,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299664,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-11T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299663,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299694,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-04-18T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299693,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299725,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-04-09T22:00:00.000Z\",\n                \"value\": 92.7,\n                \"certified\": true,\n                \"idCliTest\": 301299724,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299748,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-13T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299747,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299778,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-24T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299777,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299809,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-09-09T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299808,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299839,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-09T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299838,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299870,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-21T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299869,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299900,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-14T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299899,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299931,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-07T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301299930,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299961,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-04-17T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301299960,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299994,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-06-16T22:00:00.000Z\",\n                \"value\": 92.7,\n                \"certified\": true,\n                \"idCliTest\": 301299993,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300017,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-29T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300016,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300047,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-20T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300046,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300078,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-09-25T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300077,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300108,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-02-05T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300107,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300139,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-08T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300138,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300169,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-14T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300168,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300200,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-06T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300199,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300230,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-04-15T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300229,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300261,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-02-21T23:00:00.000Z\",\n                \"value\": 92.7,\n                \"certified\": true,\n                \"idCliTest\": 301300260,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300284,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-19T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300283,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300314,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-03T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300313,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300345,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-06-21T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300344,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300375,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-05T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300374,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300406,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-08-03T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300405,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300436,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-26T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300435,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300467,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-24T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300466,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300497,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-08T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300496,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300528,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-05-25T22:00:00.000Z\",\n                \"value\": 92.7,\n                \"certified\": true,\n                \"idCliTest\": 301300527,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300551,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-20T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300550,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300581,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-28T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300580,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300612,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-04T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300611,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300642,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-02-02T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300641,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300673,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-08T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300672,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300703,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-02-25T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300702,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300734,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-23T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300733,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300764,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-04T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300763,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300795,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-01-02T23:00:00.000Z\",\n                \"value\": 92.7,\n                \"certified\": true,\n                \"idCliTest\": 301300794,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300818,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-09-10T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300817,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300848,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-06T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300847,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300879,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-08-18T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300878,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300909,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-06T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300908,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300940,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-09-04T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301300939,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300970,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-17T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301300969,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301001,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-09-29T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301000,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301031,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-03-02T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301030,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301062,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-03-30T22:00:00.000Z\",\n                \"value\": 92.7,\n                \"certified\": true,\n                \"idCliTest\": 301301061,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301085,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-07T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301084,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301115,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-27T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301114,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301146,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-07-09T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301145,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301176,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-02T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301175,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301207,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-25T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301206,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301237,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-09T22:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301236,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301268,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-01T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301267,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301298,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-19T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301297,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301329,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2018-02-15T23:00:00.000Z\",\n                \"value\": 92.7,\n                \"certified\": true,\n                \"idCliTest\": 301301328,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301352,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-10-13T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301351,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301382,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-18T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301381,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301413,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-05-06T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301412,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301443,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2017-01-13T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301442,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301474,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-06-27T22:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301473,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301504,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-23T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301503,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301535,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-11-05T23:00:00.000Z\",\n                \"value\": 99.2,\n                \"certified\": true,\n                \"idCliTest\": 301301534,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301565,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2016-12-21T23:00:00.000Z\",\n                \"value\": 110.1,\n                \"certified\": true,\n                \"idCliTest\": 301301564,\n                \"min\": 54.7,\n                \"max\": 73.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301316922,\n                \"idClient\": 2908,\n                \"idParam\": 0,\n                \"date\": \"2019-06-17T22:00:00.000Z\",\n                \"value\": 100,\n                \"certified\": true,\n                \"idCliTest\": 301299417,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            }\n        ]\n    },\n    \"2\": {\n        \"data\": [\n            20.2,\n            20.2,\n            20.2,\n            20.2,\n            20.2,\n            20.2,\n            20.2\n        ],\n        \"rows\": [\n            {\n                \"id\": 301299731,\n                \"idClient\": 2908,\n                \"idParam\": 2,\n                \"date\": \"2018-04-09T22:00:00.000Z\",\n                \"value\": 20.2,\n                \"certified\": true,\n                \"idCliTest\": 301299724,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300000,\n                \"idClient\": 2908,\n                \"idParam\": 2,\n                \"date\": \"2018-06-16T22:00:00.000Z\",\n                \"value\": 20.2,\n                \"certified\": true,\n                \"idCliTest\": 301299993,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300267,\n                \"idClient\": 2908,\n                \"idParam\": 2,\n                \"date\": \"2018-02-21T23:00:00.000Z\",\n                \"value\": 20.2,\n                \"certified\": true,\n                \"idCliTest\": 301300260,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300534,\n                \"idClient\": 2908,\n                \"idParam\": 2,\n                \"date\": \"2018-05-25T22:00:00.000Z\",\n                \"value\": 20.2,\n                \"certified\": true,\n                \"idCliTest\": 301300527,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300801,\n                \"idClient\": 2908,\n                \"idParam\": 2,\n                \"date\": \"2018-01-02T23:00:00.000Z\",\n                \"value\": 20.2,\n                \"certified\": true,\n                \"idCliTest\": 301300794,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301068,\n                \"idClient\": 2908,\n                \"idParam\": 2,\n                \"date\": \"2018-03-30T22:00:00.000Z\",\n                \"value\": 20.2,\n                \"certified\": true,\n                \"idCliTest\": 301301061,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301335,\n                \"idClient\": 2908,\n                \"idParam\": 2,\n                \"date\": \"2018-02-15T23:00:00.000Z\",\n                \"value\": 20.2,\n                \"certified\": true,\n                \"idCliTest\": 301301328,\n                \"min\": null,\n                \"max\": null,\n                \"idCenter\": 1000\n            }\n        ]\n    },\n    \"4\": {\n        \"data\": [\n            13.4,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6,\n            13.4,\n            12.6\n        ],\n        \"rows\": [\n            {\n                \"id\": 301299420,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-03T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299417,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299482,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-29T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299479,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299512,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-30T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299509,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299543,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-04T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299540,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299573,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-22T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299570,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299604,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-24T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299601,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299634,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-04-13T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299631,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299666,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-11T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299663,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299696,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-04-18T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299693,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299750,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-13T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299747,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299780,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-24T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299777,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299811,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-09-09T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299808,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299841,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-09T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299838,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299872,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-21T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299869,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299902,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-14T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299899,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299933,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-07T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301299930,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301299963,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-04-17T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301299960,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300019,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-29T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300016,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300049,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-20T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300046,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300080,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-09-25T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300077,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300110,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-02-05T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300107,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300141,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-08T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300138,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300171,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-14T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300168,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300202,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-06T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300199,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300232,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-04-15T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300229,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300286,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-19T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300283,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300316,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-03T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300313,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300347,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-06-21T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300344,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300377,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-05T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300374,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300408,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-08-03T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300405,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300438,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-26T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300435,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300469,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-24T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300466,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300499,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-08T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300496,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300553,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-20T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300550,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300583,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-28T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300580,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300614,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-04T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300611,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300644,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-02-02T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300641,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300675,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-08T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300672,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300705,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-02-25T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300702,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300736,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-23T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300733,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300766,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-04T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300763,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300820,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-09-10T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300817,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300850,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-06T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300847,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300881,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-08-18T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300878,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300911,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-06T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300908,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300942,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-09-04T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301300939,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301300972,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-17T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301300969,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301003,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-09-29T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301000,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301033,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-03-02T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301030,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301087,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-07T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301084,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301117,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-27T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301114,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301148,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-07-09T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301145,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301178,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-02T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301175,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301209,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-25T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301206,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301239,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-09T22:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301236,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301270,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-01T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301267,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301300,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-19T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301297,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301354,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-10-13T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301351,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301384,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-18T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301381,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301415,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-05-06T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301412,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301445,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2017-01-13T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301442,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301476,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-06-27T22:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301473,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301506,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-23T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301503,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301537,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-11-05T23:00:00.000Z\",\n                \"value\": 13.4,\n                \"certified\": true,\n                \"idCliTest\": 301301534,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            },\n            {\n                \"id\": 301301567,\n                \"idClient\": 2908,\n                \"idParam\": 4,\n                \"date\": \"2016-12-21T23:00:00.000Z\",\n                \"value\": 12.6,\n                \"certified\": true,\n                \"idCliTest\": 301301564,\n                \"min\": 9.7,\n                \"max\": 11.9,\n                \"idCenter\": 1000\n            }\n        ]\n    }\n}"}],"_postman_id":"c17ab7d6-27b7-4a53-9f6c-3aaa321f00d5"},{"name":"/userTepMeasures @deprecated","id":"54512981-c8da-443d-8a74-966cf9a627c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"idParam\": 0,\n\t\"value\": 110\n}"},"url":"{{url}}/api/userTepMeasures","description":"<p>Allows to insert a new measure</p>\n","urlObject":{"path":["api","userTepMeasures"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"54512981-c8da-443d-8a74-966cf9a627c2"},{"name":"/userTepMeasures/measure","id":"073b90f0-24ee-4aa3-9031-2cd7efe8d483","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"idClient\": 2908,\n    \"idParam\": 0,\n    \"date\": \"2019-08-19\",\n    \"value\": 88,\n    \"certified\": true,\n    \"idCliTest\": null,\n    \"min\": 60,\n    \"max\": 80,\n    \"idCenter\": 1000\n}"},"url":"{{url}}/api/userTepMeasures/measure","description":"<p>Allows to insert a new measure</p>\n","urlObject":{"path":["api","userTepMeasures","measure"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"073b90f0-24ee-4aa3-9031-2cd7efe8d483"},{"name":"/userTepMeasures/measure/:id","id":"da81f751-d8fa-455a-9e43-ca73566b9af2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userTepMeasures/measure/:id?idClient=2908","description":"<p>Allows to remote an existing measure</p>\n","urlObject":{"path":["api","userTepMeasures","measure",":id"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"}],"variable":[{"id":"c9112a21-bb90-49b0-be6a-8c3449774061","type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"da81f751-d8fa-455a-9e43-ca73566b9af2"},{"name":"/userTepMeasures/measure/:id","id":"e7c98f12-555a-4131-b66d-2320cde01628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"idClient\": 2908,\n    \"idParam\": 0,\n    \"date\": \"2019-08-19\",\n    \"value\": 77,\n    \"certified\": true,\n    \"idCliTest\": null,\n    \"min\": 60,\n    \"max\": 80\n}"},"url":"{{url}}/api/userTepMeasures/measure/:id?idClient=2908","description":"<p>Allows to remote an existing measure</p>\n","urlObject":{"path":["api","userTepMeasures","measure",":id"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"}],"variable":[{"id":"a1020fa3-0514-4862-bfe7-5bbfc22483e6","type":"string","value":"301321809","key":"id"}]}},"response":[],"_postman_id":"e7c98f12-555a-4131-b66d-2320cde01628"},{"name":"/userTepMeasures/measure/:id","id":"b2407f5a-566a-4194-aefb-50aff0d46e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userTepMeasures/measure/:id","description":"<p>Allows to remote an existing measure</p>\n","urlObject":{"path":["api","userTepMeasures","measure",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"bf7474a5-0cd0-4cd1-88f7-fcb569d396a9","type":"string","value":"301321809","key":"id"}]}},"response":[],"_postman_id":"b2407f5a-566a-4194-aefb-50aff0d46e35"}],"id":"61797ce1-567f-484b-9242-050984f21a4d","_postman_id":"61797ce1-567f-484b-9242-050984f21a4d","description":""},{"name":"/userTepMotivation","item":[{"name":"/api/userTepMotivation/list","id":"7ff67a06-a122-4947-a1fb-54cc52aca578","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepProfil/list?limit=10&offset=0","urlObject":{"path":["api","userTepProfil","list"],"host":["{{url}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"}],"variable":[]}},"response":[],"_postman_id":"7ff67a06-a122-4947-a1fb-54cc52aca578"},{"name":"/api/userTepMotivation/:id","id":"d4c50057-67ee-4289-9367-5bd2e489fd09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepProfil/:id","urlObject":{"path":["api","userTepProfil",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"0ce06694-cc0f-4f73-95a2-9088ab8a946a","type":"string","value":"301128784","key":"id"}]}},"response":[],"_postman_id":"d4c50057-67ee-4289-9367-5bd2e489fd09"},{"name":"/api/userTepMotivation","id":"3521a380-8214-46e1-b789-ae76ace59ce6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"sedentary\": true,\n    \"leisure1A\": true,\n    \"leisure1B\": \"loisib\",\n    \"leisure2A\": true,\n    \"leisure2B\": \"los2b\",\n    \"competionA\": true,\n    \"competionB\": \"comptb\",\n    \"attendance\": \"3\",\n    \"expectedTime\": \"2\",\n    \"obj1\": true,\n    \"obj2\": true,\n    \"obj3A\": true,\n    \"obj3B\": \"5\",\n    \"obj4\": true,\n    \"obj5\": true,\n    \"obj6\": true,\n    \"obj7A\": true,\n    \"obj7B\": \"asdasdasdasdasddddddd7b\",\n    \"objNotes\": \"dasdasdasdasd\",\n    \"quest1\": false,\n    \"duration\": \"2\",\n    \"quest2A\": true,\n    \"quest2B\": \"asdasdasdasdasdasdasdas\",\n    \"lastMedicalVisit\": \"2017-11-22T23:00:00.000Z\",\n    \"disease1\": true,\n    \"disease2\": true,\n    \"disease3\": true,\n    \"disease4\": true,\n    \"disease5\": true,\n    \"disease6\": true,\n    \"disease7\": true,\n    \"disease8\": true,\n    \"disease9\": \"dasdas\",\n    \"disease10\": \"asdas\",\n    \"disease11\": \"asdassss\",\n    \"disease12\": \"dasdasd\",\n    \"disease13\": \"sd\",\n    \"disease14\": \"sddsdas\",\n    \"disease15\": \"dasd\",\n    \"disease16\": \"aasdasda\",\n    \"hospitalizedA\": true,\n    \"hospitalizedB\": \"asdadsasd\",\n    \"treatmentA\": true,\n    \"treatmentB\": \"ccccc\",\n    \"pillsA\": true,\n    \"pillsB\": \"medasdkajsl\",\n    \"issuesA\": true,\n    \"issuesB\": \"dasda\",\n    \"mobilityIssueA\": true,\n    \"mobilityIssueB\": \"marche ne fonctione pas\",\n    \"handicapA\": true,\n    \"handicapB\": \"dkajskdjaskldjas\",\n    \"numChildren\": 2,\n    \"pregnancyIssuesA\": true,\n    \"pregnancyIssuesB\": \"adasdas\",\n    \"childbirthIssuesA\": true,\n    \"childbirthB\": \"dasdasdas\",\n    \"questNotes\": \"djalksjdklasjdklasjdals\",\n    \"childNote\": \"dsadasdasldkasldkalç\",\n    \"idEmp\": 0,\n    \"expectedVisits1\": 12,\n    \"expectedVisits1Units\": 1,\n    \"expectedVisits2\": 0,\n    \"expectedVisits2Units\": 0,\n    \"expectedVisits3\": 0,\n    \"expectedVisitUnit3\": 0,\n    \"pregnant\": 0\n  }"},"url":"{{url}}/api/userTepProfil","urlObject":{"path":["api","userTepProfil"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3521a380-8214-46e1-b789-ae76ace59ce6"},{"name":"/api/userTepMotivation/:id/sendByEmail","id":"5cb8eec2-5195-4aff-b3cf-66600a6e5668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \n}"},"url":"{{url}}/api/userTepProfil","urlObject":{"path":["api","userTepProfil"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cb8eec2-5195-4aff-b3cf-66600a6e5668"},{"name":"/api/userTepMotivation/:id/ownersEmail","id":"9592b2a8-2b5e-4af5-9733-2272a906e6e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepProfil/:id/ownersEmail","urlObject":{"path":["api","userTepProfil",":id","ownersEmail"],"host":["{{url}}"],"query":[],"variable":[{"id":"d5519a79-da06-4d2d-8203-928d43a70fcc","type":"string","value":"301128784","key":"id"}]}},"response":[],"_postman_id":"9592b2a8-2b5e-4af5-9733-2272a906e6e4"},{"name":"/api/userTepMotivation/:id","id":"3edbb37e-8004-4cc4-9d69-89750b971818","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"sedentary\": true,\n    \"leisure1A\": true,\n    \"leisure1B\": \"ldkalçskdl çaksdlkaslçdk laskldçlka slçldka çlska\",\n    \"leisure2A\": true,\n    \"leisure2B\": \"los2b\",\n    \"competionA\": true,\n    \"competionB\": \"comptb\",\n    \"attendance\": \"3\",\n    \"expectedTime\": \"2\",\n    \"obj1\": true,\n    \"obj2\": true,\n    \"obj3A\": true,\n    \"obj3B\": \"2\",\n    \"obj4\": true,\n    \"obj5\": true,\n    \"obj6\": true,\n    \"obj7A\": true,\n    \"obj7B\": \"asdasdasdasdasddddddd7b\",\n    \"objNotes\": \"dasdasdasdasd\",\n    \"quest1\": false,\n    \"duration\": \"2\",\n    \"quest2A\": true,\n    \"quest2B\": \"asdasdasdasdasdasdasdas\",\n    \"lastMedicalVisit\": \"2017-11-22T23:00:00.000Z\",\n    \"disease1\": true,\n    \"disease2\": true,\n    \"disease3\": true,\n    \"disease4\": true,\n    \"disease5\": true,\n    \"disease6\": true,\n    \"disease7\": true,\n    \"disease8\": true,\n    \"disease9\": \"dasdas\",\n    \"disease10\": \"asdas\",\n    \"disease11\": \"asdassss\",\n    \"disease12\": \"dasdasd\",\n    \"disease13\": \"sd\",\n    \"disease14\": \"sddsdas\",\n    \"disease15\": \"dasd\",\n    \"disease16\": \"aasdasda\",\n    \"hospitalizedA\": true,\n    \"hospitalizedB\": \"asdadsasd\",\n    \"treatmentA\": true,\n    \"treatmentB\": \"ccccc\",\n    \"pillsA\": true,\n    \"pillsB\": \"medasdkajsl\",\n    \"issuesA\": true,\n    \"issuesB\": \"dasda\",\n    \"mobilityIssueA\": true,\n    \"mobilityIssueB\": \"marche ne fonctione pas\",\n    \"handicapA\": true,\n    \"handicapB\": \"dkajskdjaskldjas\",\n    \"numChildren\": 2,\n    \"pregnancyIssuesA\": true,\n    \"pregnancyIssuesB\": \"adasdas\",\n    \"childbirthIssuesA\": true,\n    \"childbirthB\": \"dasdasdas\",\n    \"questNotes\": \"djalksjdklasjdklasjdals\",\n    \"childNote\": \"dsadasdasldkasldkalç\",\n    \"expectedVisits1\": 12,\n    \"expectedVisits1Units\": 1,\n    \"expectedVisits2\": 0,\n    \"expectedVisits2Units\": 0,\n    \"expectedVisits3\": 0,\n    \"expectedVisitUnit3\": 0,\n    \"pregnant\": 0\n  }"},"url":"{{url}}/api/userTepProfil/:id","urlObject":{"path":["api","userTepProfil",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"c2fbf84f-4836-4087-a783-a7f09ba38129","type":"string","value":"301128784","key":"id"}]}},"response":[],"_postman_id":"3edbb37e-8004-4cc4-9d69-89750b971818"},{"name":"/api/userTepMotivation/:id","id":"d5622b6f-2776-4b5b-8b84-ca4f585361ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userTepProfil/:id","urlObject":{"path":["api","userTepProfil",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"4e2540d5-a79a-42be-b728-3e705d13195d","type":"string","value":"300902084","key":"id"}]}},"response":[],"_postman_id":"d5622b6f-2776-4b5b-8b84-ca4f585361ba"}],"id":"01acd30b-fa3d-4129-a628-309ae8f3ea15","_postman_id":"01acd30b-fa3d-4129-a628-309ae8f3ea15","description":""},{"name":"/userTepProfil","item":[{"name":"/api/userTepProfil/list","id":"cfd1bed4-c326-488d-a3fa-0866100d5230","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepProfil/list?limit=10&offset=0","urlObject":{"path":["api","userTepProfil","list"],"host":["{{url}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"}],"variable":[]}},"response":[],"_postman_id":"cfd1bed4-c326-488d-a3fa-0866100d5230"},{"name":"/api/userTepProfil/:id","id":"09a1ac89-2b3d-4e92-8c25-b4121732ca9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepProfil/:id","urlObject":{"path":["api","userTepProfil",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"7f75fafa-edfc-47ce-8825-3217ebe9e589","type":"string","value":"301128784","key":"id"}]}},"response":[],"_postman_id":"09a1ac89-2b3d-4e92-8c25-b4121732ca9f"},{"name":"/api/userTepProfil","id":"e4d14e2c-1304-4402-93c2-eac9b09581eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"sedentary\": true,\n    \"leisure1A\": true,\n    \"leisure1B\": \"loisib\",\n    \"leisure2A\": true,\n    \"leisure2B\": \"los2b\",\n    \"competionA\": true,\n    \"competionB\": \"comptb\",\n    \"attendance\": \"3\",\n    \"expectedTime\": \"2\",\n    \"obj1\": true,\n    \"obj2\": true,\n    \"obj3A\": true,\n    \"obj3B\": \"5\",\n    \"obj4\": true,\n    \"obj5\": true,\n    \"obj6\": true,\n    \"obj7A\": true,\n    \"obj7B\": \"asdasdasdasdasddddddd7b\",\n    \"objNotes\": \"dasdasdasdasd\",\n    \"quest1\": false,\n    \"duration\": \"2\",\n    \"quest2A\": true,\n    \"quest2B\": \"asdasdasdasdasdasdasdas\",\n    \"lastMedicalVisit\": \"2017-11-22T23:00:00.000Z\",\n    \"disease1\": true,\n    \"disease2\": true,\n    \"disease3\": true,\n    \"disease4\": true,\n    \"disease5\": true,\n    \"disease6\": true,\n    \"disease7\": true,\n    \"disease8\": true,\n    \"disease9\": \"dasdas\",\n    \"disease10\": \"asdas\",\n    \"disease11\": \"asdassss\",\n    \"disease12\": \"dasdasd\",\n    \"disease13\": \"sd\",\n    \"disease14\": \"sddsdas\",\n    \"disease15\": \"dasd\",\n    \"disease16\": \"aasdasda\",\n    \"hospitalizedA\": true,\n    \"hospitalizedB\": \"asdadsasd\",\n    \"treatmentA\": true,\n    \"treatmentB\": \"ccccc\",\n    \"pillsA\": true,\n    \"pillsB\": \"medasdkajsl\",\n    \"issuesA\": true,\n    \"issuesB\": \"dasda\",\n    \"mobilityIssueA\": true,\n    \"mobilityIssueB\": \"marche ne fonctione pas\",\n    \"handicapA\": true,\n    \"handicapB\": \"dkajskdjaskldjas\",\n    \"numChildren\": 2,\n    \"pregnancyIssuesA\": true,\n    \"pregnancyIssuesB\": \"adasdas\",\n    \"childbirthIssuesA\": true,\n    \"childbirthB\": \"dasdasdas\",\n    \"questNotes\": \"djalksjdklasjdklasjdals\",\n    \"childNote\": \"dsadasdasldkasldkalç\",\n    \"idEmp\": 0,\n    \"expectedVisits1\": 12,\n    \"expectedVisits1Units\": 1,\n    \"expectedVisits2\": 0,\n    \"expectedVisits2Units\": 0,\n    \"expectedVisits3\": 0,\n    \"expectedVisitUnit3\": 0,\n    \"pregnant\": 0\n  }"},"url":"{{url}}/api/userTepProfil","urlObject":{"path":["api","userTepProfil"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4d14e2c-1304-4402-93c2-eac9b09581eb"},{"name":"/api/userTepProfil/:id/sendByEmail","id":"b2d9cbd1-ff3f-47c7-ae53-cbd3c15c4896","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"subject\": \"_Votre nouveau profil Reis\",\n  \"message\": \"_Bonjour reis, voici votre profil, cordialement..\",\n  \"email\": \"marcio@heitzsystem.com\"\n}"},"url":"{{url}}/api/userTepProfil/:id/sendByEmail","urlObject":{"path":["api","userTepProfil",":id","sendByEmail"],"host":["{{url}}"],"query":[],"variable":[{"id":"8c232979-4096-498d-946b-18021d7c1ff2","type":"string","value":"301128785","key":"id"}]}},"response":[],"_postman_id":"b2d9cbd1-ff3f-47c7-ae53-cbd3c15c4896"},{"name":"/api/userTepProfil/sendByEmail","id":"de530db8-c475-48ee-8f2f-aeb6c0e463d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepProfil/sendByEmail","description":"<p>Returns the email defaults</p>\n","urlObject":{"path":["api","userTepProfil","sendByEmail"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de530db8-c475-48ee-8f2f-aeb6c0e463d4"},{"name":"/api/userTepProfil/:id/ownersEmail","id":"ce11a0fb-be8f-48bb-8ca9-91a7bf880764","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userTepProfil/:id/ownersEmail","urlObject":{"path":["api","userTepProfil",":id","ownersEmail"],"host":["{{url}}"],"query":[],"variable":[{"id":"96f8fea4-71ec-48c9-8dc7-1151ecdeb713","type":"string","value":"301128784","key":"id"}]}},"response":[],"_postman_id":"ce11a0fb-be8f-48bb-8ca9-91a7bf880764"},{"name":"/api/userTepProfil/:id","id":"972d9c68-1fa9-4393-9917-6d6b8c09f29f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"sedentary\": true,\n    \"leisure1A\": true,\n    \"leisure1B\": \"ldkalçskdl çaksdlkaslçdk laskldçlka slçldka çlska\",\n    \"leisure2A\": true,\n    \"leisure2B\": \"los2b\",\n    \"competionA\": true,\n    \"competionB\": \"comptb\",\n    \"attendance\": \"3\",\n    \"expectedTime\": \"2\",\n    \"obj1\": true,\n    \"obj2\": true,\n    \"obj3A\": true,\n    \"obj3B\": \"2\",\n    \"obj4\": true,\n    \"obj5\": true,\n    \"obj6\": true,\n    \"obj7A\": true,\n    \"obj7B\": \"asdasdasdasdasddddddd7b\",\n    \"objNotes\": \"dasdasdasdasd\",\n    \"quest1\": false,\n    \"duration\": \"2\",\n    \"quest2A\": true,\n    \"quest2B\": \"asdasdasdasdasdasdasdas\",\n    \"lastMedicalVisit\": \"2017-11-22T23:00:00.000Z\",\n    \"disease1\": true,\n    \"disease2\": true,\n    \"disease3\": true,\n    \"disease4\": true,\n    \"disease5\": true,\n    \"disease6\": true,\n    \"disease7\": true,\n    \"disease8\": true,\n    \"disease9\": \"dasdas\",\n    \"disease10\": \"asdas\",\n    \"disease11\": \"asdassss\",\n    \"disease12\": \"dasdasd\",\n    \"disease13\": \"sd\",\n    \"disease14\": \"sddsdas\",\n    \"disease15\": \"dasd\",\n    \"disease16\": \"aasdasda\",\n    \"hospitalizedA\": true,\n    \"hospitalizedB\": \"asdadsasd\",\n    \"treatmentA\": true,\n    \"treatmentB\": \"ccccc\",\n    \"pillsA\": true,\n    \"pillsB\": \"medasdkajsl\",\n    \"issuesA\": true,\n    \"issuesB\": \"dasda\",\n    \"mobilityIssueA\": true,\n    \"mobilityIssueB\": \"marche ne fonctione pas\",\n    \"handicapA\": true,\n    \"handicapB\": \"dkajskdjaskldjas\",\n    \"numChildren\": 2,\n    \"pregnancyIssuesA\": true,\n    \"pregnancyIssuesB\": \"adasdas\",\n    \"childbirthIssuesA\": true,\n    \"childbirthB\": \"dasdasdas\",\n    \"questNotes\": \"djalksjdklasjdklasjdals\",\n    \"childNote\": \"dsadasdasldkasldkalç\",\n    \"expectedVisits1\": 12,\n    \"expectedVisits1Units\": 1,\n    \"expectedVisits2\": 0,\n    \"expectedVisits2Units\": 0,\n    \"expectedVisits3\": 0,\n    \"expectedVisitUnit3\": 0,\n    \"pregnant\": 0\n  }"},"url":"{{url}}/api/userTepProfil/:id","urlObject":{"path":["api","userTepProfil",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"dded5e8d-c3b9-47f9-82f4-613490cd5142","type":"string","value":"301128784","key":"id"}]}},"response":[],"_postman_id":"972d9c68-1fa9-4393-9917-6d6b8c09f29f"},{"name":"/api/userTepProfil/:id","id":"7469226d-2ecc-42c4-b2d2-d11bb1c048fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userTepProfil/:id","urlObject":{"path":["api","userTepProfil",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"f58912c3-0c8b-4006-81a5-62f5ef51fcf9","type":"string","value":"300902084","key":"id"}]}},"response":[],"_postman_id":"7469226d-2ecc-42c4-b2d2-d11bb1c048fc"}],"id":"0b972d61-891e-4433-91ed-c067a388144e","_postman_id":"0b972d61-891e-4433-91ed-c067a388144e","description":""},{"name":"/exercises","item":[{"name":"/api/exercises","id":"e70cec59-0b7a-48b0-9dd2-953a83dd0ed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/exercises?limit=30&offset=0&machine=49,38&level=1,0&exerciseGroupList=300607992&includeNotes=false","description":"<p>Get's the data related to a particular client</p>\n","urlObject":{"path":["api","exercises"],"host":["{{url}}"],"query":[{"key":"limit","value":"30"},{"key":"offset","value":"0"},{"key":"machine","value":"49,38"},{"description":{"content":"<p>The id of the level to be matched</p>\n","type":"text/plain"},"key":"level","value":"1,0"},{"disabled":true,"description":{"content":"<p>The search term will be used to match on \"exercise name\" and \"machine name\"</p>\n","type":"text/plain"},"key":"q","value":"objectif"},{"disabled":true,"key":"muscleGroups","value":"[6]"},{"description":{"content":"<blockquote>\n<p>= v12.6</p>\n</blockquote>\n","type":"text/plain"},"key":"exerciseGroupList","value":"300607992"},{"description":{"content":"<blockquote>\n<p>= v12.6 (default = false)</p>\n</blockquote>\n","type":"text/plain"},"key":"includeNotes","value":"false"}],"variable":[]}},"response":[],"_postman_id":"e70cec59-0b7a-48b0-9dd2-953a83dd0ed3"},{"name":"/api/exercises/:id","id":"65f7f13b-f7ee-4efd-8426-de0a78738eeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/exercises/300607704","description":"<p>Get's the data related to a particular client</p>\n","urlObject":{"path":["api","exercises","300607704"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65f7f13b-f7ee-4efd-8426-de0a78738eeb"},{"name":"/api/exercises/:id","id":"8a54e0ba-d84d-468e-a75c-3d525069a726","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"My Updated Exercise Info\",\n\t\"number\": 10\n}"},"url":"{{url}}/api/exercises/300607709?","description":"<p>Get's the data related to a particular client</p>\n","urlObject":{"path":["api","exercises","300607709"],"host":["{{url}}"],"query":[{"disabled":true,"key":"machine","value":"[991,992,993]"},{"disabled":true,"description":{"content":"<p>The id of the level to be matched</p>\n","type":"text/plain"},"key":"level","value":"[0]"},{"disabled":true,"description":{"content":"<p>The search term will be used to match on \"exercise name\" and \"machine name\"</p>\n","type":"text/plain"},"key":"q","value":"objectif"}],"variable":[]}},"response":[],"_postman_id":"8a54e0ba-d84d-468e-a75c-3d525069a726"},{"name":"/api/exercises/generator","id":"1b5c5c5a-c26a-422d-aab6-6e82d39e2687","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"1\": 0,\n  \"2\": 1,\n  \"7\": 4,\n  \"16\": 4,\n  \"20\": 4\n}"},"url":"{{url}}/api/exercises/generator","description":"<p>Get's the data related to a particular client</p>\n","urlObject":{"path":["api","exercises","generator"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b5c5c5a-c26a-422d-aab6-6e82d39e2687"},{"name":"/api/exercises","id":"2ce6ec38-74fd-4838-88bc-151e6fa1bd74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"My Awesome exercise\",\n\t\"number\": 42\n}"},"url":"{{url}}/api/exercises","description":"<p>Exercise MACHINE = 0; CARDIO = 1; STRETCHING = 2; NOTES = 3;</p>\n","urlObject":{"path":["api","exercises"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ce6ec38-74fd-4838-88bc-151e6fa1bd74"},{"name":"/api/exercises/:id/photo","id":"a20c7d45-dfe7-4e60-b75f-1806d1ce5bc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"{{url}}/api/exercises/301132198/photo","description":"<p>Get's the data related to a particular client</p>\n","urlObject":{"path":["api","exercises","301132198","photo"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a20c7d45-dfe7-4e60-b75f-1806d1ce5bc1"}],"id":"2f9ed739-0e83-4e7d-9ab1-79ed4aa24cae","_postman_id":"2f9ed739-0e83-4e7d-9ab1-79ed4aa24cae","description":""},{"name":"/oneRepMax","item":[{"name":"/api/oneRepMax?idExercise&idUser","id":"63c79ff3-761f-4539-99af-1ab6058604ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/oneRepMax?idUser=100485488&idExercise=100809402","description":"<p>Get's the data related to a particular client</p>\n","urlObject":{"path":["api","oneRepMax"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Id of the user</p>\n","type":"text/plain"},"key":"idUser","value":"100485488"},{"key":"idExercise","value":"100809402"}],"variable":[]}},"response":[],"_postman_id":"63c79ff3-761f-4539-99af-1ab6058604ed"}],"id":"fff527f1-8335-449b-9e63-b0ffab075c85","_postman_id":"fff527f1-8335-449b-9e63-b0ffab075c85","description":""},{"name":"/exerciseGroup","item":[{"name":"/exerciseGroup","id":"dc04c688-eba6-49ea-abff-e5a2f3819c92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/exerciseGroup?idCenter","urlObject":{"path":["api","exerciseGroup"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(optional) The <code>idCenter</code> being loaded. Defaults to server's IDCENTER if not provided. Only relevant when dealing with multiple centers in a single database.</p>\n","type":"text/plain"},"key":"idCenter","value":null}],"variable":[]}},"response":[],"_postman_id":"dc04c688-eba6-49ea-abff-e5a2f3819c92"},{"name":"/exerciseGroup","id":"8b045390-4cf9-4b84-a6d8-c71d9265e3bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"TRAPEZES 2\"\n}"},"url":"{{url}}/api/exerciseGroup/:id","urlObject":{"path":["api","exerciseGroup",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"b8de4f64-5f38-4726-ae4e-4402902d152b","type":"string","value":"300607980","key":"id"}]}},"response":[],"_postman_id":"8b045390-4cf9-4b84-a6d8-c71d9265e3bf"},{"name":"/exerciseGroup","id":"1348ffdc-735d-4ee0-b51d-8f4752d9aa9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/exerciseGroup/:id","urlObject":{"path":["api","exerciseGroup",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9cf6e264-c263-4fcf-b7cc-91e76b1ff64f","description":{"content":"<p>The id of the Exercise Group to be removed. Exercise Group must not be in use!</p>\n","type":"text/plain"},"type":"string","value":"300607977","key":"id"}]}},"response":[],"_postman_id":"1348ffdc-735d-4ee0-b51d-8f4752d9aa9a"},{"name":"/exerciseGroup","id":"c0543f46-3efa-47a8-9e9f-f178f6df5965","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"label\":\"Another Group\"\n}"},"url":"{{url}}/api/exerciseGroup","urlObject":{"path":["api","exerciseGroup"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0543f46-3efa-47a8-9e9f-f178f6df5965"}],"id":"41a9e45b-448c-4398-9adf-f0b6e92b57c6","_postman_id":"41a9e45b-448c-4398-9adf-f0b6e92b57c6","description":""},{"name":"/exerciseGroupLink","item":[{"name":"/exerciseGroupLink","id":"e680487c-4d7c-40b2-8ae5-265360495486","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/exerciseGroupLink?idExercise=300607738","description":"<p>Lists groups for a given exercise</p>\n","urlObject":{"path":["api","exerciseGroupLink"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The id of the exercise</p>\n","type":"text/plain"},"key":"idExercise","value":"300607738"}],"variable":[]}},"response":[],"_postman_id":"e680487c-4d7c-40b2-8ae5-265360495486"},{"name":"/exerciseGroupLink","id":"b9a2d9a4-29cb-4186-b671-f79128b8460a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/exerciseGroupLink/:id","urlObject":{"path":["api","exerciseGroupLink",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"b91463a5-090d-48cb-b0e6-ca43999f2b7a","description":{"content":"<p>The id of the Exercise Group to be removed. Exercise Group must not be in use!</p>\n","type":"text/plain"},"type":"string","value":"300548138","key":"id"}]}},"response":[],"_postman_id":"b9a2d9a4-29cb-4186-b671-f79128b8460a"},{"name":"/exerciseGroupLink","id":"4fad9f3d-6d94-4f1d-942b-79703ba24d79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"idExercise\": 300607738,\n\t\"idGroup\": 300607980\n}"},"url":"{{url}}/api/exerciseGroupLink","urlObject":{"path":["api","exerciseGroupLink"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fad9f3d-6d94-4f1d-942b-79703ba24d79"}],"id":"e5d606b1-d694-4b61-b7f0-aabbf93b76ce","_postman_id":"e5d606b1-d694-4b61-b7f0-aabbf93b76ce","description":""},{"name":"/workoutPlanTemplate","item":[{"name":"/api/workoutPlanTemplate","event":[{"listen":"test","script":{"id":"c1073991-acc6-4ddb-9db5-2d117394213a","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[0][\"id\"]);  ","}","","","",""],"type":"text/javascript"}}],"id":"65b250c8-113b-41d0-9113-842b4d678a56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanTemplate","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"301130709,301130710"},{"disabled":true,"key":"offset","value":"0"},{"disabled":true,"key":"limit","value":"10"},{"disabled":true,"description":{"content":"<p>The exercice/workout level id</p>\n","type":"text/plain"},"key":"level","value":"0"},{"disabled":true,"description":{"content":"<p><strong>requires admin prev</strong>\n0=&gt;PUBLISHED (default);  1=&gt;PRIVATE_DRAFT; 2=&gt;TEAM_DRAFT;\nALL =&gt; Returns all above\nList of status separated by comma (,)</p>\n","type":"text/plain"},"key":"publishStatus","value":"2"},{"disabled":true,"key":"authors","value":"300606668"},{"disabled":true,"description":{"content":"<p>Session per week (Min)</p>\n","type":"text/plain"},"key":"sessionWeekMin","value":"4"},{"disabled":true,"description":{"content":"<p>Session per week (Max)</p>\n","type":"text/plain"},"key":"sessionWeekMax","value":"4"},{"disabled":true,"description":{"content":"<p>Duration in weeks (Min)</p>\n","type":"text/plain"},"key":"durationMin","value":"3"},{"disabled":true,"description":{"content":"<p>Duration in weeks (Max)</p>\n","type":"text/plain"},"key":"durationMax","value":"4"},{"disabled":true,"description":{"content":"<p>When provided with no value or true or 1 the count is performed</p>\n","type":"text/plain"},"key":"count","value":"true"},{"disabled":true,"key":"createdSince","value":"2019-08-21"},{"disabled":true,"key":"createdUntil","value":"2019-08-21"}],"variable":[]}},"response":[],"_postman_id":"65b250c8-113b-41d0-9113-842b4d678a56"},{"name":"/api/workoutPlanTemplate","event":[{"listen":"test","script":{"id":"1fdefc02-7f74-4e43-874b-7cff0a6a156d","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[\"id\"]);  ","}","","pm.test(\"Creates a Workout Plan Template\", function(){","    pm.response.to.have.status(200);","    pm.expect(jsonData.id).to.be.a(\"number\");","})","",""]}}],"id":"c6e671b9-5833-478e-968e-10ee66377f1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sample Test #3\",\n  \"publishStatus\": 2,\n  \"description\": \"Hello\"\n}"},"url":"{{url}}/api/workoutPlanTemplate?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[]}},"response":[],"_postman_id":"c6e671b9-5833-478e-968e-10ee66377f1b"},{"name":"/api/workoutPlanTemplate/copy/from/client","event":[{"listen":"test","script":{"id":"1fdefc02-7f74-4e43-874b-7cff0a6a156d","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[\"id\"]);  ","}","","pm.test(\"Creates a Workout Plan Template\", function(){","    pm.response.to.have.status(200);","    pm.expect(jsonData.id).to.be.a(\"number\");","})","",""],"type":"text/javascript"}}],"id":"cb6b19a9-97e3-42e2-9a86-1a8f55c515cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"idClientWorkout\": 1,\n  \"idWorkoutPlanTmpl\": 2,\n  \"idCenter\": 1000,\n  \"info\": {\n  \t\"label\": \"\"\n  },\n  \"generateSeries\": true\n}"},"url":"{{url}}/api/workoutPlanTemplate?","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"idClientWorkout\": number;\n    \"idWorkoutPlanTmpl\": number;\n    \"idCenter\": number;\n    \"info\": IWorkoutPlanTemplate; /* Some properties are not available upon creation/update. \"info\" field allows you to provide the same level of properties that you provide upon \"update\" of a existing workout plan.*/\n    \"generateSeries\": boolean;\n}\n</code></pre>","urlObject":{"path":["api","workoutPlanTemplate"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[]}},"response":[],"_postman_id":"cb6b19a9-97e3-42e2-9a86-1a8f55c515cc"},{"name":"/api/workoutPlanTemplate/:id","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"91d20f22-038a-4ee8-b1bf-633f96163864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanTemplate/:id?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[{"id":"00b6065b-ee91-4537-ae38-de5d072f32c3","type":"string","value":"{{_idWorkoutPlanTemplate}}","key":"id"}]}},"response":[],"_postman_id":"91d20f22-038a-4ee8-b1bf-633f96163864"},{"name":"/api/workoutPlanTemplate/:id","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"abf67c8e-d353-4fa8-9462-6ae4148c0433","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sample Super test\"\n}"},"url":"{{url}}/api/workoutPlanTemplate/:id?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[{"id":"7f28a73e-656d-456d-8189-0ff3ae942442","type":"string","value":"{{_idWorkoutPlanTemplate}}","key":"id"}]}},"response":[],"_postman_id":"abf67c8e-d353-4fa8-9462-6ae4148c0433"},{"name":"/api/workoutPlanTemplate/:id","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"2655f704-5e7c-4c88-9ee1-4e00e68a271a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/workoutPlanTemplate/:id","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"539e40cd-ac9c-4c9c-b8c0-406d01571895","type":"string","value":"{{_idWorkoutPlanTemplate}}","key":"id"}]}},"response":[],"_postman_id":"2655f704-5e7c-4c88-9ee1-4e00e68a271a"},{"name":"/api/workoutPlanTemplate/:id/tags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idSequence\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"be534883-12d9-42e9-bfb3-8c657ce004f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanTemplate/:id/tags","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id","tags"],"host":["{{url}}"],"query":[],"variable":[{"id":"5ffa7c8f-2a26-4426-91ac-ac4b32db2fa9","type":"string","value":"{{_idWorkoutPlanTemplate}}","key":"id"}]}},"response":[],"_postman_id":"be534883-12d9-42e9-bfb3-8c657ce004f7"},{"name":"/api/workoutPlanTemplate/:id/tags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idSequence\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"b93d9170-e146-4bd5-86a1-3f0bf1598a7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  301130709,\n    301130710,\n    301130711\n]"},"url":"{{url}}/api/workoutPlanTemplate/:id/tags","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id","tags"],"host":["{{url}}"],"query":[],"variable":[{"id":"73a91467-c128-4353-888a-3a54c150d985","type":"string","value":"{{_idWorkoutPlanTemplate}}","key":"id"}]}},"response":[],"_postman_id":"b93d9170-e146-4bd5-86a1-3f0bf1598a7a"},{"name":"/api/workoutPlanTemplate/:id/tags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idSequence\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"ea6dbfc4-49dc-4dba-bb61-934f274ed826","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n   301130737,\n   301130738\n]"},"url":"{{url}}/api/workoutPlanTemplate/:id/tags","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id","tags"],"host":["{{url}}"],"query":[],"variable":[{"id":"1de5e11a-1777-40e5-b5ca-6fc6d7c602b9","type":"string","value":"{{_idWorkoutPlanTemplate}}","key":"id"}]}},"response":[],"_postman_id":"ea6dbfc4-49dc-4dba-bb61-934f274ed826"},{"name":"/api/workoutPlanTemplate/:id/days(todo)","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplateDay\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"a9746927-5054-4d70-af3c-0bef7080f145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanTemplate/:id/days?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id","days"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[{"id":"1f6b4f8e-6e28-44ea-b0fd-a5a49c0fd561","type":"string","value":"{{_idWorkoutPlanTemplate}}","key":"id"}]}},"response":[],"_postman_id":"a9746927-5054-4d70-af3c-0bef7080f145"},{"name":"/api/workoutPlanTemplate/:id/join","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"c36b770d-d720-47a8-8a21-54cf32775f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"startDate\": \"2017-02-20 10:20:00\",\n  \"endDate\": null,\n  \"name\": \"Test\"\n}"},"url":"{{url}}/api/workoutPlanTemplate/{{_idWorkoutPlanTemplate}}/join?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate","{{_idWorkoutPlanTemplate}}","join"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[]}},"response":[],"_postman_id":"c36b770d-d720-47a8-8a21-54cf32775f3e"},{"name":"/api/workoutPlanTemplate/:id/days","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"3e05764d-26d5-4ca2-b15e-11d747dbabca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"Workout #1\",  \n    \"description\": \"Cardio + Biceps + Chest\"\n  },\n  {\n    \"name\": \"Workout #2\",\n    \"description\": \"Cardio + Legs\"\n  }\n]"},"url":"{{url}}/api/workoutPlanTemplate/:id/days?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id","days"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[{"id":"4fc87d8d-377d-4db2-b2ef-3babee6ee859","type":"string","value":"301130802","key":"id"}]}},"response":[],"_postman_id":"3e05764d-26d5-4ca2-b15e-11d747dbabca"},{"name":"/api/workoutPlanTemplate/:id/days","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTemplate\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"2049e740-80e9-44a1-a4ec-01c230d2abd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  2,\n  2\n]"},"url":"{{url}}/api/workoutPlanTemplate/:id/reorder?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplate",":id","reorder"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"CARDIO"},{"disabled":true,"description":{"content":"<p>Id's of the tags </p>\n","type":"text/plain"},"key":"tags","value":"[101019628]"}],"variable":[{"id":"5c4a481a-f5c2-42e0-b5be-f2d36d60030f","type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"2049e740-80e9-44a1-a4ec-01c230d2abd9"}],"id":"aa2ebf73-d65b-432c-aedf-ffc78ccd9238","_postman_id":"aa2ebf73-d65b-432c-aedf-ffc78ccd9238","description":""},{"name":"/workoutPlanDayTemplate","item":[{"name":"/api/workoutPlanDayTemplate","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""]}}],"id":"66f52d93-2d63-4cec-b6b5-7e3eae4ae17a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanDayTemplate?offset=0&limit=10","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanDayTemplate"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"key":"offset","value":"0"},{"key":"limit","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[]}},"response":[],"_postman_id":"66f52d93-2d63-4cec-b6b5-7e3eae4ae17a"},{"name":"/api/workoutPlanDayTemplate","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""]}}],"id":"06e7c844-97c8-4985-a42c-ff155acaf98a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Test File\",\n  \"idPlanTemplate\": 301130802\n}\n"},"url":"{{url}}/api/workoutPlanDayTemplate?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanDayTemplate"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[]}},"response":[],"_postman_id":"06e7c844-97c8-4985-a42c-ff155acaf98a"},{"name":"/api/workoutPlanDayTemplate/:id/sequence","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""]}}],"id":"f7ee21fd-c88c-46a4-8fe5-794b4ef4d311","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n{\n    \"type\": 0,\n    \"exercises\": [\n      100809553,100809357\n    ]\n  },\n  {\n    \"type\": 0,\n    \"reps\": 10,\n    \"sets\": 4,\n    \"exercises\": [\n      100809423\n    ]\n  },\n  {\n    \"type\": 1,\n    \"duration\": 20,\n    \"reps\": 16,\n    \"sets\": 4,\n    \"exercises\": [\n      100809402,\n      100809571,\n      100809378\n    ]\n  }\n]"},"url":"{{url}}/api/workoutPlanDayTemplate/:id/sequence?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanDayTemplate",":id","sequence"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[{"id":"69ee92cb-7454-41d0-8cf0-1667f2014ed8","type":"string","value":"301130820","key":"id"}]}},"response":[],"_postman_id":"f7ee21fd-c88c-46a4-8fe5-794b4ef4d311"},{"name":"/api/workoutPlanDayTemplate/:id/plan","id":"e6b4564a-deaa-41a8-bb65-5491a4db3c10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanDayTemplate/:id/plan?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanDayTemplate",":id","plan"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[{"id":"ea72506b-8ae3-4714-a6b6-18413ca2f21b","type":"string","value":"300782782","key":"id"}]}},"response":[],"_postman_id":"e6b4564a-deaa-41a8-bb65-5491a4db3c10"},{"name":"/api/workoutPlanDayTemplate/:id/tags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTag\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"f87030c0-168a-4316-9071-3bffb0dc29e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanDayTemplate/:id/tags?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanDayTemplate",":id","tags"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[{"id":"1a0ae99e-b849-4ab6-a01f-efe34d7e058f","type":"string","value":"{{_idWorkoutPlanDayTemplate}}","key":"id"}]}},"response":[],"_postman_id":"f87030c0-168a-4316-9071-3bffb0dc29e9"},{"name":"/api/workoutPlanDayTemplate/:id/tags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idSequence\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"f7387359-9ba3-482e-a2e9-5c097263bb0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  101019628  \n]"},"url":"{{url}}/api/workoutPlanDayTemplate/:id/tags","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanDayTemplate",":id","tags"],"host":["{{url}}"],"query":[],"variable":[{"id":"47bd3b9a-6111-48d4-b21f-c66e7a2856d5","type":"string","value":"{{_idWorkoutPlanDayTemplate}}","key":"id"}]}},"response":[],"_postman_id":"f7387359-9ba3-482e-a2e9-5c097263bb0d"},{"name":"/api/workoutPlanDayTemplate/:id/tags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idSequence\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"ee741a09-aa27-4fd5-b707-6e0030c1ebf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  {{_idWorkoutPlanDayTag}}  \n]"},"url":"{{url}}/api/workoutPlanDayTemplate/:id/tags","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanDayTemplate",":id","tags"],"host":["{{url}}"],"query":[],"variable":[{"id":"916887f7-d72f-4f54-b802-76bd8b0a5a02","type":"string","value":"{{_idWorkoutPlanDayTemplate}}","key":"id"}]}},"response":[],"_postman_id":"ee741a09-aa27-4fd5-b707-6e0030c1ebf6"}],"id":"747e36a6-3751-47dd-9c46-de10ea6cdf99","_postman_id":"747e36a6-3751-47dd-9c46-de10ea6cdf99","description":""},{"name":"/workoutPlanSequenceTemplate","item":[{"name":"/api/workoutPlanTemplateSequence/:id","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""]}}],"id":"55a8e087-5e94-4d47-9a9d-ebbf887fada1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/workoutPlanTemplateSequence/:id?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplateSequence",":id"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[{"id":"1243f7c5-62f2-4e24-ae5a-ad4d20ae7b56","type":"string","value":"301130915","key":"id"}]}},"response":[],"_postman_id":"55a8e087-5e94-4d47-9a9d-ebbf887fada1"},{"name":"/api/workoutPlanTemplateSequence/:id/addExercises","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""]}}],"id":"7d3919b6-be93-4ad1-8a24-395779b9cbe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  300607710,\n  300607711\n]"},"url":"{{url}}/api/workoutPlanTemplateSequence/:id/addExercises?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplateSequence",":id","addExercises"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[{"id":"bafc34f2-39b3-4503-8635-4e895aff7a12","type":"string","value":"301130916","key":"id"}]}},"response":[],"_postman_id":"7d3919b6-be93-4ad1-8a24-395779b9cbe1"}],"id":"c549527e-da8d-4245-8176-be77a89ac9da","_postman_id":"c549527e-da8d-4245-8176-be77a89ac9da","description":""},{"name":"/workoutPlanTags","item":[{"name":"/api/workoutPlanTags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanTag\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"96d0298b-7028-4063-86fd-afaee1465b6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutPlanTags?offset=0&limit=10","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTags"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"["},{"key":"offset","value":"0"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"96d0298b-7028-4063-86fd-afaee1465b6e"},{"name":"/api/workoutPlanTags/:id","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]);   ","}","",""]}}],"id":"9dcf8d12-081a-4af6-8993-38fc545c9ac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/workoutPlanTags/:id?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTags",":id"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"TEST"}],"variable":[{"id":"faae0689-d5d1-44ec-86de-4ee0cd4ce19f","type":"string","value":"{{_idWorkoutPlanTag}}","key":"id"}]}},"response":[],"_postman_id":"9dcf8d12-081a-4af6-8993-38fc545c9ac6"},{"name":"/api/workoutPlanTags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"03860def-c45a-4b0a-89a9-9ac70716507a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  \"Test a\",\n  \"test b\",\n  \"test c\"\n]"},"url":"{{url}}/api/workoutPlanTags?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTags"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[]}},"response":[{"id":"4a862f50-2bca-4147-ac61-2c9a978e37f8","name":"JSON Array","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n\t\"Test1\"\n]"},"url":{"raw":"{{url}}/api/workoutPlanTags?","host":["{{url}}"],"path":["api","workoutPlanTags"],"query":[{"key":"q","value":"K","disabled":true},{"key":"tags","value":"10","disabled":true},{"key":"level","value":"0","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"aa38146b-505d-43ce-82b0-54120a5e945b","name":"Plain Text","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"\"fooo\""},"url":{"raw":"{{url}}/api/workoutPlanTags?","host":["{{url}}"],"path":["api","workoutPlanTags"],"query":[{"key":"q","value":"K","disabled":true},{"key":"tags","value":"10","disabled":true},{"key":"level","value":"0","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"access-control-allow-headers","description":""},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":""},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":""},{"key":"connection","value":"keep-alive","name":"connection","description":""},{"key":"content-length","value":"19","name":"content-length","description":""},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":""},{"key":"date","value":"Fri, 11 Aug 2017 16:49:06 GMT","name":"date","description":""},{"key":"etag","value":"W/\"13-X00OQoWjuGz0sZg4GxTPAqRPXwE\"","name":"etag","description":""},{"key":"vary","value":"Accept-Encoding","name":"vary","description":""},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":""}],"cookie":[],"responseTime":null,"body":"{\"ids\":[101019716]}"}],"_postman_id":"03860def-c45a-4b0a-89a9-9ac70716507a"}],"id":"4f3b97ba-45cb-4ccb-8184-e19534d1961c","_postman_id":"4f3b97ba-45cb-4ccb-8184-e19534d1961c","description":""},{"name":"/userWorkoutPlan","item":[{"name":"/api/userWorkoutPlan (list+filtering)","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","if (jsonData && jsonData.length){","    postman.setEnvironmentVariable(\"_idUserWorkoutPlan\", jsonData[0]['id']);","}"]}}],"id":"c1cea74a-3140-4f84-bb08-9cab0613cc2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlan?active=true&notStarted=true&expired=true","description":"<p>Lists all user's workouts</p>\n","urlObject":{"path":["api","userWorkoutPlan"],"host":["{{url}}"],"query":[{"key":"active","value":"true"},{"key":"notStarted","value":"true"},{"key":"expired","value":"true"},{"disabled":true,"key":"idClient","value":"300329535"}],"variable":[]}},"response":[],"_postman_id":"c1cea74a-3140-4f84-bb08-9cab0613cc2e"},{"name":"/api/userWorkoutPlan/stats","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","if (jsonData && jsonData.length){","    postman.setEnvironmentVariable(\"_idUserWorkoutPlan\", jsonData[0]['id']);","}"]}}],"id":"df0eb4b5-1523-4648-a6e2-cd319fc83f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlan/stats?","description":"<p>Counts workouts of a given users</p>\n","urlObject":{"path":["api","userWorkoutPlan","stats"],"host":["{{url}}"],"query":[{"disabled":true,"key":"idClient","value":"300329535"}],"variable":[]}},"response":[],"_postman_id":"df0eb4b5-1523-4648-a6e2-cd319fc83f02"},{"name":"/api/userWorkoutPlan","id":"b8db6bc9-164a-4fbe-bd50-06f16db97f63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"idEmployee\": null,\n    \"name\": \"My Awesome Workout 2\",\n    \"activation\": \"2017-08-10T22:00:00.000Z\",\n    \"rep1\": 10,\n    \"rep2\": 12,\n    \"rep3\": 15,\n    \"model\": 0,\n    \"numSessTargetTotal\": 50,\n    \"numSessTargetWeek\": 3\n}"},"url":"{{url}}/api/userWorkoutPlan?idClient=300329535","description":"<p>Creates a new workout plan</p>\n","urlObject":{"path":["api","userWorkoutPlan"],"host":["{{url}}"],"query":[{"key":"idClient","value":"300329535"}],"variable":[]}},"response":[],"_postman_id":"b8db6bc9-164a-4fbe-bd50-06f16db97f63"},{"name":"/api/userWorkoutPlan/:id","id":"f3179f7a-93e2-45e3-b99a-42414e0bb8a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userWorkoutPlan/:id","description":"<p>Creates a new workout plan</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"bd743956-ec63-495b-bb69-8d956296163f","type":"string","value":"{{_idUserWorkoutPlan}}","key":"id"}]}},"response":[],"_postman_id":"f3179f7a-93e2-45e3-b99a-42414e0bb8a9"},{"name":"/api/userWorkoutPlan/:id","id":"8707b2f4-7afd-4f61-afbc-75108e542e88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Awesome Workout ####\",\n    \"activation\": \"2017-08-01T22:00:00.000Z\",\n    \"expiration\": \"2017-08-29T22:00:00.000Z\",\n    \"npc\": 0,\n    \"rep1\": 10,\n    \"rep2\": 12,\n    \"rep3\": 15,\n    \"model\": 0,\n    \"comment\": null,\n    \"nextIdCFI\": null,\n    \"creationCenter\": 1000,\n    \"numSessTargetTotal\": 0,\n    \"numSessTargetWeek\": 0,\n    \"modelNumSessTargetWeek\": 0,\n    \"modelOriginal\": 0,\n    \"creationDate\": \"2017-08-02T20:58:25.984Z\",\n    \"createdByClient\": true\n}"},"url":"{{url}}/api/userWorkoutPlan/:id","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"8507e029-28a7-44e4-a393-881ffd54119b","type":"string","value":"{{_idUserWorkoutPlan}}","key":"id"}]}},"response":[],"_postman_id":"8707b2f4-7afd-4f61-afbc-75108e542e88"},{"name":"/api/userWorkoutPlan/:id/sendByEmail","id":"8d84876d-c269-4ddf-a57a-991803b325d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"subject\": \"_Votre nouvelle fiche Reis\",\n  \"message\": \"_Bonjour mm reis, voici votre fiche d'entrainment, cordialement..\",\n  \"email\": \"marcio@heitzsystem.com\"\n}"},"url":"{{url}}/api/userWorkoutPlan/:id/sendByEmail","description":"<p>Creates a new workout plan</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id","sendByEmail"],"host":["{{url}}"],"query":[],"variable":[{"id":"dfaa7797-0162-4578-8a69-6714ffd2bff8","type":"string","value":"301127280","key":"id"}]}},"response":[],"_postman_id":"8d84876d-c269-4ddf-a57a-991803b325d7"},{"name":"/api/userWorkoutPlan/:id/days","id":"9cf01491-f3f6-4caf-89d9-5d80ee2277f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"Workout #1\",  \n    \"description\": \"Cardio + Biceps + Chest\"\n  },\n  {\n    \"name\": \"Workout #2\",\n    \"description\": \"Cardio + Legs\"\n  }\n]"},"url":"{{url}}/api/userWorkoutPlan/:id/days","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id","days"],"host":["{{url}}"],"query":[],"variable":[{"id":"038ce1b7-eef2-4b6f-b4c0-715d3f64c7d5","type":"string","value":"{{_idUserWorkoutPlan}}","key":"id"}]}},"response":[],"_postman_id":"9cf01491-f3f6-4caf-89d9-5d80ee2277f8"},{"name":"/api/userWorkoutPlan/:id/days","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","if (jsonData && jsonData.length){","    postman.setEnvironmentVariable(\"_idUserWorkoutPlanDay\", jsonData[0]['id']);","}"]}}],"id":"d89573e9-dd71-42ab-be52-f3925ca3a3ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlan/:id/days","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id","days"],"host":["{{url}}"],"query":[],"variable":[{"id":"3c468128-4501-4c87-81c8-05a3dd722ca5","type":"string","value":"{{_idUserWorkoutPlan}}","key":"id"}]}},"response":[],"_postman_id":"d89573e9-dd71-42ab-be52-f3925ca3a3ec"},{"name":"/api/userWorkoutPlan/:id","id":"bfd6b982-5fab-40ac-946f-68682fcb3ae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlan/:id","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"dea79032-3cae-46ce-9187-dd9fd1f26f34","type":"string","value":"{{_idUserWorkoutPlan}}","key":"id"}]}},"response":[],"_postman_id":"bfd6b982-5fab-40ac-946f-68682fcb3ae7"},{"name":"/api/userWorkoutPlan/:id/countSessions","id":"d2e359c5-9b65-4f91-8d67-01357c9047a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlan/:id/countSessions","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id","countSessions"],"host":["{{url}}"],"query":[],"variable":[{"id":"14ef3091-b46f-438e-ba7c-4442dd824b30","type":"string","value":"{{_idUserWorkoutPlan}}","key":"id"}]}},"response":[],"_postman_id":"d2e359c5-9b65-4f91-8d67-01357c9047a7"},{"name":"/api/userWorkoutPlan/:id/reoroder","id":"796d1dbf-e267-49f9-bc0c-8dc28aa636b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[ 300901644,300901643]"},"url":"{{url}}/api/userWorkoutPlan/:id/reorder","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlan",":id","reorder"],"host":["{{url}}"],"query":[],"variable":[{"id":"07739f1d-3ec3-4bd3-88ba-9b9d973717db","type":"string","value":"{{_idUserWorkoutPlan}}","key":"id"}]}},"response":[],"_postman_id":"796d1dbf-e267-49f9-bc0c-8dc28aa636b0"}],"id":"ef8a260a-0bb7-47c2-b6b0-eda85e41e1de","_postman_id":"ef8a260a-0bb7-47c2-b6b0-eda85e41e1de","description":""},{"name":"/userWorkoutPlanDay","item":[{"name":"/api/userWorkoutPlanDay/:id/reorder","id":"ac03c620-4f79-4a73-b411-3bc3d76c5c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[ 300901644, 300901643 ]"},"url":"{{url}}/api/userWorkoutPlanDay/:id/reorder","description":"<p>Updates the order in which \"clientsWorkoutDay\" must be performed by the client</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","reorder"],"host":["{{url}}"],"query":[],"variable":[{"id":"2e98f600-2170-4fa2-95d2-fc9636e1c5c4","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"ac03c620-4f79-4a73-b411-3bc3d76c5c67"},{"name":"/api/userWorkoutPlanDay/:id/sequence","id":"f134e556-9409-4b2c-9043-9a3a36288c17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"type\": 0,\n    \"exercises\": [\n      100809553,\n      100809357\n    ]\n  },\n  {\n    \"type\": 0,\n    \"reps\": 10,\n    \"sets\": 4,\n    \"exercises\": [\n      100809423\n    ]\n  },\n  {\n    \"type\": 1,\n    \"duration\": 20,\n    \"reps\": 16,\n    \"sets\": 4,\n    \"exercises\": [\n      100809402,\n      100809571,\n      100809378\n    ]\n  }\n]"},"url":"{{url}}/api/userWorkoutPlanDay/:id/sequence","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","sequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"6cb55391-b23b-496c-ab02-df55865d5777","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"f134e556-9409-4b2c-9043-9a3a36288c17"},{"name":"/api/userWorkoutPlanDay/:id/sequence copy","id":"0e54634c-cc08-4283-9498-71463dbdfaac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  300901644,\n  300901643\n]"},"url":"{{url}}/api/userWorkoutPlanDay/:id/sequence","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","sequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"e9a1dfad-5e65-4048-80d5-ba131a9bd3d4","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"0e54634c-cc08-4283-9498-71463dbdfaac"},{"name":"/api/userWorkoutPlanDay/:id/reorder copy","id":"267a8ce5-6287-441c-b4b0-bc09b55d2098","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"type\": 0,\n    \"exercises\": [\n      100809553,\n      100809357\n    ]\n  },\n  {\n    \"type\": 0,\n    \"reps\": 10,\n    \"sets\": 4,\n    \"exercises\": [\n      100809423\n    ]\n  },\n  {\n    \"type\": 1,\n    \"duration\": 20,\n    \"reps\": 16,\n    \"sets\": 4,\n    \"exercises\": [\n      100809402,\n      100809571,\n      100809378\n    ]\n  }\n]"},"url":"{{url}}/api/userWorkoutPlanDay/:id/addExercises","urlObject":{"path":["api","userWorkoutPlanDay",":id","addExercises"],"host":["{{url}}"],"query":[],"variable":[{"id":"c2efbe87-d293-4fef-8c28-ad685be836d1","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"267a8ce5-6287-441c-b4b0-bc09b55d2098"},{"name":"/api/userWorkoutPlanDay/:id/sequence","id":"8130bc3c-f25d-4a33-95ee-694d61c174b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanDay/:id/sequence","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","sequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"1d750d2a-086f-40a9-b741-be9a649e2baf","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"8130bc3c-f25d-4a33-95ee-694d61c174b2"},{"name":"/api/userWorkoutPlanDay/:id/plan","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idSequence\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"fbc76a6d-52bd-46b2-94e3-154d1601d690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanDay/:id/plan?groupSeries=true","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","plan"],"host":["{{url}}"],"query":[{"key":"groupSeries","value":"true"}],"variable":[{"id":"5bf5ae32-e907-4cff-a3fa-6c004815e930","type":"string","value":"300900223","key":"id"}]}},"response":[{"id":"b74369ad-547c-4a4f-b05f-a80e48a268ee","name":"/api/userWorkoutPlanDay/:id/plan","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/userWorkoutPlanDay/:id/plan?groupSeries=true","host":["{{url}}"],"path":["api","userWorkoutPlanDay",":id","plan"],"query":[{"key":"groupSeries","value":"true"}],"variable":[{"key":"id","value":"300899793"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"access-control-allow-headers","description":""},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":""},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":""},{"key":"connection","value":"keep-alive","name":"connection","description":""},{"key":"content-encoding","value":"gzip","name":"content-encoding","description":""},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":""},{"key":"date","value":"Wed, 06 Sep 2017 16:50:21 GMT","name":"date","description":""},{"key":"etag","value":"W/\"13db-Bil8Rn5TwhxhSdANTKu/pK6U/Ww\"","name":"etag","description":""},{"key":"transfer-encoding","value":"chunked","name":"transfer-encoding","description":""},{"key":"vary","value":"Accept-Encoding","name":"vary","description":""},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":""}],"cookie":[],"responseTime":null,"body":"[{\"id\":300899794,\"type\":1,\"exercises\":[{\"id\":300899807,\"idExe\":300780531,\"name\":\"RAMEUR\",\"comment\":null,\"number\":69,\"type\":1,\"photo\":\"/media/exercise/300780531/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899819],\"duration\":[1800],\"speed\":[80],\"inclination\":[7],\"distance\":[0],\"rpm\":[0],\"levelMin\":[0],\"levelMax\":[0],\"pulseMin\":[0],\"pulseMax\":[0],\"rest\":[0]},\"numSeries\":1}],\"numExe\":1},{\"id\":300899795,\"type\":1,\"exercises\":[{\"id\":300899808,\"idExe\":300780645,\"name\":\"ABDOS ENROULE GROS BALLON\",\"comment\":null,\"number\":2,\"type\":0,\"photo\":\"/media/exercise/300780645/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899820,300899831,300899840,300899850,300899857],\"pulseMin\":[0,0,0,0,0],\"pulseMax\":[0,0,0,0,0],\"weightPerc\":[30,30,30,30,30],\"weight\":[0,0,0,0,0],\"rest\":[60,60,60,60,60],\"reps\":[25,25,25,25,25]},\"numSeries\":5},{\"id\":300899818,\"idExe\":300780755,\"name\":\"FLEXION BARRE SUPINATION\",\"comment\":null,\"number\":54,\"type\":0,\"photo\":\"/media/exercise/300780755/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899858],\"pulseMin\":[0],\"pulseMax\":[0],\"weightPerc\":[50],\"weight\":[0],\"rest\":[30],\"reps\":[12]},\"numSeries\":1}],\"numExe\":2},{\"id\":300899796,\"type\":1,\"exercises\":[{\"id\":300899809,\"idExe\":300780707,\"name\":\"RAMER RAPIDE ELASTIQUE\",\"comment\":null,\"number\":64,\"type\":0,\"photo\":\"/media/exercise/300780707/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899821,300899832,300899841,300899851],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[30,30,30,30],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[50,50,50,50]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899797,\"type\":1,\"exercises\":[{\"id\":300899810,\"idExe\":300780514,\"name\":\"FENTE AVANT BARRE\",\"comment\":null,\"number\":78,\"type\":0,\"photo\":\"/media/exercise/300780514/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899822,300899833,300899842],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[50,50,50],\"weight\":[0,0,0],\"rest\":[60,60,60],\"reps\":[15,15,15]},\"numSeries\":3}],\"numExe\":1},{\"id\":300899798,\"type\":1,\"exercises\":[{\"id\":300899815,\"idExe\":300780738,\"name\":\"TIRAGE POULIE BAS\",\"comment\":null,\"number\":15,\"type\":0,\"photo\":\"/media/exercise/300780738/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899828,300899837,300899847,300899854],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[0,0,0,0],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[15,15,15,15]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899799,\"type\":1,\"exercises\":[{\"id\":300899811,\"idExe\":300780697,\"name\":\"OBLIQUES ROTATION MDB\",\"comment\":null,\"number\":54,\"type\":0,\"photo\":\"/media/exercise/300780697/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899823,300899834,300899843],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[30,30,30],\"weight\":[0,0,0],\"rest\":[60,60,60],\"reps\":[30,30,30]},\"numSeries\":3}],\"numExe\":1},{\"id\":300899800,\"type\":1,\"exercises\":[{\"id\":300899817,\"idExe\":300780755,\"name\":\"FLEXION BARRE SUPINATION\",\"comment\":null,\"number\":54,\"type\":0,\"photo\":\"/media/exercise/300780755/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899830,300899839,300899849,300899856],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[0,0,0,0],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[15,15,15,15]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899801,\"type\":1,\"exercises\":[{\"id\":300899816,\"idExe\":300780550,\"name\":\"CRUNCH COMPLET\",\"comment\":null,\"number\":32,\"type\":0,\"photo\":\"/media/exercise/300780550/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899829,300899838,300899848,300899855],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[0,0,0,0],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[15,15,15,15]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899802,\"type\":1,\"exercises\":[{\"id\":300899813,\"idExe\":300780626,\"name\":\"ELEVATION FRONTALE BARRE\",\"comment\":null,\"number\":104,\"type\":0,\"photo\":\"/media/exercise/300780626/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899825,300899836,300899845],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[70,70,70],\"weight\":[0,0,0],\"rest\":[120,120,120],\"reps\":[12,12,12]},\"numSeries\":3}],\"numExe\":1},{\"id\":300899803,\"type\":1,\"exercises\":[{\"id\":300899812,\"idExe\":300780538,\"name\":\"ELEVATION EPAULES BARRE\",\"comment\":null,\"number\":142,\"type\":0,\"photo\":\"/media/exercise/300780538/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899824,300899835,300899844,300899852],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[70,70,70,70],\"weight\":[0,0,0,0],\"rest\":[120,120,120,120],\"reps\":[12,12,12,12]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899804,\"type\":1,\"exercises\":[{\"id\":300899806,\"idExe\":300780564,\"name\":\"XXXX\",\"comment\":null,\"number\":10,\"type\":1,\"photo\":null,\"videoUrl\":null,\"series\":{\"ids\":[300899826],\"duration\":[0],\"speed\":[0],\"inclination\":[0],\"distance\":[0],\"rpm\":[0],\"levelMin\":[0],\"levelMax\":[0],\"pulseMin\":[0],\"pulseMax\":[0],\"rest\":[0]},\"numSeries\":1}],\"numExe\":1},{\"id\":300899805,\"type\":1,\"exercises\":[{\"id\":300899814,\"idExe\":300780695,\"name\":\"MONTE DE BANC 1 JAMBE\",\"comment\":null,\"number\":52,\"type\":0,\"photo\":\"/media/exercise/300780695/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899827,300899846,300899853],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[50,0,50],\"weight\":[0,0,0],\"rest\":[60,60,60],\"reps\":[20,20,20]},\"numSeries\":3}],\"numExe\":1}]"}],"_postman_id":"fbc76a6d-52bd-46b2-94e3-154d1601d690"},{"name":"/api/userWorkoutPlanDay/:id/sessions","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// var jsonData = JSON.parse(responseBody);","","// if (jsonData.length){","//     postman.setEnvironmentVariable(\"_idSequence\", jsonData[0][\"id\"]);   ","// }","",""]}}],"id":"faaf28cd-d225-4514-8193-6ab351dcab33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanDay/:id/sessions","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","sessions"],"host":["{{url}}"],"query":[],"variable":[{"id":"af3e7352-2819-428b-ae55-bf047f15e4c9","type":"string","value":"300900223","key":"id"}]}},"response":[{"id":"2f79dbe6-fa2b-4f1b-95e8-5852e5bf090b","name":"/api/userWorkoutPlanDay/:id/plan","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/userWorkoutPlanDay/:id/plan?groupSeries=true","host":["{{url}}"],"path":["api","userWorkoutPlanDay",":id","plan"],"query":[{"key":"groupSeries","value":"true"}],"variable":[{"key":"id","value":"300899793"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"access-control-allow-headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"connection","value":"keep-alive","name":"connection","description":"Options that are desired for the connection"},{"key":"content-encoding","value":"gzip","name":"content-encoding","description":"The type of encoding used on the data."},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":"The mime type of this content"},{"key":"date","value":"Wed, 06 Sep 2017 16:50:21 GMT","name":"date","description":"The date and time that the message was sent"},{"key":"etag","value":"W/\"13db-Bil8Rn5TwhxhSdANTKu/pK6U/Ww\"","name":"etag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"transfer-encoding","value":"chunked","name":"transfer-encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"vary","value":"Accept-Encoding","name":"vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"[{\"id\":300899794,\"type\":1,\"exercises\":[{\"id\":300899807,\"idExe\":300780531,\"name\":\"RAMEUR\",\"comment\":null,\"number\":69,\"type\":1,\"photo\":\"/media/exercise/300780531/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899819],\"duration\":[1800],\"speed\":[80],\"inclination\":[7],\"distance\":[0],\"rpm\":[0],\"levelMin\":[0],\"levelMax\":[0],\"pulseMin\":[0],\"pulseMax\":[0],\"rest\":[0]},\"numSeries\":1}],\"numExe\":1},{\"id\":300899795,\"type\":1,\"exercises\":[{\"id\":300899808,\"idExe\":300780645,\"name\":\"ABDOS ENROULE GROS BALLON\",\"comment\":null,\"number\":2,\"type\":0,\"photo\":\"/media/exercise/300780645/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899820,300899831,300899840,300899850,300899857],\"pulseMin\":[0,0,0,0,0],\"pulseMax\":[0,0,0,0,0],\"weightPerc\":[30,30,30,30,30],\"weight\":[0,0,0,0,0],\"rest\":[60,60,60,60,60],\"reps\":[25,25,25,25,25]},\"numSeries\":5},{\"id\":300899818,\"idExe\":300780755,\"name\":\"FLEXION BARRE SUPINATION\",\"comment\":null,\"number\":54,\"type\":0,\"photo\":\"/media/exercise/300780755/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899858],\"pulseMin\":[0],\"pulseMax\":[0],\"weightPerc\":[50],\"weight\":[0],\"rest\":[30],\"reps\":[12]},\"numSeries\":1}],\"numExe\":2},{\"id\":300899796,\"type\":1,\"exercises\":[{\"id\":300899809,\"idExe\":300780707,\"name\":\"RAMER RAPIDE ELASTIQUE\",\"comment\":null,\"number\":64,\"type\":0,\"photo\":\"/media/exercise/300780707/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899821,300899832,300899841,300899851],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[30,30,30,30],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[50,50,50,50]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899797,\"type\":1,\"exercises\":[{\"id\":300899810,\"idExe\":300780514,\"name\":\"FENTE AVANT BARRE\",\"comment\":null,\"number\":78,\"type\":0,\"photo\":\"/media/exercise/300780514/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899822,300899833,300899842],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[50,50,50],\"weight\":[0,0,0],\"rest\":[60,60,60],\"reps\":[15,15,15]},\"numSeries\":3}],\"numExe\":1},{\"id\":300899798,\"type\":1,\"exercises\":[{\"id\":300899815,\"idExe\":300780738,\"name\":\"TIRAGE POULIE BAS\",\"comment\":null,\"number\":15,\"type\":0,\"photo\":\"/media/exercise/300780738/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899828,300899837,300899847,300899854],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[0,0,0,0],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[15,15,15,15]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899799,\"type\":1,\"exercises\":[{\"id\":300899811,\"idExe\":300780697,\"name\":\"OBLIQUES ROTATION MDB\",\"comment\":null,\"number\":54,\"type\":0,\"photo\":\"/media/exercise/300780697/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899823,300899834,300899843],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[30,30,30],\"weight\":[0,0,0],\"rest\":[60,60,60],\"reps\":[30,30,30]},\"numSeries\":3}],\"numExe\":1},{\"id\":300899800,\"type\":1,\"exercises\":[{\"id\":300899817,\"idExe\":300780755,\"name\":\"FLEXION BARRE SUPINATION\",\"comment\":null,\"number\":54,\"type\":0,\"photo\":\"/media/exercise/300780755/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899830,300899839,300899849,300899856],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[0,0,0,0],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[15,15,15,15]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899801,\"type\":1,\"exercises\":[{\"id\":300899816,\"idExe\":300780550,\"name\":\"CRUNCH COMPLET\",\"comment\":null,\"number\":32,\"type\":0,\"photo\":\"/media/exercise/300780550/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899829,300899838,300899848,300899855],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[0,0,0,0],\"weight\":[0,0,0,0],\"rest\":[60,60,60,60],\"reps\":[15,15,15,15]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899802,\"type\":1,\"exercises\":[{\"id\":300899813,\"idExe\":300780626,\"name\":\"ELEVATION FRONTALE BARRE\",\"comment\":null,\"number\":104,\"type\":0,\"photo\":\"/media/exercise/300780626/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899825,300899836,300899845],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[70,70,70],\"weight\":[0,0,0],\"rest\":[120,120,120],\"reps\":[12,12,12]},\"numSeries\":3}],\"numExe\":1},{\"id\":300899803,\"type\":1,\"exercises\":[{\"id\":300899812,\"idExe\":300780538,\"name\":\"ELEVATION EPAULES BARRE\",\"comment\":null,\"number\":142,\"type\":0,\"photo\":\"/media/exercise/300780538/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899824,300899835,300899844,300899852],\"pulseMin\":[0,0,0,0],\"pulseMax\":[0,0,0,0],\"weightPerc\":[70,70,70,70],\"weight\":[0,0,0,0],\"rest\":[120,120,120,120],\"reps\":[12,12,12,12]},\"numSeries\":4}],\"numExe\":1},{\"id\":300899804,\"type\":1,\"exercises\":[{\"id\":300899806,\"idExe\":300780564,\"name\":\"XXXX\",\"comment\":null,\"number\":10,\"type\":1,\"photo\":null,\"videoUrl\":null,\"series\":{\"ids\":[300899826],\"duration\":[0],\"speed\":[0],\"inclination\":[0],\"distance\":[0],\"rpm\":[0],\"levelMin\":[0],\"levelMax\":[0],\"pulseMin\":[0],\"pulseMax\":[0],\"rest\":[0]},\"numSeries\":1}],\"numExe\":1},{\"id\":300899805,\"type\":1,\"exercises\":[{\"id\":300899814,\"idExe\":300780695,\"name\":\"MONTE DE BANC 1 JAMBE\",\"comment\":null,\"number\":52,\"type\":0,\"photo\":\"/media/exercise/300780695/photo\",\"videoUrl\":null,\"series\":{\"ids\":[300899827,300899846,300899853],\"pulseMin\":[0,0,0],\"pulseMax\":[0,0,0],\"weightPerc\":[50,0,50],\"weight\":[0,0,0],\"rest\":[60,60,60],\"reps\":[20,20,20]},\"numSeries\":3}],\"numExe\":1}]"}],"_postman_id":"faaf28cd-d225-4514-8193-6ab351dcab33"},{"name":"/api/userWorkoutPlanDay/:id","id":"543e77d6-8194-4323-b6e0-fd6e936d5341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanDay/:id","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"524bedf6-b29f-4cea-8b77-b3bf48a1e252","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"543e77d6-8194-4323-b6e0-fd6e936d5341"},{"name":"/api/userWorkoutPlanDay/:id/configureSets","id":"7504f372-497e-44c6-9160-2305852fe966","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"cardio\": {\n    \"duration\": 1600,\n    \"f1\": 12,\n    \"f2\": 4\n  },\n  \"machine\": {\n    \"sets\": [\n      [60, 10, 30, null],\n      [50, 10, 30, null],\n      [60, 12, 30, null]\n    ]\n  }\n}"},"url":"{{url}}/api/userWorkoutPlanDay/:id/configureSets","description":"<p>Sets the exercise details</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","configureSets"],"host":["{{url}}"],"query":[],"variable":[{"id":"c4bbdc8c-a5bc-44fc-8de9-862030f20570","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[{"id":"ef44773d-88ba-49dc-bc3b-6479df1ebab5","name":"Configure Sets : Generic Configuration","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"cardio\": {\n\t\t\"duration\": 1600\n\t},\n\t\"machine\": {\n\t\t\"sets\": [\n\t\t\t[60, 10, 30, null],\n\t\t\t[50, 10, 30, null]\n\t\t]\n\t}\n}"},"url":{"raw":"{{url}}/api/userWorkoutPlanDay/:id/configureSets","host":["{{url}}"],"path":["api","userWorkoutPlanDay",":id","configureSets"],"variable":[{"key":"id","value":"{{_idUserWorkoutPlanDay}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7504f372-497e-44c6-9160-2305852fe966"},{"name":"/api/userWorkoutPlanDay/:id/countSessions","id":"6d2d52ba-0b44-4bbd-b6c5-163599c94182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanDay/:id/countSessions","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id","countSessions"],"host":["{{url}}"],"query":[],"variable":[{"id":"f86a021b-62b6-4d42-9442-888fb24d6284","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"6d2d52ba-0b44-4bbd-b6c5-163599c94182"},{"name":"/api/userWorkoutPlanDay/:id","id":"3e74421e-82a9-471c-8e05-f2795e1948e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userWorkoutPlanDay/:id","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDay",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"df94ade7-faa3-4d67-8c67-1a46f041885a","type":"string","value":"{{_idUserWorkoutPlanDay}}","key":"id"}]}},"response":[],"_postman_id":"3e74421e-82a9-471c-8e05-f2795e1948e2"}],"id":"d1b180ef-82dc-4271-9724-efbc9093439c","_postman_id":"d1b180ef-82dc-4271-9724-efbc9093439c","description":""},{"name":"/userWorkoutPlanSequence","item":[{"name":"/api/userWorkoutPlanSequence/:id","id":"5cff3a9f-f5b6-42a2-89a4-13c2e5ea2342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userWorkoutPlanSequence/:idSequence","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanSequence",":idSequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"54da98b8-0fb9-4e7f-a2ec-023c75a00448","type":"string","value":"{{_idSequence}}","key":"idSequence"}]}},"response":[],"_postman_id":"5cff3a9f-f5b6-42a2-89a4-13c2e5ea2342"},{"name":"/api/userWorkoutPlanSequence/:id","id":"e95f5110-477a-4c62-916e-bf13046ef167","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanSequence/:idSequence","description":"<p>Updates the exercices' order within a sequence</p>\n","urlObject":{"path":["api","userWorkoutPlanSequence",":idSequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"b61b047a-182b-4f2d-9f3b-4202288236cd","type":"string","value":"{{_idSequence}}","key":"idSequence"}]}},"response":[],"_postman_id":"e95f5110-477a-4c62-916e-bf13046ef167"},{"name":"/api/userWorkoutPlanSequence/:id/reorder","id":"ee3f289e-5b25-4a4b-a64e-a12bd63d73b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  101019478, \n    101019476,\n  101019477\n]"},"url":"{{url}}/api/userWorkoutPlanSequence/101019472/reorder","description":"<p>Updates the exercices' order within a sequence</p>\n","urlObject":{"path":["api","userWorkoutPlanSequence","101019472","reorder"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee3f289e-5b25-4a4b-a64e-a12bd63d73b5"},{"name":"/api/userWorkoutPlanSequence/:id/addExercises","id":"48a74b5b-c65d-4943-a3dc-40415ddb94b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  300607735\n]"},"url":"{{url}}/api/userWorkoutPlanSequence/:idSequence/addExercises","description":"<p>Updates the exercices' order within a sequence</p>\n","urlObject":{"path":["api","userWorkoutPlanSequence",":idSequence","addExercises"],"host":["{{url}}"],"query":[],"variable":[{"id":"58a0c04f-590a-4654-9745-b0f562935a48","type":"string","value":"300900281","key":"idSequence"}]}},"response":[],"_postman_id":"48a74b5b-c65d-4943-a3dc-40415ddb94b8"},{"name":"__/api/userWorkoutPlanSequence/:id/generator","id":"ee5cf342-b013-4bad-8e75-3785cefe8c23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanSequence/:idSequence","description":"<p>Updates the exercices' order within a sequence</p>\n","urlObject":{"path":["api","userWorkoutPlanSequence",":idSequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"739062e4-ee28-40e1-aa71-6693e89791ac","type":"string","value":"{{_idSequence}}","key":"idSequence"}]}},"response":[],"_postman_id":"ee5cf342-b013-4bad-8e75-3785cefe8c23"},{"name":"__/api/userWorkoutPlanSequence/:id/sets","id":"b8cf6f1b-c53d-4173-83d9-fb249ed6aea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userWorkoutPlanSequence/:idSequence","description":"<p>Updates the exercices' order within a sequence</p>\n","urlObject":{"path":["api","userWorkoutPlanSequence",":idSequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"3c60ea48-5719-4f94-af42-b10c08bc21f9","type":"string","value":"{{_idSequence}}","key":"idSequence"}]}},"response":[],"_postman_id":"b8cf6f1b-c53d-4173-83d9-fb249ed6aea8"}],"id":"1023182f-613f-4850-90ea-ce6877a22ce5","_postman_id":"1023182f-613f-4850-90ea-ce6877a22ce5","description":""},{"name":"/userWorkoutPlanDetail","item":[{"name":"/api/userWorkoutPlanDetail/:id","id":"aba6eb47-db45-4a5b-a0c2-d118dd02959d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userWorkoutPlanDetail/:idSequence","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDetail",":idSequence"],"host":["{{url}}"],"query":[],"variable":[{"id":"077058ed-8fe2-42ba-874e-4b505b4d8346","type":"string","value":"300900271","key":"idSequence"}]}},"response":[],"_postman_id":"aba6eb47-db45-4a5b-a0c2-d118dd02959d"},{"name":"/api/userWorkoutPlanDetail/:id/setSeries","id":"9e8afd2b-a111-4b97-97bd-a0b2b70452d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"rep\": 12,\n    \"weight\": 50,\n    \"duration\": 60,\n    \"weightPerc\": 60\n  },\n  {\n    \"rep\": 12,\n    \"weight\": 50,\n    \"duration\": 60,\n    \"weightPerc\": 60\n  },\n  {\n    \"rep\": 12,\n    \"weight\": 50,\n    \"duration\": 60,\n    \"weightPerc\": 60\n  },\n  {\n    \"rep\": 12,\n    \"weight\": 50,\n    \"duration\": 60,\n    \"weightPerc\": 60\n  }\n]"},"url":"{{url}}/api/userWorkoutPlanDetail/:idDetail/setSeries","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","userWorkoutPlanDetail",":idDetail","setSeries"],"host":["{{url}}"],"query":[],"variable":[{"id":"6e0f4dd8-29aa-4ef3-916a-daa8c6575b4b","type":"string","value":"300900223","key":"idDetail"}]}},"response":[],"_postman_id":"9e8afd2b-a111-4b97-97bd-a0b2b70452d0"},{"name":"/api/userWorkoutPlanDetail/:id","id":"2c0efb2f-99d0-4825-bd48-c5012fb6edfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"sdasdasds\"\n}"},"url":"{{url}}/api/userWorkoutPlanDetail/:id?idClient=29082","description":"<p>Updates exercise comment</p>\n","urlObject":{"path":["api","userWorkoutPlanDetail",":id"],"host":["{{url}}"],"query":[{"key":"idClient","value":"29082"}],"variable":[{"type":"string","value":"301268562","key":"id"}]}},"response":[{"id":"659b0348-3d38-4270-bbd4-12f314b68aa2","name":"Configure Sets : Generic Configuration","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"cardio\": {\n\t\t\"duration\": 1600\n\t},\n\t\"machine\": {\n\t\t\"sets\": [\n\t\t\t[60, 10, 30, null],\n\t\t\t[50, 10, 30, null]\n\t\t]\n\t}\n}"},"url":{"raw":"{{url}}/api/userWorkoutPlanDay/:id/configureSets","host":["{{url}}"],"path":["api","userWorkoutPlanDay",":id","configureSets"],"variable":[{"key":"id","value":"{{_idUserWorkoutPlanDay}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2c0efb2f-99d0-4825-bd48-c5012fb6edfd"}],"id":"263ea46a-1717-40b5-94d9-7d5ada2b2e52","_postman_id":"263ea46a-1717-40b5-94d9-7d5ada2b2e52","description":""},{"name":"/activitiesSport","item":[{"name":"/api/activitiesSport","id":"963df8f5-15f2-465c-bc42-3f2315493113","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/activitiesSport","description":"<p>Get's the data related to a particular client</p>\n","urlObject":{"path":["api","activitiesSport"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"963df8f5-15f2-465c-bc42-3f2315493113"}],"id":"ee909361-142c-45ff-aaa3-1bcd57ebbd9f","_postman_id":"ee909361-142c-45ff-aaa3-1bcd57ebbd9f","description":""},{"name":"/exerciseLevel","item":[{"name":"/exerciseLevel","id":"a13985d5-1caa-429b-906d-6ef2d59cead0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/exerciseLevel","urlObject":{"path":["api","exerciseLevel"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a13985d5-1caa-429b-906d-6ef2d59cead0"},{"name":"/exerciseLevel","id":"eb865687-0d71-4d0e-ac42-caac5e058281","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Hard\",\n  \"default\": true\n}"},"url":"{{url}}/api/exerciseLevel","urlObject":{"path":["api","exerciseLevel"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb865687-0d71-4d0e-ac42-caac5e058281"}],"id":"9665173f-d005-474b-b613-3e8dcfe1a9a9","_postman_id":"9665173f-d005-474b-b613-3e8dcfe1a9a9","description":""},{"name":"/coach","item":[{"name":"/coach/userWorkouts/browse","id":"04a85a73-66b8-45d7-a202-2e6029dd4da7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/coach/userWorkouts/browse?limit=10&offset=0&states=EXPIRED","urlObject":{"path":["api","coach","userWorkouts","browse"],"host":["{{url}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"},{"description":{"content":"<p>'ACTIVE'|'EXPIRED'|'STARTING_SOON'|'EXPIRING_SOON'|'SCHEDULED'|'NEVER_HAD_WKPL'</p>\n","type":"text/plain"},"key":"states","value":"EXPIRED"}],"variable":[]}},"response":[],"_postman_id":"04a85a73-66b8-45d7-a202-2e6029dd4da7"},{"name":"/userWorkouts/stats","id":"2c937b98-7a1c-4a51-b283-d073d677fc9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/coach/userWorkouts/stats","urlObject":{"path":["api","coach","userWorkouts","stats"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c937b98-7a1c-4a51-b283-d073d677fc9b"}],"id":"6efd4670-0b99-43a7-8267-b07e3d99bcd9","_postman_id":"6efd4670-0b99-43a7-8267-b07e3d99bcd9","description":""},{"name":"/activityLog","item":[{"name":"/activityLog/:id","id":"9b0367ae-983e-440e-8887-780f95f908b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"weight\": 60,\n    \"reps\": 10,\n    \"order\": 1\n}"},"url":"{{url}}/api/activityLog/101014895","description":"<p>Adds an activity to the user activity log. \nExample: I went for a walk for 30min at 10km/h.\nThe system will then calculate the rest of the values</p>\n","urlObject":{"path":["api","activityLog","101014895"],"host":["{{url}}"],"query":[],"variable":[{"id":"ccfa0c56-1e03-46df-b0b2-65ec800f7076","type":"string","value":"301129063","key":"idActivityLog"}]}},"response":[],"_postman_id":"9b0367ae-983e-440e-8887-780f95f908b1"},{"name":"/activityLog/:id","id":"4b7ac1c1-a9ff-4044-a485-3d165839ea67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/activityLog/:idActivityLog?idClient=2908","description":"<p>Deletes an activity from the activity log</p>\n","urlObject":{"path":["api","activityLog",":idActivityLog"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"}],"variable":[{"type":"string","value":"301321891","key":"idActivityLog"}]}},"response":[],"_postman_id":"4b7ac1c1-a9ff-4044-a485-3d165839ea67"},{"name":"/activityLog/:id","id":"7f99ed33-592f-485e-bed6-a4907afa994a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/activityLog/:idActivityLog","description":"<p>Reads a particular activity record from the activity log table.</p>\n","urlObject":{"path":["api","activityLog",":idActivityLog"],"host":["{{url}}"],"query":[],"variable":[{"id":"2c1f949f-78bd-42e1-b027-1f68a96e3bb5","type":"string","value":"301129063","key":"idActivityLog"}]}},"response":[],"_postman_id":"7f99ed33-592f-485e-bed6-a4907afa994a"},{"name":"/activityLog/list","event":[{"listen":"test","script":{"id":"6e5b1079-69af-402d-b222-0b00a4ce86c4","exec":["var d = JSON.parse(responseBody)","if (d && d.length){","    postman.setEnvironmentVariable('_idActivityLog', d[0].id);","}"],"type":"text/javascript"}}],"id":"1b04376f-6057-4902-b952-da1f28af2ca1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/activityLog/list?idClient=2908&startDate=2020-06-16&endDate=2020-06-16&_limit=10&_offset=0&_paginate=true&includeExercise=true&includeActivity=true","description":"<p>Returns all activity records performed by the client.</p>\n<p>@deprecation: \nProperties such as number, name, viodeUrl, type, photo were moved to \"exercise\"\nAvoid accessing them in the root since they will be removed in future versions.</p>\n","urlObject":{"path":["api","activityLog","list"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>(Required: Option1)</p>\n","type":"text/plain"},"key":"idWorkoutSession","value":"2908"},{"description":{"content":"<p>(optional) [requires_admin]</p>\n","type":"text/plain"},"key":"idClient","value":"2908"},{"description":{"content":"<p>(optional) The start of the period</p>\n","type":"text/plain"},"key":"startDate","value":"2020-06-16"},{"description":{"content":"<p>(optional) The end of the period</p>\n","type":"text/plain"},"key":"endDate","value":"2020-06-16"},{"disabled":true,"description":{"content":"<p>(optional) Default = false; Returns the stats along with the response</p>\n","type":"text/plain"},"key":"includeStats","value":null},{"description":{"content":"<p>(optional) Default = 10</p>\n","type":"text/plain"},"key":"_limit","value":"10"},{"description":{"content":"<p>(optional) Default = 0</p>\n","type":"text/plain"},"key":"_offset","value":"0"},{"description":{"content":"<p>(optional) Default = false</p>\n","type":"text/plain"},"key":"_paginate","value":"true"},{"description":{"content":"<p>(optional) Default = false : When true includes exercise metadata</p>\n","type":"text/plain"},"key":"includeExercise","value":"true"},{"description":{"content":"<p>(optional) Default = false: When true includes the activity metadata</p>\n","type":"text/plain"},"key":"includeActivity","value":"true"},{"disabled":true,"description":{"content":"<p>List of ids of target exercises</p>\n","type":"text/plain"},"key":"idExes","value":"300607759,300607715"},{"disabled":true,"description":{"content":"<p>List of ids for target sport activities</p>\n","type":"text/plain"},"key":"idActs","value":"1"}],"variable":[]}},"response":[],"_postman_id":"1b04376f-6057-4902-b952-da1f28af2ca1"},{"name":"/activityLog/stats","event":[{"listen":"test","script":{"id":"b03691ba-72a6-469d-8a29-234de3e6e81a","exec":["var d = JSON.parse(responseBody)","if (d && d.length){","    postman.setEnvironmentVariable('_idActivityLog', d[0].id);","}"],"type":"text/javascript"}}],"id":"41d09185-e1fe-4f2f-ac42-fcce56327856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/activityLog/stats?idClient=300329692&idExes=300607739&sinceLastXMonths=3&stackByDate=false","description":"<p>Returns all activity records performed during a particular workoutSession</p>\n<p>Starting at version ws v1.3.3 this method will allow your to fetch exercises for a given user and one or more exercise ids.</p>\n","urlObject":{"path":["api","activityLog","stats"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(:number) The id client</p>\n","type":"text/plain"},"key":"idClient","value":"300329692"},{"description":{"content":"<p>(?: number[]) Filter stats concerning specific exercises</p>\n","type":"text/plain"},"key":"idExes","value":"300607739"},{"description":{"content":"<p>(?: number) The number of months to be analysed - Ignored when \"date\" is provided.</p>\n","type":"text/plain"},"key":"sinceLastXMonths","value":"3"},{"disabled":true,"description":{"content":"<p>(?: Date) The date to be analysed</p>\n","type":"text/plain"},"key":"startDate","value":"2020-11-04"},{"description":{"content":"<p>(?: boolean - default=true) Stacks stats by date</p>\n","type":"text/plain"},"key":"stackByDate","value":"false"},{"disabled":true,"key":"endDate","value":""}],"variable":[]}},"response":[],"_postman_id":"41d09185-e1fe-4f2f-ac42-fcce56327856"},{"name":"/activityLog","id":"cd1f96db-05eb-4918-8e3a-18bc3f83f4d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"idExe\": 300607704,\n    \"cliNote\": \"Awesome Workout\",\n    \"weight\": 84.4,\n    \"reps\": 10\n  },\n  {\n    \"idActivity\": 301370734,\n    \"cliNote\": \"Hard session I made\",\n    \"duration\": 900,\n    \"speed\": 25 \n  },\n  {\n    \"idActivity\": 301370734,\n    \"cliNote\": \"Awesome Activity #1\",\n    \"duration\": 200,\n    \"distance\": 1000\n  }\n]"},"url":"{{url}}/api/activityLog?idWorkoutSession=&idClient=2908","description":"<p>Adds one or more <strong>activity records</strong> to the user's activity log.</p>\n<p>If you want to group these new entries together in a particular workout session, you can provide the query param <code>?idWorkoutSession=...</code></p>\n<p><strong>Note:</strong>\n<strong>Required fields when inserting an exercise</strong>\nDepends on the exercise type. \nFor example, for Machine exercises, weight, reps is required</p>\n<p><strong>Required fields when inserting an activity</strong>\n\"distance\" or \"speed\" is required</p>\n","urlObject":{"path":["api","activityLog"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"key":"idWorkoutSession","value":""},{"key":"idClient","value":"2908"}],"variable":[]}},"response":[],"_postman_id":"cd1f96db-05eb-4918-8e3a-18bc3f83f4d9"}],"id":"935e13df-9a54-4db7-a6f2-5c1840087082","_postman_id":"935e13df-9a54-4db7-a6f2-5c1840087082","description":""},{"name":"/workoutPlanTemplateDetail","item":[{"name":"/api/workoutPlanTemplateDetail/:id","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""]}}],"id":"e5c96d21-4e82-4e67-9df6-6f9dab6b32f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/workoutPlanTemplateDetail/:id?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplateDetail",":id"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[{"id":"9c8d3964-3d72-4011-bca3-42f924a8eca7","type":"string","value":"301130915","key":"id"}]}},"response":[],"_postman_id":"e5c96d21-4e82-4e67-9df6-6f9dab6b32f9"},{"name":"/api/workoutPlanTemplateDetail/:id/setSeries","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""]}}],"id":"5fac70fe-0fb9-4d0b-98d8-46c6fec0c6e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n  300607710,\n  300607711\n]"},"url":"{{url}}/api/workoutPlanTemplateDetail/:id/setSeries?","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplateDetail",":id","setSeries"],"host":["{{url}}"],"query":[{"disabled":true,"key":"q","value":"K"},{"disabled":true,"key":"tags","value":"10"},{"disabled":true,"key":"level","value":"0"}],"variable":[{"id":"b3976c40-1307-4d33-9af5-28287ce3d118","type":"string","value":"301130916","key":"id"}]}},"response":[],"_postman_id":"5fac70fe-0fb9-4d0b-98d8-46c6fec0c6e9"},{"name":"/api/workoutPlanTemplateDetail/:id","event":[{"listen":"test","script":{"id":"44e82302-526e-4de2-b889-32fcf451da48","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutPlanDayTemplate\", jsonData[0][\"id\"]); ","}","",""],"type":"text/javascript"}}],"id":"7ca11e09-440d-4f17-8dc3-e9a77cda2251","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"comment\": \"hello world\"\n}"},"url":"{{url}}/api/workoutPlanTemplateDetail/:id","description":"<p>Creates a new workout session. This session can be \"scheduled\" to a particular date or a past session if the date of completion and start is set to something before of our current time</p>\n","urlObject":{"path":["api","workoutPlanTemplateDetail",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"string","value":"300781923","key":"id"}]}},"response":[],"_postman_id":"7ca11e09-440d-4f17-8dc3-e9a77cda2251"}],"id":"75d7110e-688e-43dd-b74b-60caa31afc24","_postman_id":"75d7110e-688e-43dd-b74b-60caa31afc24","description":""},{"name":"/workoutSession","item":[{"name":"/api/workoutSession/list","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","if (jsonData && jsonData.length){","    postman.setEnvironmentVariable(\"_idWorkoutSession\", jsonData[0].id);","}"]}}],"id":"f891a18d-72a3-4f7a-972b-20641a132a58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutSession/list?from=2017-01-21","description":"<p><b>Filtering Params:</b></p>\n<ul>\n<li>from {Date} Limit data starting on</li>\n<li>to {Date} Limit data up to</li>\n<li>offset {Number} Num of rows to be skipped</li>\n<li>limit {Number} Limit the number of rows</li>\n<li>numDays {Number} Number of days to be fetched</li>\n<li>numWeeks {Number} Number of weeks to be fetched</li>\n<li>workoutPlanId {Number} Restrict results to workout sessions created from this workout plan id</li>\n<li>workoutDayId {Number} Restrict results to workout sessions created from this workout plan day id</li>\n<li>user {Number} Restrict results to this user</li>\n</ul>\n<p><b>How the above params are used</b>:\nif upcoming is present as query parameter, then you can use \"numDays\" or \"numWeeks\" (not both at the same time otherwise numDays is used) If upcoming is NOT provided then we will check if \"from\" and/or \"to\" is present to restrict the results in a time based scope\nBoth workoutPlanId and workoutDayId are applied when provided. \"workoutPlanId\" can be use without \"workoutDayId\" and vice-versa.</p>\n","urlObject":{"path":["api","workoutSession","list"],"host":["{{url}}"],"query":[{"key":"from","value":"2017-01-21"}],"variable":[]}},"response":[],"_postman_id":"f891a18d-72a3-4f7a-972b-20641a132a58"},{"name":"/api/workoutSession/:id","id":"2fe41ce7-af0a-4f46-8bbf-7db636a2fd99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": 100485635,\n    \"name\": \"Workout A: Day XXX #12\",\n    \"workoutId\": 100073949,\n    \"workoutDay\": 1,\n    \"duration\": null,\n    \"completed\": true,\n    \"startDate\": \"2017-04-20T09:10:00.000Z\",\n    \"warningOn\": null,\n    \"feedback1\": 1,\n    \"feedback2\": 1,\n    \"cliNotes\": null,\n    \"scheduleDate\": \"2017-02-20T09:10:00.000Z\"\n}"},"url":"{{url}}/api/workoutSession/:id","description":"<p>Creates a new workout session. This session can be just scheduled to a particular date or a session that was already completed</p>\n","urlObject":{"path":["api","workoutSession",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"d77df166-a88f-4f7e-8e5c-e79ae930ab87","type":"string","value":"{{_idWorkoutSession}}","key":"id"}]}},"response":[],"_postman_id":"2fe41ce7-af0a-4f46-8bbf-7db636a2fd99"},{"name":"/api/workoutSession/:id","id":"34707f66-7511-4c3c-8fbb-820be98e788c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutSession/:id","description":"<p>Creates a new workout session. This session can be just scheduled to a particular date or a session that was already completed</p>\n","urlObject":{"path":["api","workoutSession",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"7b3f4426-da8e-42ef-b365-4da80c882232","type":"string","value":"{{_idWorkoutSession}}","key":"id"}]}},"response":[],"_postman_id":"34707f66-7511-4c3c-8fbb-820be98e788c"},{"name":"/api/workoutSession/:id","id":"b7f929f2-9d4a-448a-8f8e-bdf35cc3adb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/workoutSession/:id","description":"<p>Creates a new workout session. This session can be just scheduled to a particular date or a session that was already completed</p>\n","urlObject":{"path":["api","workoutSession",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"40a65a41-c696-473a-914c-1c794b5c6e7d","type":"string","value":"{{_idWorkoutSession}}","key":"id"}]}},"response":[],"_postman_id":"b7f929f2-9d4a-448a-8f8e-bdf35cc3adb5"},{"name":"/api/workoutSession","id":"5016db92-a8aa-400d-a24a-13a773f20a8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My workout Session #12\",  \n  \"idWorkoutPlanDay\": null,\n    \"scheduleDate\": \"2017-02-20 10:10:00\",\n    \"cliNotes\": \"adoasdasdas\"\n}"},"url":"{{url}}/api/workoutSession","description":"<p>Creates a new workout session. \nIt's possible to schedule a session if the date of completion and start is set to something before of our current time.\nAlso it's possible to use the property \"scheduleDate\" without providing a start or end date.</p>\n<p>It's possible to provide a property named \"idUser\" in the payload when, for example, the workout session is being created by the user</p>\n","urlObject":{"path":["api","workoutSession"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5016db92-a8aa-400d-a24a-13a773f20a8a"},{"name":"/workoutSession/:id/log","id":"34e819b6-c7a3-451e-aed6-bb089c107f19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"idExe\": 300607715,\n        \"weight\": 0,\n        \"reps\": 10\n    },\n    {\n        \"idExe\": 300607719,\n        \"weight\": 0,\n        \"reps\": 10\n    },\n    {\n        \"idExe\": 300607724,\n        \"weight\": 0,\n        \"reps\": 10\n    },\n    {\n        \"idExe\": 300607722,\n        \"weight\": 0,\n        \"reps\": 10\n    },\n    {\n        \"idExe\": 300607712,\n        \"weight\": 0,\n        \"reps\": 10\n    },\n    {\n        \"idExe\": 300607749,\n        \"weight\": 0,\n        \"reps\": 10\n    },\n    {\n        \"idExe\": 300607759,\n        \"weight\": 0,\n        \"reps\": 10\n    }\n]"},"url":"{{url}}/api/workoutSession/301128983/log","description":"<p>Adds activities for a particular workout session</p>\n","urlObject":{"path":["api","workoutSession","301128983","log"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"34e819b6-c7a3-451e-aed6-bb089c107f19"},{"name":"/workoutSession/:id/log","id":"d46ffde4-4ef0-4b1a-b859-0a16e1fa73f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/workoutSession/301267336/log","description":"<p>Retrives the list of activities performed during this workout session</p>\n","urlObject":{"path":["api","workoutSession","301267336","log"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d46ffde4-4ef0-4b1a-b859-0a16e1fa73f3"}],"id":"2cc63e80-77af-4084-b9f9-9d091cf506c3","_postman_id":"2cc63e80-77af-4084-b9f9-9d091cf506c3","description":""},{"name":"/userMedicalCertificate (>=12.6)","item":[{"name":"/userMedicalCertificate","id":"453cd534-78f5-41f4-b1a7-39de649cba9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userMedicalCertificate","urlObject":{"path":["api","userMedicalCertificate"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"453cd534-78f5-41f4-b1a7-39de649cba9d"},{"name":"/userMedicalCertificate/:id","id":"f199a16b-1553-4109-9ccf-601041f9abfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userMedicalCertificate/:id","urlObject":{"path":["api","userMedicalCertificate",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"b0fe694b-4533-499c-8551-62b1292a70f2","type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"f199a16b-1553-4109-9ccf-601041f9abfd"},{"name":"/userMedicalCertificate","id":"659cb56f-1a24-46b3-96fc-baa9ca4ed5e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null},{"key":"data","value":"{\\\"start\\\":\\\"2017-03-20\\\", \\\"end\\\":\\\"2017-03-20\\\"}","description":"<p>Raw JSON stringify</p>\n","type":"text"}]},"url":"{{url}}/api/userMedicalCertificate","urlObject":{"path":["api","userMedicalCertificate"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"659cb56f-1a24-46b3-96fc-baa9ca4ed5e8"},{"name":"/userMedicalCertificate/:id","id":"4d177be3-351b-46b9-8a2f-196ae36ab99e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"debut\": \"2017-02-20\",\n  \"end\": \"2018-04-20\",\n  \"idDocument\": 300329535\n}"},"url":"{{url}}/api/userMedicalCertificate/:id","urlObject":{"path":["api","userMedicalCertificate",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"4b879bd3-5383-4d06-a76b-615f64b12aa4","type":"string","value":"301132730","key":"id"}]}},"response":[],"_postman_id":"4d177be3-351b-46b9-8a2f-196ae36ab99e"},{"name":"/userMedicalCertificate/:id","id":"3dcf6e72-ff2a-44b7-8f19-767e2a699b73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userMedicalCertificate/:id","urlObject":{"path":["api","userMedicalCertificate",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"c45cf844-13b2-418e-a398-2052946fcfd2","type":"string","value":"300070157","key":"id"}]}},"response":[],"_postman_id":"3dcf6e72-ff2a-44b7-8f19-767e2a699b73"}],"id":"b2a8cbb2-854b-44c7-85d5-745ffa985486","_postman_id":"b2a8cbb2-854b-44c7-85d5-745ffa985486","description":""}],"id":"5810b8b5-7dbc-4765-be87-dbf5b6ed95dd","event":[{"listen":"prerequest","script":{"id":"ee5d6724-593d-4977-b5d9-a406e6341c5d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f28eddc0-6bc7-4164-b74e-78a062e34112","type":"text/javascript","exec":[""]}}],"_postman_id":"5810b8b5-7dbc-4765-be87-dbf5b6ed95dd","description":""},{"name":"@TEP/CONFIG","item":[{"name":"/tepRights","item":[{"name":"/api/tepRights (>= 12.8.7)","id":"40c10809-dd2e-4726-bd7f-77dabec0e28b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/tepRights","urlObject":{"path":["api","tepRights"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"40c10809-dd2e-4726-bd7f-77dabec0e28b"},{"name":"/api/tepRights (>= 12.8.7)","id":"4a5083e4-b11d-40d6-83c0-74ce3db3c495","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"config\": {\n    \t\"useTep\": false,\n\t    \"create\": true,\n\t    \"createdByCoach\": {\n\t        \"deletePlan\": true,\n\t        \"updatePlanStructure\": true,\n\t        \"updateSeries\": true,\n\t        \"updateCharges\": true\n\t    },\n\t    \"useWorkoutPlayer\": true\n    },\n    \"condition\": 1\n}"},"url":"{{url}}/api/tepRights","description":"<p>Condition:</p>\n<ul>\n<li>1: All customers (The configuration will be applied to the global scope.)</li>\n<li>2: Active customers</li>\n<li>3: Not active customers</li>\n</ul>\n","urlObject":{"path":["api","tepRights"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a5083e4-b11d-40d6-83c0-74ce3db3c495"}],"id":"64bfabbd-f0ad-4808-a877-09a0338720ee","_postman_id":"64bfabbd-f0ad-4808-a877-09a0338720ee","description":""},{"name":"/tepSettings","item":[{"name":"/api/tepSettings (>= 12.6)","id":"eb13bbf5-b2b9-4304-b76e-b6d27a7c269b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/tepSettings","urlObject":{"path":["api","tepSettings"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb13bbf5-b2b9-4304-b76e-b6d27a7c269b"}],"id":"c8f3808a-3e10-418a-8a95-8af04a9e94ee","_postman_id":"c8f3808a-3e10-418a-8a95-8af04a9e94ee","description":""},{"name":"/tepCalculator","item":[{"name":"/api/tepCalculator/bilan","id":"2a5c5d83-72ba-4fae-aa72-7d8aec6d11b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"age\": 18,\n  \"weight\": 80,\n  \"gender\": 0,\n  \"pal\": 1.425,\n  \"height\": 178,\n  \"waist\": 100,\n  \"hip\": 120\n}"},"url":"{{url}}/api/tepCalculator/bilan","urlObject":{"path":["api","tepCalculator","bilan"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c79e2e10-11b3-4403-a8cb-8f802bf78850","name":"Provide a pre-calculated PAL","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}","type":"text","warning":""},{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"age\": 18,\n\t\"weight\": 80,\n\t\"gender\": 0,\n\t\"pal\": 1.425,\n\t\"height\": 178\n}"},"url":"{{url}}/api/tepCalculator/bilan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Origin, Content-Type, Accept","name":"access-control-allow-headers","description":""},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":""},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":""},{"key":"connection","value":"keep-alive","name":"connection","description":""},{"key":"content-length","value":"218","name":"content-length","description":""},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":""},{"key":"date","value":"Wed, 06 Dec 2017 17:24:32 GMT","name":"date","description":""},{"key":"etag","value":"W/\"da-Fqgqc8wZNX1zMxJ2X1pn9ugQPPs\"","name":"etag","description":""},{"key":"vary","value":"Accept-Encoding","name":"vary","description":""},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":""}],"cookie":[],"responseTime":null,"body":"{\"pal\":1.425,\"bmr\":1827.5,\"bmri\":1737.5,\"tdee\":2604.19,\"tdeei\":2484.625,\"meal1\":621.2,\"meal2\":993.9,\"meal3\":745.4,\"meal4\":124.2,\"protein\":621.2,\"fat\":621.2,\"carbs\":621.2,\"proteinQty\":155.3,\"fatQty\":69,\"carbsQty\":155.3}"},{"id":"f8cebf8b-42cb-4c84-a95b-68853f390521","name":"Calculate PAL while obtaining the bilan","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}","type":"text","warning":""},{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"age\": 18,\n\t\"weight\": 80,\n\t\"gender\": 0,\n\t\"palcfg\": {\n\t\t\"a\": 8,\n\t\t\"b\": 14,\n\t\t\"c\": 1,\n\t\t\"d\": 1,\n\t\t\"e\": 0,\n\t\t\"f\": 0\n\t},\n\t\"height\": 178\n}"},"url":"{{url}}/api/tepCalculator/bilan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Origin, Content-Type, Accept","name":"access-control-allow-headers","description":""},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":""},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":""},{"key":"connection","value":"keep-alive","name":"connection","description":""},{"key":"content-length","value":"218","name":"content-length","description":""},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":""},{"key":"date","value":"Wed, 06 Dec 2017 17:22:59 GMT","name":"date","description":""},{"key":"etag","value":"W/\"da-Fqgqc8wZNX1zMxJ2X1pn9ugQPPs\"","name":"etag","description":""},{"key":"vary","value":"Accept-Encoding","name":"vary","description":""},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":""}],"cookie":[],"responseTime":null,"body":"{\"pal\":1.425,\"bmr\":1827.5,\"bmri\":1737.5,\"tdee\":2604.19,\"tdeei\":2484.625,\"meal1\":621.2,\"meal2\":993.9,\"meal3\":745.4,\"meal4\":124.2,\"protein\":621.2,\"fat\":621.2,\"carbs\":621.2,\"proteinQty\":155.3,\"fatQty\":69,\"carbsQty\":155.3}"}],"_postman_id":"2a5c5d83-72ba-4fae-aa72-7d8aec6d11b8"},{"name":"/api/tepCalculator/pal","id":"eb15372b-00a1-42ce-8270-da75602bd495","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{url}}/api/tepCalculator/bilan","urlObject":{"path":["api","tepCalculator","bilan"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4286b794-b2dd-40c4-bb26-e1ec3a0db6d3","name":"Calculate PAL while obtaining the bilan","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}","type":"text","warning":""},{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"age\": 18,\n\t\"weight\": 80,\n\t\"gender\": 0,\n\t\"palcfg\": {\n\t\t\"a\": 8,\n\t\t\"b\": 14,\n\t\t\"c\": 1,\n\t\t\"d\": 1,\n\t\t\"e\": 0,\n\t\t\"f\": 0\n\t},\n\t\"height\": 178\n}"},"url":"{{url}}/api/tepCalculator/bilan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Origin, Content-Type, Accept","name":"access-control-allow-headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"connection","value":"keep-alive","name":"connection","description":"Options that are desired for the connection"},{"key":"content-length","value":"218","name":"content-length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":"The mime type of this content"},{"key":"date","value":"Wed, 06 Dec 2017 17:22:59 GMT","name":"date","description":"The date and time that the message was sent"},{"key":"etag","value":"W/\"da-Fqgqc8wZNX1zMxJ2X1pn9ugQPPs\"","name":"etag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"vary","value":"Accept-Encoding","name":"vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"pal\":1.425,\"bmr\":1827.5,\"bmri\":1737.5,\"tdee\":2604.19,\"tdeei\":2484.625,\"meal1\":621.2,\"meal2\":993.9,\"meal3\":745.4,\"meal4\":124.2,\"protein\":621.2,\"fat\":621.2,\"carbs\":621.2,\"proteinQty\":155.3,\"fatQty\":69,\"carbsQty\":155.3}"},{"id":"d56f1197-e216-44ab-8a11-cc7ff58ea9b1","name":"Provide a pre-calculated PAL","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}","type":"text","warning":""},{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"age\": 18,\n\t\"weight\": 80,\n\t\"gender\": 0,\n\t\"pal\": 1.425,\n\t\"height\": 178\n}"},"url":"{{url}}/api/tepCalculator/bilan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Origin, Content-Type, Accept","name":"access-control-allow-headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"connection","value":"keep-alive","name":"connection","description":"Options that are desired for the connection"},{"key":"content-length","value":"218","name":"content-length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":"The mime type of this content"},{"key":"date","value":"Wed, 06 Dec 2017 17:24:32 GMT","name":"date","description":"The date and time that the message was sent"},{"key":"etag","value":"W/\"da-Fqgqc8wZNX1zMxJ2X1pn9ugQPPs\"","name":"etag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"vary","value":"Accept-Encoding","name":"vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"pal\":1.425,\"bmr\":1827.5,\"bmri\":1737.5,\"tdee\":2604.19,\"tdeei\":2484.625,\"meal1\":621.2,\"meal2\":993.9,\"meal3\":745.4,\"meal4\":124.2,\"protein\":621.2,\"fat\":621.2,\"carbs\":621.2,\"proteinQty\":155.3,\"fatQty\":69,\"carbsQty\":155.3}"}],"_postman_id":"eb15372b-00a1-42ce-8270-da75602bd495"}],"id":"1054ffd1-fc8c-4a0d-94d7-5119fe0e509f","_postman_id":"1054ffd1-fc8c-4a0d-94d7-5119fe0e509f","description":""}],"id":"24f252df-d9c1-4256-81dd-bc5feced18e2","_postman_id":"24f252df-d9c1-4256-81dd-bc5feced18e2","description":""},{"name":"@CORE","item":[{"name":"/city","item":[{"name":"/api/city","event":[{"listen":"test","script":{"id":"30c3db39-9d48-4b4a-882e-e32c9b34e1ba","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"58082af7-d6ea-4864-b7d5-fdf5170861cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/city?limit=100&offset=0&q=B","urlObject":{"path":["api","city"],"host":["{{url}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"0"},{"key":"q","value":"B"}],"variable":[]}},"response":[],"_postman_id":"58082af7-d6ea-4864-b7d5-fdf5170861cf"},{"name":"/api/city/:id","event":[{"listen":"test","script":{"id":"fb780d97-8c17-432a-8d1b-50d559eb665b","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"b9acc797-249a-45f9-93b4-83a42705549b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/city/:id","urlObject":{"path":["api","city",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"6befc09d-3ef8-4e7f-af0e-ea745c6f4277","type":"string","value":"300662474","key":"id"}]}},"response":[],"_postman_id":"b9acc797-249a-45f9-93b4-83a42705549b"},{"name":"/api/city","event":[{"listen":"test","script":{"id":"73ba8126-482c-4574-b153-aed50e27b99a","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"09b46f96-0bc4-43cb-af02-d18b9e3e5646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"My test town\",\n\t\"country\": \"France\",\n\t\"postalCode\": \"84370\"\n}"},"url":"{{url}}/api/city","description":"<h1 id=\"request\">Request</h1>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    name: { type: string, minLength: 2 };\n    country: { type: string, minLength: 2 };\n    postalCode: { type: string, minLength: 4 };\n    \n}\n</code></pre><h1 id=\"response\">Response</h1>\n<p><code> {     id: { type: number }; }</code></p>\n","urlObject":{"path":["api","city"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"09b46f96-0bc4-43cb-af02-d18b9e3e5646"}],"id":"8aa0ab28-2b52-4a51-9314-7bfdb2e43f02","_postman_id":"8aa0ab28-2b52-4a51-9314-7bfdb2e43f02","description":""},{"name":"/clientType","item":[{"name":"/api/clientType/browse","event":[{"listen":"test","script":{"id":"30c3db39-9d48-4b4a-882e-e32c9b34e1ba","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}}],"id":"e43f2291-3684-49ed-a697-24d69d863987","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/clientType/browse","urlObject":{"path":["api","clientType","browse"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e43f2291-3684-49ed-a697-24d69d863987"}],"id":"2f5b35f8-5662-447e-9f8c-fae240820294","_postman_id":"2f5b35f8-5662-447e-9f8c-fae240820294","description":""},{"name":"/setNewPassword","id":"d5559a2c-2e9a-4b4b-918e-2a5a6eb27fa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"idClient\":\"300901416\",\n  \"token\":\"F9920029-4A1D-4CD9-B6A1-E8D8012A5D3E\",\n  \"password\":\"123123\"\n}"},"url":"{{url}}/api/setNewPassword","description":"<p>Given a idClient, recover token and password, we set a new password if the token is valid</p>\n","urlObject":{"path":["api","setNewPassword"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5559a2c-2e9a-4b4b-918e-2a5a6eb27fa0"}],"id":"2cb41aa4-af84-4f09-85af-2a015bfd87e1","_postman_id":"2cb41aa4-af84-4f09-85af-2a015bfd87e1","description":""},{"name":"@PARTNERS","item":[{"name":"/partners","item":[{"name":"/partners","id":"082eadd9-df5b-44b8-ba5e-122730e67835","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/partners","description":"<p>List partners</p>\n","urlObject":{"path":["api","partners"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"57e5b25a-31b3-4514-b604-61b128f852e3","name":"/partners?groupByCategory=true","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/api/partners?groupByCategory=true","host":["{{url}}"],"path":["api","partners"],"query":[{"key":"groupByCategory","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Origin, Content-Type, Accept","name":"access-control-allow-headers","description":""},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":""},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":""},{"key":"connection","value":"keep-alive","name":"connection","description":""},{"key":"content-length","value":"457","name":"content-length","description":""},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":""},{"key":"date","value":"Thu, 05 Oct 2017 12:40:48 GMT","name":"date","description":""},{"key":"etag","value":"W/\"1c9-5QQ/V4LwGBMZYYapuF2xdmih+ks\"","name":"etag","description":""},{"key":"vary","value":"Accept-Encoding","name":"vary","description":""},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":""}],"cookie":[],"responseTime":null,"body":"{\"Vetements\":[{\"id\":300901504,\"name\":\"Hello World #1\",\"logo\":\"/media/partners/300901504/logo\",\"logoExt\":null,\"desc\":\"description\",\"phone\":\"phone\",\"fb\":\"https://facebook.com\",\"tw\":\"https://twitter.com\",\"google\":\"https://google.com\",\"address1\":\"9 Allée de la Verne\",\"address2\":\"\",\"town\":\"Bedarrides\",\"lat\":\"44.0444647\",\"long\":\"4.8967525\",\"site\":\"https://heitzsystem.com\",\"email\":\"info@heitzsystem.com\",\"idCenter\":1000,\"categoryId\":1,\"category\":\"Vetements\"}]}"}],"_postman_id":"082eadd9-df5b-44b8-ba5e-122730e67835"},{"name":"/partners/:id","id":"5dae9b1e-be05-493f-a3b8-c3959f4b736c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/partners/300901504","description":"<p>List partners</p>\n","urlObject":{"path":["api","partners","300901504"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5dae9b1e-be05-493f-a3b8-c3959f4b736c"},{"name":"/partners/:id/photo","id":"494eebfe-1f77-484a-a080-cae16b2e7c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{url}}/api/partners/:id/logo","description":"<p>List partners</p>\n","urlObject":{"path":["api","partners",":id","logo"],"host":["{{url}}"],"query":[],"variable":[{"id":"bd56f4dd-1b47-45ac-99b9-d160716a8e50","type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"494eebfe-1f77-484a-a080-cae16b2e7c67"},{"name":"/partners/:id","id":"00aa7872-c55f-499e-ac22-bb7bccaef6a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Hello World #1\",\n  \"address1\": \"9 Allée de la Verne\",\n  \"address2\": \"\",\n  \"ville\": \"Bedarrides\"\n}"},"url":"{{url}}/api/partners/300901504","description":"<p>List partners</p>\n","urlObject":{"path":["api","partners","300901504"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"00aa7872-c55f-499e-ac22-bb7bccaef6a4"},{"name":"/partners/:id","id":"69122263-79fe-4cf8-b1b3-306fd0c125b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/partners/1","description":"<p>List partners</p>\n","urlObject":{"path":["api","partners","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"69122263-79fe-4cf8-b1b3-306fd0c125b2"},{"name":"/partners","id":"a94f29cd-093f-41b8-9b7e-de9d57586990","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Partenaire #1\", \n  \"logo\": \"Mon Logo\",\n  \"desc\": \"description\",\n  \"phone\": \"phone\",\n  \"fb\": \"https://facebook.com\",\n  \"tw\": \"https://twitter.com\",\n  \"google\": \"https://google.com\",\n  \"address1\": \"9 Bis allé de la verne\",\n  \"address2\": null,\n  \"town\": \"Bedarrides\",\n  \"lat\": \"-59.00000000\",\n  \"long\": \"40.00000000\",\n  \"site\": \"https://heitzsystem.com\",\n  \"email\": \"info@heitzsystem.com\",\n  \"idCenter\": 1000\n}"},"url":"{{url}}/api/partners","description":"<p>This function requires an employee access</p>\n","urlObject":{"path":["api","partners"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a94f29cd-093f-41b8-9b7e-de9d57586990"}],"id":"b27ff31e-8a3c-4d3e-af7e-4f8099e2715a","_postman_id":"b27ff31e-8a3c-4d3e-af7e-4f8099e2715a","description":""},{"name":"/partnersCategories","item":[{"name":"/partnersCategories","id":"ea8d9048-c97e-4246-acfc-1b9eb470ea77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/partnerCategories","description":"<p>List partners</p>\n","urlObject":{"path":["api","partnerCategories"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"653ac6aa-706c-4cc3-a983-5bef1acb7245","name":"/partners?groupByCategory=true","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/api/partners?groupByCategory=true","host":["{{url}}"],"path":["api","partners"],"query":[{"key":"groupByCategory","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"access-control-allow-headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Origin, Content-Type, Accept","name":"access-control-allow-headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"access-control-allow-methods","value":"GET,PUT,POST,DELETE,OPTIONS","name":"access-control-allow-methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"access-control-allow-origin","value":"*","name":"access-control-allow-origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"connection","value":"keep-alive","name":"connection","description":"Options that are desired for the connection"},{"key":"content-length","value":"457","name":"content-length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"content-type","value":"application/json; charset=utf-8","name":"content-type","description":"The mime type of this content"},{"key":"date","value":"Thu, 05 Oct 2017 12:40:48 GMT","name":"date","description":"The date and time that the message was sent"},{"key":"etag","value":"W/\"1c9-5QQ/V4LwGBMZYYapuF2xdmih+ks\"","name":"etag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"vary","value":"Accept-Encoding","name":"vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"x-powered-by","value":"Express","name":"x-powered-by","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"Vetements\":[{\"id\":300901504,\"name\":\"Hello World #1\",\"logo\":\"/media/partners/300901504/logo\",\"logoExt\":null,\"desc\":\"description\",\"phone\":\"phone\",\"fb\":\"https://facebook.com\",\"tw\":\"https://twitter.com\",\"google\":\"https://google.com\",\"address1\":\"9 Allée de la Verne\",\"address2\":\"\",\"town\":\"Bedarrides\",\"lat\":\"44.0444647\",\"long\":\"4.8967525\",\"site\":\"https://heitzsystem.com\",\"email\":\"info@heitzsystem.com\",\"idCenter\":1000,\"categoryId\":1,\"category\":\"Vetements\"}]}"}],"_postman_id":"ea8d9048-c97e-4246-acfc-1b9eb470ea77"},{"name":"/partnersCategories/:id","id":"238ff66f-9c55-4e87-af2e-e293956d77aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/partnerCategories/300901778","description":"<p>List partners</p>\n","urlObject":{"path":["api","partnerCategories","300901778"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"238ff66f-9c55-4e87-af2e-e293956d77aa"},{"name":"/partnersCategories/:id","id":"de31acb2-91d9-402d-a9c4-fc384bd5c27a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Categoria dummie\"\n}"},"url":"{{url}}/api/partnerCategories/300901778","description":"<p>List partners</p>\n","urlObject":{"path":["api","partnerCategories","300901778"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de31acb2-91d9-402d-a9c4-fc384bd5c27a"},{"name":"/partnersCategories/:id","id":"c3d2464d-a04a-4124-bda5-f095d3afb64c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/partnerCategories/300901778","description":"<p>List partners</p>\n","urlObject":{"path":["api","partnerCategories","300901778"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3d2464d-a04a-4124-bda5-f095d3afb64c"},{"name":"/partnersCategories","id":"ad8ea1be-7971-412d-9bd0-ff0605759873","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Category A\"\n}"},"url":"{{url}}/api/partnerCategories","description":"<p>This function requires an employee access</p>\n","urlObject":{"path":["api","partnerCategories"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad8ea1be-7971-412d-9bd0-ff0605759873"}],"id":"c1746e81-0427-4392-b426-fed6d9574e98","_postman_id":"c1746e81-0427-4392-b426-fed6d9574e98","description":""}],"id":"f7635085-3c7d-44fc-8d8e-81e5bc4817df","_postman_id":"f7635085-3c7d-44fc-8d8e-81e5bc4817df","description":""},{"name":"@ARTICLES / @STORE","item":[{"name":"/store","item":[{"name":"/api/sectors","id":"1f5681dd-3802-4803-a868-c6792cce1f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"{{url}}/api/store/sectors","description":"<p>List available Store Sectors</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[{\n        \"id\": 0,\n        \"name\": \"Sector Name\",\n        \"regroup\": null,\n        \"idCenter\": 1003,\n        \"idModifierGroup\": null\n}]\n\n</code></pre>","urlObject":{"path":["api","store","sectors"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f5681dd-3802-4803-a868-c6792cce1f36"},{"name":"/api/sectors/:id/groups","id":"df8d92e3-42a0-45a4-8136-24c44eeef519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"{{url}}/api/store/sectors/:id/groups","description":"<p>Lists groups belonging to a particular store sector</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n        \"id\": 1003000000038,\n        \"idSector\": 1003000073313,\n        \"name\": \"Group Name\",\n        \"displayPage\": 1,\n        \"displayLine\": 3,\n        \"displayColumn\": 1,\n        \"color\": 0,\n        \"idCenter\": 1003,\n        \"groupRegroupment\": null,\n        \"idModifierGroup\": null,\n        \"idCaisseDisplay\": null,\n        \"_colorHex\": \"#000000\",\n        \"_colorBestConstrast\": \"light\"\n}\n\n</code></pre>","urlObject":{"path":["api","store","sectors",":id","groups"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"1003000073313","key":"id"}]}},"response":[],"_postman_id":"df8d92e3-42a0-45a4-8136-24c44eeef519"}],"id":"4ea6d2ab-7db6-4f13-900c-f56ac9fde434","_postman_id":"4ea6d2ab-7db6-4f13-900c-f56ac9fde434","description":""},{"name":"/articles","item":[{"name":"/api/articles","id":"8ec9732b-b462-42aa-9b55-248b0c26081e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"{{url}}/api/articles?fields=id,name,category&q=caf&categories=&_offset=0&_limit=15&_paginate=true&include=1,2&targetMarketPlace=4&tariffState=0","description":"<h3 id=\"pagination\">Pagination:</h3>\n<p><code>?_limit={number default=10}&amp;_offset={number default=0}&amp;_sortOrder={property}&amp;_paginate={boolean}</code></p>\n<h3 id=\"filtering-options\">Filtering Options:</h3>\n<p><code>?fields=string,of,fields (see example)</code></p>\n<h3 id=\"list-of-fields-that-can-be-specified\">List of fields that can be specified</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Fields</th>\n<th>Default</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>√</td>\n</tr>\n<tr>\n<td>idGroup</td>\n<td>x</td>\n</tr>\n<tr>\n<td>name</td>\n<td>√</td>\n</tr>\n<tr>\n<td>codebar</td>\n<td>x</td>\n</tr>\n<tr>\n<td>supplier</td>\n<td>x</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>x</td>\n</tr>\n<tr>\n<td>onSale</td>\n<td>x</td>\n</tr>\n<tr>\n<td>minStock</td>\n<td>x</td>\n</tr>\n<tr>\n<td>zeroSale</td>\n<td>x</td>\n</tr>\n<tr>\n<td>accountingNumber</td>\n<td>x</td>\n</tr>\n<tr>\n<td>priorNotice</td>\n<td>x</td>\n</tr>\n<tr>\n<td>numReportDay</td>\n<td>x</td>\n</tr>\n<tr>\n<td>index</td>\n<td>x</td>\n</tr>\n<tr>\n<td>pca</td>\n<td>x</td>\n</tr>\n<tr>\n<td>colour</td>\n<td>x</td>\n</tr>\n<tr>\n<td>insurance</td>\n<td>x</td>\n</tr>\n<tr>\n<td>insurancePerc</td>\n<td>x</td>\n</tr>\n<tr>\n<td>ART_TEMPSPRESENCE</td>\n<td>x</td>\n</tr>\n<tr>\n<td>alertEnd</td>\n<td>x</td>\n</tr>\n<tr>\n<td>alertUnit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>fileLogo</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeDuration</td>\n<td>x</td>\n</tr>\n<tr>\n<td>strikeDuration</td>\n<td>x</td>\n</tr>\n<tr>\n<td>promo</td>\n<td>x</td>\n</tr>\n<tr>\n<td>trackFinancial</td>\n<td>x</td>\n</tr>\n<tr>\n<td>amountEnd</td>\n<td>x</td>\n</tr>\n<tr>\n<td>actionEnd</td>\n<td>x</td>\n</tr>\n<tr>\n<td>alertEndFile</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeLifetime</td>\n<td>x</td>\n</tr>\n<tr>\n<td>useFinancialLimit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeUsageLimit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeStart</td>\n<td>x</td>\n</tr>\n<tr>\n<td>print2ndTicket</td>\n<td>x</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td>x</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>x</td>\n</tr>\n<tr>\n<td>notProg</td>\n<td>x</td>\n</tr>\n<tr>\n<td>saleLimit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>limitBefore</td>\n<td>x</td>\n</tr>\n<tr>\n<td>limitAfter</td>\n<td>x</td>\n</tr>\n<tr>\n<td>contractPrintNum</td>\n<td>x</td>\n</tr>\n<tr>\n<td>idContractDoc</td>\n<td>x</td>\n</tr>\n<tr>\n<td>saleType</td>\n<td>x</td>\n</tr>\n<tr>\n<td>subscriptionRenewal</td>\n<td>x</td>\n</tr>\n<tr>\n<td>accountNumber</td>\n<td>x</td>\n</tr>\n<tr>\n<td>displayColumn</td>\n<td>x</td>\n</tr>\n<tr>\n<td>displayLine</td>\n<td>x</td>\n</tr>\n<tr>\n<td>displayPage</td>\n<td>x</td>\n</tr>\n<tr>\n<td>category</td>\n<td>√</td>\n</tr>\n<tr>\n<td>goodGiftValue</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodGiftExpiration</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodGiftImage</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodGiftCheck</td>\n<td>x</td>\n</tr>\n<tr>\n<td>image</td>\n<td>x</td>\n</tr>\n<tr>\n<td>internetOrder</td>\n<td>x</td>\n</tr>\n<tr>\n<td>commonStock</td>\n<td>x</td>\n</tr>\n<tr>\n<td>idGymlib</td>\n<td>x</td>\n</tr>\n<tr>\n<td>accessLevel</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodTestSession</td>\n<td>x</td>\n</tr>\n<tr>\n<td>idCenter</td>\n<td>x</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"article-categories\">Article Categories:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    enum ArticleType {\n        ARTICLE=1,\n        ACCES=2,\n        REGROUPEMENT=4,\n        TICKET_CDB=8,\n        PACK=16,\n        AVOIR=32,\n        FRAIS=64,\n        ASSURANCE=128,\n        CADEAU=256\n    }\n</code></pre>","urlObject":{"path":["api","articles"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(optional) List of fields that we want to include in our search results</p>\n","type":"text/plain"},"key":"fields","value":"id,name,category"},{"description":{"content":"<p>Search in article name</p>\n","type":"text/plain"},"key":"q","value":"caf"},{"description":{"content":"<p>Filter by categories (concatenation is supported in order to filter by multiple categories)</p>\n","type":"text/plain"},"key":"categories","value":""},{"description":{"content":"<p>Pagination: offset</p>\n","type":"text/plain"},"key":"_offset","value":"0"},{"description":{"content":"<p>Pagination: records per page</p>\n","type":"text/plain"},"key":"_limit","value":"15"},{"description":{"content":"<p>Pagination: When true pagination is appened to responses' payload</p>\n","type":"text/plain"},"key":"_paginate","value":"true"},{"disabled":true,"description":{"content":"<p>(&gt;=v1.9.0-rc.29) Filter by sector</p>\n","type":"text/plain"},"key":"sectors","value":"301329987"},{"disabled":true,"description":{"content":"<p>Filter by article group</p>\n","type":"text/plain"},"key":"groups","value":null},{"description":{"content":"<p>(&gt;=v1.9.0-rc.29) Include certain information in response such as (1=Sector; 2=Group) .Multi values can be provided if joined by ,</p>\n","type":"text/plain"},"key":"include","value":"1,2"},{"description":{"content":"<p>(&gt;=v1.9.0-rc.46) Return articles with tariffs matching the specified marketplace. Note: This won't take in consideration the tariffs expiration. (CENTRE = 1; BORNE_VENTE = 2; INTERNET = 4; CONTACT = 8; RESTAURANT = 16)</p>\n","type":"text/plain"},"key":"targetMarketPlace","value":"4"},{"description":{"content":"<p>(&gt;= v1.9.0-rc.46) Filter by article's tariff state . 0 = all articles (with a tariff; 1 = all articles having a tariff currently available or 2 = all articles having a tariff scheduled) </p>\n","type":"text/plain"},"key":"tariffState","value":"0"}],"variable":[]}},"response":[],"_postman_id":"8ec9732b-b462-42aa-9b55-248b0c26081e"},{"name":"/api/article/:id","id":"3ac75879-d696-4e00-947c-1dea9fe2940a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":"{{url}}/api/article/:id?fields=id,name,image","description":"<p>Returns all the article metadata or only the specified fields.</p>\n<h3 id=\"filtering-options\">Filtering Options:</h3>\n<p><code>?fields=string,of,fields (see example)</code></p>\n<h3 id=\"list-of-fields-that-can-be-specified\">List of fields that can be specified</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Fields</th>\n<th>Default</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>√</td>\n</tr>\n<tr>\n<td>idGroup</td>\n<td>x</td>\n</tr>\n<tr>\n<td>name</td>\n<td>√</td>\n</tr>\n<tr>\n<td>codebar</td>\n<td>x</td>\n</tr>\n<tr>\n<td>supplier</td>\n<td>x</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>x</td>\n</tr>\n<tr>\n<td>onSale</td>\n<td>x</td>\n</tr>\n<tr>\n<td>minStock</td>\n<td>x</td>\n</tr>\n<tr>\n<td>zeroSale</td>\n<td>x</td>\n</tr>\n<tr>\n<td>accountingNumber</td>\n<td>x</td>\n</tr>\n<tr>\n<td>priorNotice</td>\n<td>x</td>\n</tr>\n<tr>\n<td>numReportDay</td>\n<td>x</td>\n</tr>\n<tr>\n<td>index</td>\n<td>x</td>\n</tr>\n<tr>\n<td>pca</td>\n<td>x</td>\n</tr>\n<tr>\n<td>colour</td>\n<td>x</td>\n</tr>\n<tr>\n<td>insurance</td>\n<td>x</td>\n</tr>\n<tr>\n<td>insurancePerc</td>\n<td>x</td>\n</tr>\n<tr>\n<td>ART_TEMPSPRESENCE</td>\n<td>x</td>\n</tr>\n<tr>\n<td>alertEnd</td>\n<td>x</td>\n</tr>\n<tr>\n<td>alertUnit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>fileLogo</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeDuration</td>\n<td>x</td>\n</tr>\n<tr>\n<td>strikeDuration</td>\n<td>x</td>\n</tr>\n<tr>\n<td>promo</td>\n<td>x</td>\n</tr>\n<tr>\n<td>trackFinancial</td>\n<td>x</td>\n</tr>\n<tr>\n<td>amountEnd</td>\n<td>x</td>\n</tr>\n<tr>\n<td>actionEnd</td>\n<td>x</td>\n</tr>\n<tr>\n<td>alertEndFile</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeLifetime</td>\n<td>x</td>\n</tr>\n<tr>\n<td>useFinancialLimit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeUsageLimit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>barcodeStart</td>\n<td>x</td>\n</tr>\n<tr>\n<td>print2ndTicket</td>\n<td>x</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td>x</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>x</td>\n</tr>\n<tr>\n<td>notProg</td>\n<td>x</td>\n</tr>\n<tr>\n<td>saleLimit</td>\n<td>x</td>\n</tr>\n<tr>\n<td>limitBefore</td>\n<td>x</td>\n</tr>\n<tr>\n<td>limitAfter</td>\n<td>x</td>\n</tr>\n<tr>\n<td>contractPrintNum</td>\n<td>x</td>\n</tr>\n<tr>\n<td>idContractDoc</td>\n<td>x</td>\n</tr>\n<tr>\n<td>saleType</td>\n<td>x</td>\n</tr>\n<tr>\n<td>subscriptionRenewal</td>\n<td>x</td>\n</tr>\n<tr>\n<td>accountNumber</td>\n<td>x</td>\n</tr>\n<tr>\n<td>displayColumn</td>\n<td>x</td>\n</tr>\n<tr>\n<td>displayLine</td>\n<td>x</td>\n</tr>\n<tr>\n<td>displayPage</td>\n<td>x</td>\n</tr>\n<tr>\n<td>category</td>\n<td>√</td>\n</tr>\n<tr>\n<td>goodGiftValue</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodGiftExpiration</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodGiftImage</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodGiftCheck</td>\n<td>x</td>\n</tr>\n<tr>\n<td>image</td>\n<td>x</td>\n</tr>\n<tr>\n<td>internetOrder</td>\n<td>x</td>\n</tr>\n<tr>\n<td>commonStock</td>\n<td>x</td>\n</tr>\n<tr>\n<td>idGymlib</td>\n<td>x</td>\n</tr>\n<tr>\n<td>accessLevel</td>\n<td>x</td>\n</tr>\n<tr>\n<td>goodTestSession</td>\n<td>x</td>\n</tr>\n<tr>\n<td>idCenter</td>\n<td>x</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"article-categories\">Article Categories:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    enum ArticleType {\n        ARTICLE=1,\n        ACCES=2,\n        REGROUPEMENT=4,\n        TICKET_CDB=8,\n        PACK=16,\n        AVOIR=32,\n        FRAIS=64,\n        ASSURANCE=128,\n        CADEAU=256\n    }\n</code></pre>","urlObject":{"path":["api","article",":id"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(optional) List of fields that we want to include in our search results</p>\n","type":"text/plain"},"key":"fields","value":"id,name,image"}],"variable":[{"description":{"content":"<p>Reads an article and returns it's metadata (multiple ids might be specified joined by a ,)</p>\n","type":"text/plain"},"type":"string","value":"1000301400764","key":"id"}]}},"response":[],"_postman_id":"3ac75879-d696-4e00-947c-1dea9fe2940a"},{"name":"/api/article/:id/composition","id":"9ea022d8-7794-4958-81b4-181a36d90102","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":"{{url}}/api/article/:id?fields=id,name,image","description":"<p>Returns the list of articles that compose a given pack or given group.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"_composition\": {\n    \"id\": 1003000078831, &lt;-- The id that identifies the relationship between packs and regroups\n    \n    // The article that contains the item \n    \"idArticle\": 1003000078830,\n    \n    // The article that belongs to the pack or regroup\n    \"idComposition\": 1003000067067,\n\n    // How many items of this type exists\n    \"qty\": 1,\n    \n    \"principal\": false,\n    \"idCenter\": 1003\n}\n\n</code></pre>","urlObject":{"path":["api","article",":id"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(optional) List of fields that we want to include in our search results</p>\n","type":"text/plain"},"key":"fields","value":"id,name,image"}],"variable":[{"id":"f09d6dc9-87cc-4960-849e-87bb1984c04e","description":{"content":"<p>Reads an article and returns it's metadata (multiple ids might be specified joined by a ,)</p>\n","type":"text/plain"},"type":"string","value":"1000301400764","key":"id"}]}},"response":[{"id":"86d5408a-2598-4f8d-93ec-bd67fd2715ea","name":"/api/article/:id/composition","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":{"raw":"{{url}}/api/article/:id/composition","host":["{{url}}"],"path":["api","article",":id","composition"],"variable":[{"key":"id","value":"1003000078830","type":"string","description":"Reads an article and returns it's metadata (multiple ids might be specified joined by a ,)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"bd6-mgWfEH5cNOPBssYz4Yi6B7d/Bz0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Mon, 17 Jan 2022 11:30:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_article\": {\n            \"id\": 1003000078826,\n            \"idGroup\": 1003000078820,\n            \"name\": \"TT - ACCESS - MENSUEL - 1 ANNEE\",\n            \"nameDisplay\": null,\n            \"codebar\": null,\n            \"supplier\": null,\n            \"reference\": null,\n            \"onSale\": true,\n            \"minStock\": 0,\n            \"zeroSale\": true,\n            \"accountingNumber\": null,\n            \"priorNotice\": 0,\n            \"numReportDay\": 0,\n            \"index\": 11,\n            \"pca\": 1,\n            \"colour\": 16777215,\n            \"ART_TEMPS_INC\": \"1970-01-01T01:00:00.000Z\",\n            \"insurance\": 0,\n            \"insurancePerc\": 0,\n            \"ART_TEMPSPRESENCE\": \"1970-01-01T00:30:00.000Z\",\n            \"alertEnd\": 0,\n            \"alertUnit\": 0,\n            \"fileLogo\": null,\n            \"barcodeDuration\": \"1899-12-29T23:50:39.000Z\",\n            \"strikeDuration\": \"1969-12-31T23:00:00.000Z\",\n            \"promo\": false,\n            \"trackFinancial\": false,\n            \"amountEnd\": 1,\n            \"actionEnd\": 0,\n            \"alertEndFile\": null,\n            \"barcodeLifetime\": \"1899-12-29T23:50:39.000Z\",\n            \"useFinancialLimit\": true,\n            \"ART_FIN_IDMOD\": 1003000000032,\n            \"barcodeUsageLimit\": 0,\n            \"barcodeStart\": 0,\n            \"print2ndTicket\": false,\n            \"startDate\": null,\n            \"endDate\": null,\n            \"notProg\": false,\n            \"saleLimit\": false,\n            \"limitBefore\": 0,\n            \"limitAfter\": 0,\n            \"contractPrintNum\": 1,\n            \"idContractDoc\": 0,\n            \"saleType\": 0,\n            \"subscriptionRenewal\": 0,\n            \"accountNumber\": null,\n            \"displayColumn\": 2,\n            \"displayLine\": 1,\n            \"displayPage\": 1,\n            \"category\": 2,\n            \"giftVoucherValue\": 0,\n            \"giftVoucherExpiration\": 365,\n            \"giftVoucherImage\": null,\n            \"giftVoucherCheck\": false,\n            \"image\": null,\n            \"internetOrder\": 0,\n            \"commonStock\": false,\n            \"idGymlib\": null,\n            \"accessLevel\": 0,\n            \"goodTestSession\": false,\n            \"idCenter\": 1003,\n            \"complement\": null,\n            \"mediaImage\": null,\n            \"mediaImage2\": null,\n            \"partners\": 0,\n            \"mediaImageUrl\": null,\n            \"mediaImage2Url\": null\n        },\n        \"_composition\": {\n            \"id\": 1003000078833,\n            \"idArticle\": 1003000078830,\n            \"idComposition\": 1003000078826,\n            \"qty\": 1,\n            \"principal\": false,\n            \"idCenter\": 1003\n        }\n    },\n    {\n        \"_article\": {\n            \"id\": 1003000067067,\n            \"idGroup\": 1003000067066,\n            \"name\": \"CAFE\",\n            \"nameDisplay\": null,\n            \"codebar\": null,\n            \"supplier\": null,\n            \"reference\": null,\n            \"onSale\": true,\n            \"minStock\": 0,\n            \"zeroSale\": true,\n            \"accountingNumber\": null,\n            \"priorNotice\": 0,\n            \"numReportDay\": 0,\n            \"index\": 0,\n            \"pca\": 0,\n            \"colour\": 16777215,\n            \"ART_TEMPS_INC\": \"1970-01-01T01:00:00.000Z\",\n            \"insurance\": 0,\n            \"insurancePerc\": 0,\n            \"ART_TEMPSPRESENCE\": \"1970-01-01T00:30:00.000Z\",\n            \"alertEnd\": 0,\n            \"alertUnit\": 0,\n            \"fileLogo\": null,\n            \"barcodeDuration\": \"1899-12-29T23:50:39.000Z\",\n            \"strikeDuration\": \"1969-12-31T23:00:00.000Z\",\n            \"promo\": false,\n            \"trackFinancial\": false,\n            \"amountEnd\": 1,\n            \"actionEnd\": 0,\n            \"alertEndFile\": null,\n            \"barcodeLifetime\": \"1899-12-29T23:50:39.000Z\",\n            \"useFinancialLimit\": true,\n            \"ART_FIN_IDMOD\": 1003000000032,\n            \"barcodeUsageLimit\": 0,\n            \"barcodeStart\": 0,\n            \"print2ndTicket\": false,\n            \"startDate\": null,\n            \"endDate\": null,\n            \"notProg\": false,\n            \"saleLimit\": false,\n            \"limitBefore\": 0,\n            \"limitAfter\": 0,\n            \"contractPrintNum\": 1,\n            \"idContractDoc\": 0,\n            \"saleType\": 0,\n            \"subscriptionRenewal\": 0,\n            \"accountNumber\": null,\n            \"displayColumn\": 1,\n            \"displayLine\": 1,\n            \"displayPage\": 1,\n            \"category\": 1,\n            \"giftVoucherValue\": 0,\n            \"giftVoucherExpiration\": 365,\n            \"giftVoucherImage\": null,\n            \"giftVoucherCheck\": false,\n            \"image\": null,\n            \"internetOrder\": 0,\n            \"commonStock\": false,\n            \"idGymlib\": null,\n            \"accessLevel\": null,\n            \"goodTestSession\": false,\n            \"idCenter\": 1003,\n            \"complement\": null,\n            \"mediaImage\": null,\n            \"mediaImage2\": null,\n            \"partners\": 0,\n            \"mediaImageUrl\": null,\n            \"mediaImage2Url\": null\n        },\n        \"_composition\": {\n            \"id\": 1003000078831,\n            \"idArticle\": 1003000078830,\n            \"idComposition\": 1003000067067,\n            \"qty\": 1,\n            \"principal\": false,\n            \"idCenter\": 1003\n        }\n    }\n]"}],"_postman_id":"9ea022d8-7794-4958-81b4-181a36d90102"},{"name":"/api/articles/:id/tariffs","id":"dfd98f84-bc5d-44b6-9e40-a6381bc77724","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"{{url}}/api/articles/:id/tariffs","description":"<p>Tariffs list for a given article</p>\n<p>Note: \"sellAt\" is a binary value.</p>\n","urlObject":{"path":["api","articles",":id","tariffs"],"host":["{{url}}"],"query":[],"variable":[{"id":"7a2f3a20-1183-44a0-a3c9-64d545e57518","type":"string","value":"100270","key":"id"}]}},"response":[],"_postman_id":"dfd98f84-bc5d-44b6-9e40-a6381bc77724"},{"name":"/api/articles/:id/paymentConfiguration","id":"40d3819c-669e-4ec5-b539-a5d871de9e4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":"{{url}}/api/articles/:id/paymentConfiguration?tariffs=301322631&paymentType=&paymentMethods=&idCenter=","description":"<h2 id=\"field-description\">Field description</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>The primary key</td>\n</tr>\n<tr>\n<td>cost</td>\n<td>The payment amount (ATI/TTC).</td>\n</tr>\n<tr>\n<td>idPaymentMode</td>\n<td>The PAYMENT_MODE_TYPE</td>\n</tr>\n<tr>\n<td>idCategory</td>\n<td>The category id</td>\n</tr>\n<tr>\n<td>idTariff</td>\n<td>The tariff id</td>\n</tr>\n<tr>\n<td>point</td>\n<td>Number of points (credit or debit)</td>\n</tr>\n<tr>\n<td>isDirect</td>\n<td>Direct payment - No sale is created</td>\n</tr>\n<tr>\n<td>periodNumber</td>\n<td>Amount of <code>periodUnit</code></td>\n</tr>\n<tr>\n<td>periodUnit</td>\n<td>Period duration (4-&gt;Days, 5-&gt;Weeks, 6-&gt;Months)</td>\n</tr>\n<tr>\n<td>immediate</td>\n<td>Either it should take place immediately or not</td>\n</tr>\n<tr>\n<td>offsetNumber</td>\n<td>The number of <code>offsetUnit</code>s starting from the date of sale.</td>\n</tr>\n<tr>\n<td>offsetUnit</td>\n<td>The period unit</td>\n</tr>\n<tr>\n<td>periodInterval</td>\n<td>The period interval</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>The currency</td>\n</tr>\n<tr>\n<td>days</td>\n<td>Days of period in which the payment must take place</td>\n</tr>\n<tr>\n<td>isPrel</td>\n<td>True if the is a direct debit</td>\n</tr>\n<tr>\n<td>idCenter</td>\n<td>The center's id</td>\n</tr>\n</tbody>\n</table>\n</div><p>@Note: When immediate is true the following fields are ignored: \nisDirect, isIllimited, point</p>\n","urlObject":{"path":["api","articles",":id","paymentConfiguration"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(optional) Tariff ids concatenated with ,</p>\n","type":"text/plain"},"key":"tariffs","value":"301322631"},{"description":{"content":"<p>(optional) PaymentType code concatenated with ,</p>\n","type":"text/plain"},"key":"paymentType","value":""},{"description":{"content":"<p>(optional) PaymentMethods concatenated with ,</p>\n","type":"text/plain"},"key":"paymentMethods","value":""},{"description":{"content":"<p>(optional) idCenter concatenated with ,</p>\n","type":"text/plain"},"key":"idCenter","value":""}],"variable":[{"type":"string","value":"301322630","key":"id"}]}},"response":[],"_postman_id":"40d3819c-669e-4ec5-b539-a5d871de9e4f"},{"name":"/api/articles/:id/inStock","id":"3daf3b7f-6bfb-436c-a529-bcbcc4e0109f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":"{{url}}/api/articles/:id/inStock?idCenter=1000","description":"<p>Returns the stock for a given article</p>\n","urlObject":{"path":["api","articles",":id","inStock"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The id center</p>\n","type":"text/plain"},"key":"idCenter","value":"1000"}],"variable":[{"description":{"content":"<p>The article id</p>\n","type":"text/plain"},"type":"string","value":"1000301415860","key":"id"}]}},"response":[],"_postman_id":"3daf3b7f-6bfb-436c-a529-bcbcc4e0109f"}],"id":"e619bb00-c40f-45b6-a354-9999ca5ac8d6","_postman_id":"e619bb00-c40f-45b6-a354-9999ca5ac8d6","description":""}],"id":"5459fdd8-fd60-4b95-a787-68e91cc58537","description":"<p>A collection of endpoints to work with pre-configured articles using <code>V12 &gt; configuration.exe</code></p>\n<p>Note: Articles might have different types and those types have an impact on how system will process them upon a sale request. </p>\n<p>For example, selling an article of type 2, will generate a subscription that can be late assigned to a card and used to access the center's facilities. </p>\n<h3 id=\"article-categories\">Article Categories:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    enum ArticleType {\n        ARTICLE=1,\n        ACCES=2,\n        REGROUPEMENT=4,\n        TICKET_CDB=8,\n        PACK=16,\n        AVOIR=32,\n        FRAIS=64,\n        ASSURANCE=128,\n        CADEAU=256\n    }\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"01d9c83f-b594-4e15-b24e-6c1a0bd7721a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0162c93d-2e48-4e42-b2db-3ed1004779da","type":"text/javascript","exec":[""]}}],"_postman_id":"5459fdd8-fd60-4b95-a787-68e91cc58537"},{"name":"@PAYMENT_METHOD","item":[{"name":"/paymentMethod","item":[{"name":"/api/paymentMethod/list","id":"f4e8f380-95be-4313-9c1e-4563d8dea969","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/paymentMethod/list?q=&limit=10&offset=0&_fields=id,name,type,isDefault&idCenter=1000","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>enum PAYMENT_MODE_TYPE {\n        AUTRES = 0,\n        ESPECES = 1,\n        CARTE_BANCAIRE = 2,\n        CHEQUE = 3,\n        PRELEVEMENT = 4,\n        VIREMENT = 5,\n        CREDIT = 6,\n        CADEAU = 7,\n        LIGNE = 8,\n        TRANSFER_HOTEL = 9\n    }\n</code></pre>","urlObject":{"path":["api","paymentMethod","list"],"host":["{{url}}"],"query":[{"key":"q","value":""},{"key":"limit","value":"10"},{"key":"offset","value":"0"},{"key":"_fields","value":"id,name,type,isDefault"},{"description":{"content":"<p>{optional} but recommended if you want to retrieve payments usable  on a given center. </p>\n","type":"text/plain"},"key":"idCenter","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"f4e8f380-95be-4313-9c1e-4563d8dea969"},{"name":"/api/paymentMethod/:id","id":"ce036b8e-7423-4338-89bd-43c2cb9d6e44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/paymentMethod/:id","urlObject":{"path":["api","paymentMethod",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"32210738-c975-44d6-88de-458e63ed98ad","type":"string","value":"1","key":"id"}]}},"response":[],"_postman_id":"ce036b8e-7423-4338-89bd-43c2cb9d6e44"},{"name":"/api/paymentMethod/:id","id":"14748591-70f3-4a1d-9bab-79156406ea01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"ASDAS\"\n}"},"url":"{{url}}/api/paymentMethod","urlObject":{"path":["api","paymentMethod"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14748591-70f3-4a1d-9bab-79156406ea01"},{"name":"/api/paymentMethod/:id","id":"dec8731b-5a9c-40f5-96bd-4dd3ec838b71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"ASDAS #3\"\n}"},"url":"{{url}}/api/paymentMethod/:id","urlObject":{"path":["api","paymentMethod",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"7198e238-cdd0-4fed-a8a5-ee14fa322484","type":"string","value":"301126781","key":"id"}]}},"response":[],"_postman_id":"dec8731b-5a9c-40f5-96bd-4dd3ec838b71"}],"id":"76ce9155-3878-4922-b273-54071c144c76","description":"<p>Payments can have different types: \nHere's a complete list of all types supported by the software.\nDifferent types have different configuration needs.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>enum PAYMENT_MODE_TYPE {\n        AUTRES = 0,\n        ESPECES = 1,\n        CARTE_BANCAIRE = 2,\n        CHEQUE = 3,\n        PRELEVEMENT = 4,\n        VIREMENT = 5,\n        CREDIT = 6,\n        CADEAU = 7,\n        LIGNE = 8,\n        TRANSFER_HOTEL = 9\n    }\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"8eec3b87-ca2f-4bfe-92f1-17795a5442da","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3e8f3843-68a3-4e62-9206-63cc0a148bfc","type":"text/javascript","exec":[""]}}],"_postman_id":"76ce9155-3878-4922-b273-54071c144c76"}],"id":"29d22776-e8ee-494a-9859-4582bfe8733a","_postman_id":"29d22776-e8ee-494a-9859-4582bfe8733a","description":""},{"name":"@SALE","item":[{"name":"/sales","id":"0129b1fd-b359-4a21-a453-006fc66e1ce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"idClient\": 2908,\n    \"idCenter\": 1000,\n    \"articles\": [\n        {\n            \"id\": 300526850,\n            \"idTariff\": 300264072,\n            \"price\": 74.9,\n            \"internetValidity\": false,\n            \"accessStart\": \"2019-06-02\"\n        },\n        {\n            \"id\": 301131655,\n            \"idTariff\": 301131660,\n            \"price\": 1\n        }\n    ],\n    \"payments\": [\n        {\n            \"value\": 75.9,\n            \"id\": 1\n        }\n    ],\n    \"giftVoucher\": [\n        {\n            \"numCode\": \"1-000-000-056-365\",\n            \"idChoice\": 1000301400765\n        }\n    ]\n}"},"url":"{{url}}/api/sales","description":"<p><strong>@description</strong>:</p>\n<ul>\n<li>Creates a sale for a particular user.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Prop</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>idClient</td>\n<td>The client/user</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>idCenter?</td>\n<td>The center in which the sale will be registered</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles</td>\n<td>An array of articles sold to the customer (See <code>@ARTICLES</code> section)</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>articles[x].id</td>\n<td>The id of the article being sold</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles[x].idTariff</td>\n<td>The article tariff (See <code>@ARTICLES</code> section)</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles[x].accessStart?</td>\n<td>(Optional) The access start date</td>\n<td>Date (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>articles[x].accessEnd?</td>\n<td>(Optional) The access end date. Don't supplie this property if you want the accessEnd date to be calculated based on accesses configuration</td>\n<td>Date (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>articles[x].price?</td>\n<td>(Optional) The article price - When provided it overrides de articles configuration price. Ideal for PRO RATA</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles[x].scheduledPayments?</td>\n<td>(Optional) Direct Debit entries  <br />  <br />⚠️ Omit / Don't provide this field if you want the server to generate the records automatically based on provided configuration  <br />  <br />An empty array will overwrite the tariff configuration and prevent the generation of direct debit.  <br />  <br />Set an array of <code>ISettlements</code> to control your settlements</td>\n<td></td>\n</tr>\n<tr>\n<td>articles[x].internetValidity?</td>\n<td>(Optional) When true, the safety period is activated. This gives the user time to pass by the reception to sign his contract</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>payments</td>\n<td>The payments made by the client</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>payments[x].id</td>\n<td>The id of the payment method (see @PAYMENT_METHOD)</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>payments[x].value</td>\n<td>The total paid by the client</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"schedulepayment\"><code>SchedulePayment[]</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Prop</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start</td>\n<td>Start date of the period</td>\n<td>Date (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>end</td>\n<td>End date of the period</td>\n<td>Date (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Amount associated with the period</td>\n<td>number</td>\n</tr>\n<tr>\n<td>periodUnit</td>\n<td>Unit of the period (5 = Week, 6 = Month)</td>\n<td>number</td>\n</tr>\n<tr>\n<td>periodInterval</td>\n<td>Interval of the period (e.g., 1 means every periodUnit)</td>\n<td>number</td>\n</tr>\n<tr>\n<td>idPaymentMethod</td>\n<td>Identifier for the payment method</td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"start\": \"2023-01-15\",\n    \"end\": \"2024-01-14\",\n    \"amount\": 50,\n    \"periodUnit\": 6,\n    \"periodInterval\": 1,\n    \"idPaymentMethod\": 1003000000032\n}\n\n</code></pre>\n<p><strong>@requirements</strong>:</p>\n<ul>\n<li>DB &gt;= 12.X.X &amp;&amp; HZ.WS &gt;= 1.5.1</li>\n</ul>\n","urlObject":{"path":["api","sales"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1e343a2d-f6dc-46c2-8f0b-d7ecb422e678","name":"base2","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n     \"idClient\": 1100384268,\n     \"articles\": [\n          {\n                \"id\": 216799402,\n                \"idTariff\": 216799403,\n                \"accessStart\": \"2019-01-01\",\n                \"accessEnd\": null\n          }\n     ],\n     \"payments\": [\n          { \"value\": 12, \"id\": 215425855 }\n     ]\n}"},"url":"{{url}}/api/sales"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c47f9f35-6adb-4d7f-8d37-9ec2df107ed6","name":"basic","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"idClient\": 2908,\n\t\"articles\": [\n\t\t{\n\t\t\t\"id\": 301131706,\n\t\t\t\"idTariff\": 301131708,\n\t\t\t\"accessStart\": \"2019-01-01\",\n\t\t\t\"accessEnd\": null\n\t\t}\n\t],\n\t\"payments\": [\n\t\t{ \"value\": 12, \"id\": 300620996 }\n\t]\n}"},"url":"{{url}}/api/sales"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0129b1fd-b359-4a21-a453-006fc66e1ce5"},{"name":"/salesV2 (unstable - 1.9.0-rc.71)","id":"97e23e49-501e-4cee-b9c8-1b7d0c765a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"idClient\": 2908,\n    \"idCenter\": 1003,\n    \"articles\": [\n        {\n            \"id\": 1003000078837, \n            \"composition\": [\n                {\n                    \"idComposition\": 1003000078838,\n                    \"id\": 1003000078830,\n                    \"idTariff\": 1003000078834,\n                    \"price\": 10,\n                    \"discount\": 0,\n                    \"composition\": [\n                        {\n                            \"idComposition\": 1003000078837,\n                            \"id\": 1003000078837,\n                            \"price\": 10\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"value\": 75.9,\n            \"id\": 300620996\n        }\n    ],\n    \"giftVoucher\": [\n        {\n            \"numCode\": \"1-000-000-056-365\",\n            \"idChoice\": 1000301400765\n        }\n    ]\n}"},"url":"{{url}}/api/salesV2","description":"<p><strong>@description</strong>:</p>\n<ul>\n<li>Creates a sale for a particular user.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Prop</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>idClient</td>\n<td>The client/user</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>idCenter?</td>\n<td>The center in which the sale will be registered</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles</td>\n<td>An array of articles sold to the customer (See <code>@ARTICLES</code> section)</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>articles[x].id</td>\n<td>The id of the article being sold</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles[x].idTariff</td>\n<td>The article tariff (See <code>@ARTICLES</code> section)</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles[x].accessStart?</td>\n<td>(Optional) The access start date</td>\n<td>Date (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>articles[x].accessEnd?</td>\n<td>(Optional) The access end date. Don't supplie this property if you want the accessEnd date to be calculated based on accesses configuration</td>\n<td>Date (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>articles[x].price?</td>\n<td>(Optional) The article price - When provided it overrides de articles configuration price. Ideal for PRO RATA</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>articles[x].internetValidity?</td>\n<td>(Optional) When true the subscriptions end date will be reduced to a few days (according to the clubs' configuration) giving the club the time to discuss with the client and eventually request a medical certificate, sign a SEPA mandat ou a contract.  <br />(this can only be used in articles belonging to category \"ACCESS (2)\")</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>articles[x].composition</td>\n<td>This must be an array of objects. Only considered if root article id is a PACK or a REGROUP. You must specify the same properties that you did previously.  <br /></td>\n<td></td>\n</tr>\n<tr>\n<td>articles[x].composition[x].idComposition</td>\n<td>The <code>output[x]._composition.id</code> in GET <code>/article/:id/composition   </code>  <br /></td>\n<td>number</td>\n</tr>\n<tr>\n<td>articles[x].composition[x].id</td>\n<td>The <code>output[x]._composition.idComposition</code> in GET <code>/article/:id/composition   </code></td>\n<td>number</td>\n</tr>\n<tr>\n<td>articles[x].composition[x].price</td>\n<td>The price (useful if you want to set a different price other than the one specified in the articles tarif you provided or if you provided an idTariff of <code>0</code>).  <br />  <br />Ignored if root article is a PACK</td>\n<td>number</td>\n</tr>\n<tr>\n<td>articles[x].composition[x].idTariff</td>\n<td>The idTariff to be used. If you provide <code>0</code> you must specify the sale price.  <br />  <br />Ignored if root article is a PACK</td>\n<td>number</td>\n</tr>\n<tr>\n<td>payments</td>\n<td>An array of payments specifying the payment method and the amount being paid.</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>payments[x].id</td>\n<td>The id of the payment method (see @PAYMENT_METHOD)</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>payments[x].value</td>\n<td>The total paid by the client</td>\n<td>String</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>@requirements</strong>:</p>\n<ul>\n<li>DB &gt;= 12.X.X &amp;&amp; HZ.WS &gt;= 1.5.1</li>\n</ul>\n","urlObject":{"path":["api","salesV2"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"75a04f20-10da-4e93-92f3-d1ea01b81507","name":"/salesV2 (unstable - 1.9.0-rc.71)","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"idClient\": 2908,\n    \"idCenter\": 1003,\n    \"articles\": [\n        {\n            \"id\": 1003000078837, \n            \"composition\": [\n                {\n                    \"idComposition\": 1003000078838,\n                    \"id\": 1003000078830,\n                    \"idTariff\": 1003000078834,\n                    \"price\": 10,\n                    \"discount\": 0,\n                    \"composition\": [\n                        {\n                            \"idComposition\": 1003000078837,\n                            \"id\": 1003000078837,\n                            \"price\": 10\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"value\": 75.9,\n            \"id\": 300620996\n        }\n    ],\n    \"giftVoucher\": [\n        {\n            \"numCode\": \"1-000-000-056-365\",\n            \"idChoice\": 1000301400765\n        }\n    ]\n}"},"url":"{{url}}/api/salesV2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"203"},{"key":"ETag","value":"W/\"cb-vtIoFohvMGgGrqlC4hj86D/u+mg\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Mon, 17 Jan 2022 11:24:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"idTicket\": 1000301396081,\n    \"ticketNumber\": \"0000000396\",\n    \"sales\": [\n        {\n            \"id\": 1003000080288,\n            \"_child\": [\n                {\n                    \"id\": 1003000080289\n                }\n            ]\n        }\n    ],\n    \"paymentIds\": [\n        1003000080290\n    ],\n    \"paymentIdsMeta\": [\n        {\n            \"type\": \"payment\",\n            \"id\": 1003000080290\n        }\n    ]\n}"}],"_postman_id":"97e23e49-501e-4cee-b9c8-1b7d0c765a03"}],"id":"1031ccf8-65a7-422b-b880-88fe69ff4e7d","_postman_id":"1031ccf8-65a7-422b-b880-88fe69ff4e7d","description":""},{"name":"/clientMandate","item":[{"name":"/clientMandate","id":"61f347ed-929e-42cc-b6c2-7a74cd64e1e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"","type":"text","value":""}],"body":{"mode":"raw","raw":"{\n\t\"iban\": \"FR7630004007090001019440407\",\n\t\"bic\": \"12345678\",\n\t\"payer\": \"test\",\n\t\"bankName\":\"Test\",\n    \"idCenter\": 1000\n}"},"url":"{{url}}/api/clientMandate?idClient=2908","description":"<p><strong>Description:</strong> \nCreates a customer SEPA mandate.</p>\n<p><strong>Usage notes:</strong>\n<em>@deprecated</em>: Creates a new mandate and assigns it to a particular customer identified by the idClient provided as a query parameter. Example: <code>?idClient=X</code>.\nIn more recent versions <code>idClient</code> must be specified in request's body as \"idClient\".</p>\n<p>When creating a mandate, if the customer already have an active mandate, this will be disabled.</p>\n<p><strong>Request Query Params:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>idClient</td>\n<td>number</td>\n<td>The customer that will receive the mandate</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>The payload can be supplied in 2 different forms:</strong></p>\n<p><strong>Request Payload (1): Provide idBank</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>iban</td>\n<td>string</td>\n<td>The client IBAN</td>\n<td></td>\n</tr>\n<tr>\n<td>payer</td>\n<td>string</td>\n<td>The name of the person that will be charged</td>\n<td></td>\n</tr>\n<tr>\n<td>idBank</td>\n<td>number</td>\n<td>The bank where the money will be coming from</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request Payload (1): Bic + BankName</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>iban</td>\n<td>string</td>\n<td>The client IBAN</td>\n<td></td>\n</tr>\n<tr>\n<td>payer</td>\n<td>string</td>\n<td>The name of the person that will be charged</td>\n<td></td>\n</tr>\n<tr>\n<td>bic</td>\n<td>string</td>\n<td>The bank bic</td>\n<td></td>\n</tr>\n<tr>\n<td>bankName</td>\n<td>string</td>\n<td>The bank name</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request Payload:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>number</td>\n<td>The new record's id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","clientMandate"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"}],"variable":[]}},"response":[],"_postman_id":"61f347ed-929e-42cc-b6c2-7a74cd64e1e3"},{"name":"/clientMandate/list","id":"0604b2f1-d584-42d8-8f48-fab81b1d8657","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/clientMandate/list?idClient=2908","description":"<p><strong>Description:</strong> \nCreates a new mandate and assigns it to a particular customer identified by the idClient provided as a query parameter. Example: <code>?idClient=X</code>.</p>\n<p>When creating a mandate, if the customer already have an active mandate, this will be disabled.</p>\n<p><strong>Request Query Params:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>idClient</td>\n<td>number</td>\n<td>The customer that will receive the mandate</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>The payload can be supplied in 2 different forms:</strong></p>\n<p><strong>Request Payload (1): Provide idBank</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>iban</td>\n<td>string</td>\n<td>The client IBAN</td>\n<td></td>\n</tr>\n<tr>\n<td>payer</td>\n<td>string</td>\n<td>The name of the person that will be charged</td>\n<td></td>\n</tr>\n<tr>\n<td>idBank</td>\n<td>number</td>\n<td>The bank where the money will be coming from</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request Payload (1): Bic + BankName</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>iban</td>\n<td>string</td>\n<td>The client IBAN</td>\n<td></td>\n</tr>\n<tr>\n<td>payer</td>\n<td>string</td>\n<td>The name of the person that will be charged</td>\n<td></td>\n</tr>\n<tr>\n<td>bic</td>\n<td>string</td>\n<td>The bank bic</td>\n<td></td>\n</tr>\n<tr>\n<td>bankName</td>\n<td>string</td>\n<td>The bank name</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request Payload:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>number</td>\n<td>The new record's id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","clientMandate","list"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"}],"variable":[]}},"response":[],"_postman_id":"0604b2f1-d584-42d8-8f48-fab81b1d8657"},{"name":"/clientMandate/:id","id":"e57eb2d3-28ab-4243-bf90-15cc03146996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"signature\": \"2015-11-30 23:00\",\n    \"idBank\": 300551449,\n    \"iban\": \"FR14 2004 1010 0505 0001 3M02 606\",\n    \"bic\": \"CMCIFRPP\",\n    \"firstRef\": null,\n    \"payer\": null,\n    \"bankName\": \"BANQUE CIC EST\",\n    \"address1\": \"9 ALLEE DE LA VERNE\",\n    \"address2\": \"\"\n}"},"url":"{{url}}/api/clientMandate/:id?idClient=2908","description":"<p><strong>Description:</strong>\nUpdates an existing mandate.</p>\n<p><strong>Request Query Params:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>idClient</td>\n<td>number</td>\n<td>The customer id who owns the mandate</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request's Payload:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>---</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Activate or disable a mandate</td>\n<td>-</td>\n</tr>\n<tr>\n<td>idBank</td>\n<td>number</td>\n<td>The bank id</td>\n<td>-</td>\n</tr>\n<tr>\n<td>iban</td>\n<td>string</td>\n<td>The iban</td>\n<td>-</td>\n</tr>\n<tr>\n<td>bic</td>\n<td>string</td>\n<td>The bic (if not provided the the value corresponding to the idBank value is used)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>bankName</td>\n<td>number</td>\n<td>The bank name. (if not provided the the value corresponding to the idBank value is used)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>mandate</td>\n<td>string</td>\n<td>The mandate reference code</td>\n<td>-</td>\n</tr>\n<tr>\n<td>firstRef</td>\n<td>number</td>\n<td>(An old field) Was used to indicate if was a first debit. Otherwise it was considerer a recurrent payment</td>\n<td>-</td>\n</tr>\n<tr>\n<td>payer</td>\n<td>string</td>\n<td>The name of the person being charged</td>\n<td>-</td>\n</tr>\n<tr>\n<td>address1</td>\n<td>number</td>\n<td>The address - line 1</td>\n<td>-</td>\n</tr>\n<tr>\n<td>address2</td>\n<td>number</td>\n<td>The address - line 2</td>\n<td>-</td>\n</tr>\n<tr>\n<td>postalCodeCity</td>\n<td>string</td>\n<td>The postal code</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response's Payload:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>{'ok','ko'}</td>\n<td></td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","clientMandate",":id"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The client id to be updated</p>\n","type":"text/plain"},"key":"idClient","value":"2908"}],"variable":[{"id":"93387d6a-7833-416b-abe1-bda092bc98ad","description":{"content":"<p>The mandate id to be updated</p>\n","type":"text/plain"},"type":"string","value":"301305319","key":"id"}]}},"response":[],"_postman_id":"e57eb2d3-28ab-4243-bf90-15cc03146996"}],"id":"d2056136-a7bc-4a4c-b6fc-da3b0e07a226","_postman_id":"d2056136-a7bc-4a4c-b6fc-da3b0e07a226","description":""},{"name":"/passageCode","item":[{"name":"/passageCode/generate","id":"040ab190-e544-4f38-969e-6058dffefa47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/passageCode/generate","description":"<p><strong>Description:</strong> \nGenere un ticket QR Code. \nLe passage est authorizé si le client posséde une réservation active.</p>\n","urlObject":{"path":["api","passageCode","generate"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"040ab190-e544-4f38-969e-6058dffefa47"}],"id":"1110ce59-1c5b-40e2-914d-85399fa41444","_postman_id":"1110ce59-1c5b-40e2-914d-85399fa41444","description":""},{"name":"/users","item":[{"name":"/api/users/search","event":[{"listen":"test","script":{"id":"65144044-5f67-4926-b6a4-5e982a82c3b8","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}}],"id":"cbf68c88-901a-495a-a741-879ce86ad635","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/users/search?_offset=0&_limit=50&_paginate=true&finBalance=true&finBalanceState=0","description":"<p>Searchs users in databae.\nCurrently only \"q\" is supported. \nThis will look into multiple fields.</p>\n<p>If you wish to include the user photo in the results you must specify <code>photo=true</code> in your query params.</p>\n<p>This type of search can also compute and paginate your records</p>\n","urlObject":{"path":["api","users","search"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>The search query (smart enought to detect if you are typing a idClient or email or even firstName+lastName or lastName+firstName</p>\n","type":"text/plain"},"key":"q","value":"a r"},{"disabled":true,"description":{"content":"<p>Set this to true if you want to include the customer photo url in the search results</p>\n","type":"text/plain"},"key":"photo","value":"true"},{"disabled":true,"description":{"content":"<p>The email</p>\n","type":"text/plain"},"key":"email","value":""},{"disabled":true,"description":{"content":"<p>The first name</p>\n","type":"text/plain"},"key":"firstName","value":""},{"disabled":true,"description":{"content":"<p>The last name</p>\n","type":"text/plain"},"key":"lastName","value":""},{"disabled":true,"description":{"content":"<p>The id client (or a list of id clients joined by ,)</p>\n","type":"text/plain"},"key":"idClient","value":"2910"},{"description":{"content":"<p>The number of rows to be skipped (for pagination)</p>\n","type":"text/plain"},"key":"_offset","value":"0"},{"description":{"content":"<p>The limit in search results. Max value is 200 rows. Above this you will get an exception</p>\n","type":"text/plain"},"key":"_limit","value":"50"},{"description":{"content":"<p>Include pagination</p>\n","type":"text/plain"},"key":"_paginate","value":"true"},{"disabled":true,"description":{"content":"<p>Date of birth</p>\n","type":"text/plain"},"key":"birthDate","value":""},{"disabled":true,"key":"secondName","value":""},{"disabled":true,"key":"_sortOrder","value":""},{"disabled":true,"key":"_sortBy","value":""},{"disabled":true,"description":{"content":"<p>(optional) (number|numbers) The center where the client belongs to (version 1.9.0.rc6)</p>\n","type":"text/plain"},"key":"center","value":"9956"},{"disabled":true,"description":{"content":"<p>(optional) (number|numbers) The commercial advisor afected to the client</p>\n","type":"text/plain"},"key":"advisor","value":"0"},{"disabled":true,"description":{"content":"<p>(optional) The phone</p>\n","type":"text/plain"},"key":"phone","value":"06.06.06.06.06"},{"disabled":true,"description":{"content":"<p>(optional) The mobile phone to be searched</p>\n","type":"text/plain"},"key":"mobilePhone","value":"05.05.05.05.05"},{"disabled":true,"description":{"content":"<p>(optional) The identification number (Citizen number)</p>\n","type":"text/plain"},"key":"identificationNumber","value":"21312"},{"disabled":true,"description":{"content":"<p>(optional) (admin_only) Allows to include additional user information</p>\n","type":"text/plain"},"key":"_fields","value":"email,phone,mobilePhone"},{"disabled":true,"description":{"content":"<p>(optional) (v1.9.0-rc.68) 0 = ALL; 1 = ACTIVE; 2 = INACTIVE; \n(v2.1.3-beta.113) NO_LONGER_ACTIVE = 3, NEVER_ACTIVE = 4,</p>\n","type":"text/plain"},"key":"subscriptionState","value":"1"},{"disabled":true,"description":{"content":"<p>(v1.9.0-rc.68) (optional) (admin_only) String of numbers joined by ,  1 = PARTNERSHIP_MEMBER, PARTNERSHIP_OWNER_NAME = 2, SUBSCRIPTION_ACTIVE = 3</p>\n","type":"text/plain"},"key":"_include","value":"3"},{"disabled":true,"description":{"content":"<p>(v1.9.0-rc.72) When true, results will only include clients that are godfather of someone else</p>\n","type":"text/plain"},"key":"isGodfather","value":"true"},{"description":{"content":"<p>(1.9.0-rc.77) (admin sess required) When true, \"_finBalance\" will be returned</p>\n","type":"text/plain"},"key":"finBalance","value":"true"},{"description":{"content":"<p>(1.9.0-rc.77) (admin sess required)  enum FINANCIAL_BALANCE_STATE {\n          ANY = 0,\n          POSITIVE = 1,\n          NEGATIVE = 2,\n          NEUTRAL = 3,\n     }</p>\n","type":"text/plain"},"key":"finBalanceState","value":"0"}],"variable":[]}},"response":[],"_postman_id":"cbf68c88-901a-495a-a741-879ce86ad635"},{"name":"/api/users/:id","event":[{"listen":"test","script":{"id":"7aa8c3fe-77bd-4d3a-a914-b3ce53273fa8","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"b2a8c2cc-8dac-4275-93cf-585d621df6a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/users/:id?includeParams=true&fields=firstName,lastName,photo","description":"<p>Gets user information. </p>\n<ul>\n<li>contactSMS, contactEmail, contactPostal, contactPhone will contain values from 0 to 2:\n (0 = Not defined, 1 = Accepted; 2= Not Accepted)</li>\n</ul>\n<p>⚠️ Important: <code>civility: {...}</code> and <code>city: {}</code> are readonly properties representing the linked object (city/civility). <strong>See how to deal with city and civility in POST/PUT requests above</strong>.</p>\n","urlObject":{"path":["api","users",":id"],"host":["{{url}}"],"query":[{"key":"includeParams","value":"true"},{"key":"fields","value":"firstName,lastName,photo"}],"variable":[{"id":"56d76ccd-dd52-44e9-a57a-1d86e433efbd","type":"string","value":"2910","key":"id"}]}},"response":[],"_postman_id":"b2a8c2cc-8dac-4275-93cf-585d621df6a8"},{"name":"/api/users","event":[{"listen":"test","script":{"id":"c0c10639-6c5f-4ca4-8591-c3df01573073","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"4a518cf4-7da5-4958-8333-6705c017871f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"idCiv\": 0,\n    \"idVil\": 0,\n    \"type\": 0,\n\t\"firstName\": \"XE1B101\",\n\t\"lastName\": \"XE1B101\",\n\t\"email\": \"E1B10@heitzsystem.com\",\n\t\"mobilePhone\": \"asdasdasda231231\",\n\t\"birthday\": \"1990-08-29\",\n\t\"identificationNumber\": null,\n\t\"password\": \"123ab\",\n    \"params\": {\n        \"job\": 12312312,\n        \".....\": 12321\n    }\n}"},"url":"{{url}}/api/users","description":"<p>Creates a new user/customer account.</p>\n","urlObject":{"path":["api","users"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a518cf4-7da5-4958-8333-6705c017871f"},{"name":"/api/users/:id/photo/fromUpload?idClient=","event":[{"listen":"test","script":{"id":"c0c10639-6c5f-4ca4-8591-c3df01573073","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}}],"id":"17b2e516-ff48-4b72-925e-22f4322f9dd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"photoGuid\": \"UPLOAD_GUID_HERE\"\n}"},"url":"{{url}}/api/users/:id/photo/fromUpload?idClient=","description":"<p>Creates a new user/customer account.</p>\n","urlObject":{"path":["api","users",":id","photo","fromUpload"],"host":["{{url}}"],"query":[{"key":"idClient","value":""}],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"17b2e516-ff48-4b72-925e-22f4322f9dd8"},{"name":"/api/users/:id","id":"31bb584c-5638-4629-8572-fa88859a01c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"lastName\": \"REIS\",\n    \"firstName\": \"MARCIO\",\n    \"internetBookingBlockUntil\": \"2020-02-20\"\n}"},"url":"{{url}}/api/users/:id","description":"<p>@description\n </p><p>Updates a user entry</p>\n <p>Small note about profile of <code>type: 5 = INTERNET</code>: <br />\n Those type of profiles are processed/stored differently by the system therefore some properties might not be available in INTERNET accounts and available in all other profile types and vice versa.</p><p></p>\n<p> <br /><br /><br />\n <strong>Common Properties:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Request\n\n{\n @queryParams: {\n      controlDoublon: {\n           type: boolean;\n           description: 'When true, the validation will take place anytime, When `false` the validation will only take place if one of the control fields is updated',\n           default: false,\n           requirements: {\n                version: '12.8.8'\n           }\n      }\n }\n}\n</code></pre><p> List of properties than can be used for both INTERNET and OTHER THAN INTERNET profiles.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    idCiv: {\n         type: number,\n         description: 'The civility id from /api/civility result',\n         required: false,\n         restrictions: []\n    }\n    lastName: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    firstName: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    secondName: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    phone: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    mobilePhone: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    email: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    birthday: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    password: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: ['Requires admin session']\n    }\n    address1: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    address2: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    address3: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    address4: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    ville: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    contactSMS: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    contactEmail: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    contactPostal: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    contactPhone: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    invoiceName: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    invoiceAddress1: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    invoiceAddress1: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    invoiceAddress1: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    invoiceAddress1: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    invoiceCity: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    idVil: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    creation: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    recoverExpiration: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: ['Requires admin session']\n    }\n    recoverHash: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: ['Requires admin session']\n    }\n    dataUsage: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    dataUsageByPartners: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n    identificationNumber: {\n         type: ,\n         description: ,\n         required: ,\n         default: -,\n         restrictions: []\n    }\n}\n</code></pre><p> <br /><br /><br /></p>\n<p> List of properties that can only be used by internet clients (<strong>CLIENT_TYPE.INTERNET</strong>)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    idBank: {\n         type: number,\n         description: 'The bank id',\n         required: false,\n         default: -,\n         restrictions: []\n    },\n    iban: {\n         type: ,\n         description: ,\n         required: false,\n         default: -,\n         restrictions: []\n    },\n    bankName: {\n         type: ,\n         description: ,\n         required: false,\n         default: -,\n         restrictions: []\n    },\n    bic: {\n         type: ,\n         description: ,\n         required: false,\n         default: -,\n         restrictions: []\n    },\n    payer: {\n         type: ,\n         description: ,\n         required: false,\n         default: -,\n         restrictions: []\n    },\n    idGodfather: {\n         type: ,\n         description: ,\n         required: false,\n         default: -,\n         restrictions: []\n    },\n\n}\n</code></pre><p> <br /><br /><br /></p>\n<p> List of properties that can not be used by internet clients but by any other type of profile</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    fax: {\n         type: number,\n         description: '',\n         required: false,\n         readOnly: true,\n         default: -,\n         restrictions: []\n    }\n    subscriptionEnd: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    dateWarning: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: ['Requires admin session']\n    }\n    responsibilityDiscard: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: ['Requires admin session']\n    }\n    accountNumber: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: ['Requires admin session']\n    }\n    center: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    inProgress: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    contractNumber: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: ['Requires admin session']\n    }\n    type: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    taxNumber: {\n         readOnly: true,\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    proCreation: {\n         type: number,\n         description: '',\n         required: false,\n         readOnly: true,\n         default: -,\n         restrictions: []\n    }\n    proConversion: {\n         type: number,\n         description: '',\n         required: false,\n         readOnly: true,\n         default: -,\n         restrictions: []\n    }\n    proContact: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         readOnly: true,\n         restrictions: []\n    }\n    proRecontact: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         readOnly: true,\n         restrictions: []\n    }\n    proMove: {\n         type: number,\n         description: '',\n         required: false,\n         readOnly: true,\n         default: -,\n         restrictions: []\n    }\n    npai: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    geoLat: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    geoLon: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    internet: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    ape: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    siret: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    obClient: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    }\n    centre: {\n         type: number,\n         description: '',\n         required: false,\n         default: -,\n         restrictions: []\n    },\n    params: {\n         type: object,\n         description: 'Equivalent to POST /userParameters?idClient=YOUR_IDCLI. This method allows you to skip the complexity of settings parameters specially those that we consider common such as job, motivation, etc. When settings parameters a validation will be performed to ensure that changes respect the rules of the parameter (unique; required; etc.)',\n         required: false,\n         default: -,\n         restrictions: [],\n         properties: {\n              [\n                   job\n                   situation\n                   howDidYouKnowUs\n                   clientGroup\n                   adviser\n                   cancellationReason\n                   origin\n                   motivation\n                   family\n                   dossierType\n                   prospectType\n              ] : {\n                   type: object|number|null,\n                   description: 'Each of the properties listed above can be provided as number or as object.\n                   When a null is provided or a idParameter is null, all properties in the category will be removed.\n                   If a value is provided, the first value will be updated.',\n                   required: false,\n                   default: -,\n                   restrictions: [],\n                   [if type is object]: {\n                        properties: {\n                             idParameter: {\n                                 type: number|null\n                             }\n                        }\n                   }\n              }\n         },\n         examples: `\n         Example 1: \n              {\n                   \"firstName\": \"Emma\",\n                   \"lastName\": \"Salon\",\n                   \"email\": \"emma@heitzsystem.com\",\n                   \"birthday\": \"1990-08-29\",\n                   \"identificationNumber\": null,\n                   //... other params that you wish to update\n                   \"params\": {\n                        // Format 1\n                        \"job\": { \"idParameter\": null },\n                        \"job\": { \"idParameter\": 9127312 },\n                        \n                        \n                        // Format 2 (basic)\n                        \"job\": null,\n                        \"job\": 9127312,\n                        \n                        \n                        // The same can be applied to any other parameter\n                   }\n              }\n         \n         `\n    }\n}\n</code></pre><p> */</p>\n","urlObject":{"path":["api","users",":id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>(number|-) The id client (- can be used to target own client account</p>\n","type":"text/plain"},"type":"string","value":"2910","key":"id"}]}},"response":[],"_postman_id":"31bb584c-5638-4629-8572-fa88859a01c8"},{"name":"/api/users/mandate (>= v1.5.8)","id":"f4440435-f598-4aea-a9a1-e809e47d2bba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/users/mandate?idClient=2908","description":"<p>Returns information related to the active mandate</p>\n","urlObject":{"path":["api","users","mandate"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The client id</p>\n","type":"text/plain"},"key":"idClient","value":"2908"}],"variable":[]}},"response":[],"_postman_id":"f4440435-f598-4aea-a9a1-e809e47d2bba"},{"name":"/api/users/requestPasswordReset","id":"5f88aa11-a9f6-4099-b8ef-f2cb161e4215","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"test1@heitzsystem.com\"\n}"},"url":"{{url}}/api/users/requestPasswordReset","description":"<p>Generates a new recover password token and set's an expiration.</p>\n<h4 id=\"request\">@request</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>@body {\n    email: string;\n    expiration:  {\n       adminOnly: true;\n       optional: true;\n       default: current_timestamp + 2hours;\n       type: 'Date+Time &lt;YYYY-MM-DD HH:mm:ss&gt;'\n    },\n    sendEmail:  {\n       adminOnly: true;\n       optional: true;\n       default: true;\n       type: boolean;\n    }    \n}\n</code></pre><h4 id=\"response-for-non-admin-session\">@response <strong>for non admin session</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>@body {\n     status: 'Ok'\n}\n</code></pre><h4 id=\"response-for-admin-session\">@response <strong>for admin session</strong></h4>\n<p><strong>Note: 2021-03-21</strong></p>\n<ul>\n<li><p>Due changes in API requirements at 1.9.0-rc.40 we plan to deprecate the old response.</p>\n</li>\n<li><p>This change was required to reply to allow customers that after their email to other customers (such as their children) to still be able to use the recover password mechanism.</p>\n</li>\n</ul>\n<p>💥 So, before you would see the following structure in your response.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>@body {\n   token: string,\n   expiration: string:ISODate,\n   email: IRecoverPasswordEmail\n}\n</code></pre><p>⚠️ In future only \"emails\" property will be returned.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>@body {\n   emails: Array&lt;IRecoverPasswordEmail&gt;;\n}\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>interface IRecoverPasswordEmail {\n      /**\n       * The id email. \n       * Might be null\n       */\n      id: number;\n      /**\n       * The id document used to generate this email.\n       * Null = default app email\n       */\n      idDoc: number;\n      /**\n       * The id client\n       */\n      idClient: number;\n      /**\n       * The email subject\n       */\n      subject: string;\n      /**\n       * The email content generated by the system\n       */\n      content: string;\n      /**\n       * Either the email was actually sent or not\n       */\n      sent: boolean;\n      /**\n       * The token\n       */\n      token: string;\n      /**\n       * The expiration datetime in iso date format\n       */\n      expiration: string;\n }\n</code></pre>","urlObject":{"path":["api","users","requestPasswordReset"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"8b331704-8e1d-4346-b156-12f87399cbb7","name":"Single Email Match","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"test1@heitzsystem.com\"\n}"},"url":"{{url}}/api/users/requestPasswordReset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"675"},{"key":"ETag","value":"W/\"2a3-N3q0Rq0YVfNWwEyK8/h70W+hUrQ\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Wed, 31 Mar 2021 09:11:10 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"08A36280-9201-11EB-9ECF-8772EECDC6CE\",\n    \"expiration\": \"2021-03-31T11:11:10.247Z\",\n    \"emailMatches\": 1,\n    \"email\": {\n        \"id\": 1000301409551,\n        \"idClient\": 300329692,\n        \"subject\": \"Demande de votre code\",\n        \"content\": \"<p>Bonjour,</p><p>Veuillez cliquez sur le lien ci-dessous pour modifier votre mot de passe:</p><p><a href=\\\"http://mon-lien.com/?token=08A36280-9201-11EB-9ECF-8772EECDC6CE&amp;client=300329692\\\">http://mon-lien.com?token=08A36280-9201-11EB-9ECF-8772EECDC6CE&amp;client=300329692</a>&nbsp;</p><p>https://cloud.heitzsystem.com/heitzfit/1000/app/setPassword?token=08A36280-9201-11EB-9ECF-8772EECDC6CE&id=300329692</p><p>Cordialement,<br />Toute l'&eacute;quipe</p>\",\n        \"sent\": true\n    }\n}"}],"_postman_id":"5f88aa11-a9f6-4099-b8ef-f2cb161e4215"},{"name":"/api/users/setPassword","id":"014eab3c-4c1a-470e-aec6-2002c26f0b4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"<token_received_from_request_password>\",\n    \"idClient\": 111111,\n    \"password\": \"The_new_password\"\n}"},"url":"{{url}}/api/users/setPassword","description":"<p>This endpoint relies on the token received from <code>/requestPasswordReset</code> endpoint.</p>\n<p>To set the new password you must call this endpoint with the respective recover token (`token`), the <code>idClient</code> associated with the recover token and the new password (`password`)</p>\n","urlObject":{"path":["api","users","setPassword"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"014eab3c-4c1a-470e-aec6-2002c26f0b4b"}],"id":"f1088f0f-e72d-4a0e-ae18-7a04dbc9a9a1","description":"<p>A collection of endpoints to deal with user/customer records.</p>\n<p>Here's a list of things you might need to know before get started.</p>\n<h3 id=\"the-account-type\">The account type:</h3>\n<p>Each user has a <code>type</code>. Types can be listed by querying <code>GET /clientType/browse.</code><br />There you will have a complete list of customer types. Internal types can be distinguished from custom types by the fact that internal types have their respective <code>id matching the internalType.</code> All custom types must match an internal type.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n        \"id\": 0,                  &lt;-- The value here...\n        \"label\": \"Client\",\n        \"internalType\": 0,        &lt;-- ...matches this making it an internal type\n        ...\n},\n\n</code></pre><p>Main internal types are:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>export enum CLIENT_TYPE {\n     CLIENT = 0,\n     PROSPECT = 1,\n     SOCIETE = 2,\n     EMPLOYE = 3,\n     ETABLISSEMENT = 4,\n     INTERNET = 5,\n     EXTERNAL = 6,\n     ANCIEN_CLIENT = 7,\n     ANCIEN_PROSPECT = 8\n}\n\n</code></pre><h3 id=\"required-fields\">Required fields</h3>\n<p>Creating and updating records will generate a server side validation. Server will reply with different status codes depending on the error but to be more specifically a \"ctxCode\" property in returned in the server's JSON response.</p>\n<h3 id=\"prevention-of-duplicated-accounts-doublon\">Prevention of duplicated accounts (Doublon)</h3>\n<p>The criteria that defines a doublon can be configured in each center's configuration. By default the doublon verification is made over <code>firstName</code> and <code>lastName</code>.</p>\n<h3 id=\"civility\">Civility</h3>\n<p>Civility might be set as \"required\" in center's configuration. When this is the case, you must provide a civility during the registration process by specifying a property named <code>idCiv</code> (bigInt).</p>\n<h3 id=\"dealing-with-citytown\">Dealing with city/town</h3>\n<p>There are two ways to deal with city/town records.</p>\n<ol>\n<li><p>You provide the <code>idVil</code> that can be specified in both cases: <code>POST</code> and <code>PUT</code> requests. (Refer to /city endpoints).</p>\n</li>\n<li><p>You provide the <code>city</code> and <code>postalCode</code> and you leave it to the server to decide what to do (⚠️ This properties are ignored if <code>idVil</code> is provided).</p>\n</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"idCiv\": 0,   \n    \"firstName\": \"E1B15\",\n    \"lastName\": \"E1B15\",\n    \"email\": \"E1B15@heitzsystem.com\",\n    \"mobilePhone\": \"asdasdasda231231\",\n    \"birthday\": \"1950-04-29\",\n    \"identificationNumber\": null,\n    \"password\": \"\",\n    // On remplace \"idVil\": 0 par: \n    \"postalCode\": \"84370\",\n    \"city\": \"BEDARRIDES\",\n    \"country\": \"\"\n    \"params\": {\n        \"job\": { \"idParameter\": 300549799 }\n    }\n}\n\n</code></pre><h3 id=\"dealing-with-params\">Dealing with params:</h3>\n<p>The software provides internal parameter categories as specified in <code>/parameter</code> section of this documentation.</p>\n<p>For internal types we expose alias such as job that is mapped to the parameter type matching the id <code>5</code>.</p>\n<p>If you want to provide a value for <code>params.job</code> you must first determine which are the accepted for this parameter.</p>\n<p>For this you must query <code>GET /api/parameter/list?limit=100&amp;offset=0&amp;idParamList=5</code></p>\n<p>You will retrieve a list of allowed values for parameter type 4 (Job/Profession).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[{\"id\":1407846227,\"idParameterList\":4,\"name\":\".\",\"default\":false,\"dontUse\":false,\"idCenter\":1000},....]\n\n</code></pre><p>The following alias can be used:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>job = TYPE_PARAMETER.PROFESSION\nsituation = TYPE_PARAMETER.SITUATION_FAMILIALE\nhowDidYouKnowUs = TYPE_PARAMETER.MOYEN\nclientGroup = TYPE_PARAMETER.GROUPE_CLIENT\nadviser = TYPE_PARAMETER.CONSEILLER\ncancellationReason = TYPE_PARAMETER.MOTIF_RESILIATION\norigin = TYPE_PARAMETER.ENDROIT\nmotivation = TYPE_PARAMETER.MOTIVATION\nfamily = TYPE_PARAMETER.FAMILLE\ndossierType = TYPE_PARAMETER.TYPE_DE_DOSSIER\nprospectType = TYPE_PARAMETER.TYPE_DE_PROSPECT\n\n</code></pre>","_postman_id":"f1088f0f-e72d-4a0e-ae18-7a04dbc9a9a1"},{"name":"/userScheduledPayments","item":[{"name":"/userScheduledPayments/provisional","id":"41a6361c-d674-4009-916c-b91447f92280","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}","warning":""}],"url":"{{url}}/api/userScheduledPayments/provisional?idClient","urlObject":{"path":["api","userScheduledPayments","provisional"],"host":["{{url}}"],"query":[{"key":"idClient","value":null}],"variable":[]}},"response":[{"id":"6369fd58-7020-4742-86d5-6c5d796bd764","name":"/userScheduledPayments/provisional","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}","warning":""}],"url":"{{url}}/api/userScheduledPayments/provisional"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1005"},{"key":"ETag","value":"W/\"3ed-fv7Jb34OG5Yev2ewKTiHSDcUnrk\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Wed, 07 Aug 2019 08:33:22 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"date\": \"2019-07-31T22:00:00.000Z\",\n        \"valuePayment\": 12,\n        \"valueSale\": 12,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2019-08-31T22:00:00.000Z\",\n        \"valuePayment\": 12,\n        \"valueSale\": 12,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2019-09-30T22:00:00.000Z\",\n        \"valuePayment\": 12,\n        \"valueSale\": 12,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2019-10-31T23:00:00.000Z\",\n        \"valuePayment\": 12,\n        \"valueSale\": 12,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2019-11-30T23:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2019-12-31T23:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2020-01-31T23:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2020-02-29T23:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2020-03-31T22:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2020-04-30T22:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2020-05-31T22:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    },\n    {\n        \"date\": \"2020-06-30T22:00:00.000Z\",\n        \"valuePayment\": 0,\n        \"valueSale\": 0,\n        \"valuePoints\": 0\n    }\n]"}],"_postman_id":"41a6361c-d674-4009-916c-b91447f92280"},{"name":"/userScheduledPayments/display","id":"1bb3a132-fdff-444c-ab6d-ec3e1c10b028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}","warning":""}],"url":"{{url}}/api/userScheduledPayments/display?idClient=2908","urlObject":{"path":["api","userScheduledPayments","display"],"host":["{{url}}"],"query":[{"description":{"content":"<p>(admin only) The target id client</p>\n","type":"text/plain"},"key":"idClient","value":"2908"}],"variable":[]}},"response":[{"id":"afd0bddf-6ba7-4858-8083-ac8ddb52298d","name":"/userScheduledPayments/display","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}","warning":""}],"url":"{{url}}/api/userScheduledPayments/display"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"323"},{"key":"ETag","value":"W/\"143-xcYTjrhC+h3CNqwZD49UiPi0orc\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Wed, 07 Aug 2019 08:37:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 301321610,\n        \"next\": \"2019-08-06T22:00:00.000Z\",\n        \"last\": \"2019-11-06T23:00:00.000Z\",\n        \"label\": \"dasdasda\",\n        \"totalSale\": \"12.00 EUR (TVA 20%)\",\n        \"totalPayment\": \"12.00 EUR - PRELEVEMENT\",\n        \"totalPoints\": null,\n        \"access\": \"ANNUEL + FRAIS (05/08/2019 - 04/08/2020)\",\n        \"period\": \"Jusqu'au 07/11/2019 - Tous les1 Mois\",\n        \"processManually\": false\n    }\n]"}],"_postman_id":"1bb3a132-fdff-444c-ab6d-ec3e1c10b028"}],"id":"9f325d87-c7c0-4564-9950-2349a9dee4d4","_postman_id":"9f325d87-c7c0-4564-9950-2349a9dee4d4","description":""},{"name":"/userSubscriptions","item":[{"name":"/api/userSubscriptions","id":"9bea5d43-d0ec-467b-944d-ce8e715bcffc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":"{{url}}/api/userSubscriptions?idClient=2910","description":"<p>Lists active subscriptions.</p>\n<p><code>Note</code>: If you sell an article to a given custom through the API, only articles of type <code>ACCESS</code> will appear here.</p>\n","urlObject":{"path":["api","userSubscriptions"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2910"}],"variable":[]}},"response":[],"_postman_id":"9bea5d43-d0ec-467b-944d-ce8e715bcffc"},{"name":"/api/userSubscriptions/:id","id":"b2e9152b-5bb0-4bbe-b330-2d8c840603d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":"{{url}}/api/userSubscriptions/:id","description":"<p>Returns the information for a given <code>idSubscription</code>.</p>\n","urlObject":{"path":["api","userSubscriptions",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"0ac90328-ae29-4f28-a2ca-b5939d8bc6dd","type":"any","value":"2909","key":"id"}]}},"response":[],"_postman_id":"b2e9152b-5bb0-4bbe-b330-2d8c840603d8"},{"name":"/api/userSubscriptions/:id/config","id":"d3578650-7fd9-476b-aa52-819b1f2ffa62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{token}}"}],"url":"{{url}}/api/userSubscriptions/:id/config?detail=1","description":"<p>Returns the user's subscription configuration</p>\n","urlObject":{"path":["api","userSubscriptions",":id","config"],"host":["{{url}}"],"query":[{"description":{"content":"<p>string:(optional) List of numbers joined by ,:  1 = Subscription access's schedule (no records means, no restrictions or center operating hours restrictions)</p>\n","type":"text/plain"},"key":"detail","value":"1"}],"variable":[{"id":"ec8da8bb-51b4-442e-a3bf-a1794d0d5520","type":"any","value":"1000301413313","key":"id"}]}},"response":[],"_postman_id":"d3578650-7fd9-476b-aa52-819b1f2ffa62"}],"id":"74474b69-0f52-48e6-b9a1-64cf9c4431a8","_postman_id":"74474b69-0f52-48e6-b9a1-64cf9c4431a8","description":""},{"name":"/userParameters","item":[{"name":"/userParameters","event":[{"listen":"test","script":{"id":"eaf2da1a-f1ff-48e2-99e4-fa533dd0637d","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"1f93aabd-ff41-49c5-a7f5-37ef1da5bd76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userParameters?idClient=2908","description":"<p>@description </p>\n<ul>\n<li>Returns all parameters assigned to a particular customer</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>enum TYPE_PARAMETER {\n    ENDROIT = 1 \n    GROUPE_CLIENT = 2   \n    MOTIVATION = 3  \n    MOYEN = 4   \n    PROFESSION = 5  \n    SITUATION_FAMILIALE = 6 \n    TYPE_DE_PROSPECT = 7    \n    CRITERE_2 = 9   \n    CRITERE_3 = 10\n    CRITERE_4 = 11\n    CRITERE_5 = 12\n    FAMILLE 0 = 13\n    MOTIF_RESILIATION = 14\n    TYPE_DE_DOSSIER = 15\n    CONSEILLER = 16\n}\n</code></pre><p>@requirements:  DB &gt;= 12.8.8 &amp;&amp; HZ.WS &gt;= 1.5.21</p>\n<p>@sessionRequired: true</p>\n","urlObject":{"path":["api","userParameters"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The customer id</p>\n","type":"text/plain"},"key":"idClient","value":"2908"},{"disabled":true,"description":{"content":"<p>List of param ids that you wish to obtain</p>\n","type":"text/plain"},"key":"paramList","value":"1"}],"variable":[]}},"response":[],"_postman_id":"1f93aabd-ff41-49c5-a7f5-37ef1da5bd76"},{"name":"/userParameters/verify","event":[{"listen":"test","script":{"id":"dd6733b4-a38f-4044-8ab4-20da5cfb51a9","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"a4dde808-f02b-4010-b4cd-138194604667","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userParameters/verify?idClient=2908","description":"<p>@description</p>\n<ul>\n<li>Based on parameters configuration, this function will check if all required parameters are filled and if uniqure parameters are really unique.</li>\n</ul>\n<p> @requirements:  DB &gt;= 12.8.8 &amp;&amp; HZ.WS &gt;= 1.5.21</p>\n<p> @sessionRequired: true</p>\n","urlObject":{"path":["api","userParameters","verify"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The client id</p>\n","type":"text/plain"},"key":"idClient","value":"2908"}],"variable":[]}},"response":[],"_postman_id":"a4dde808-f02b-4010-b4cd-138194604667"},{"name":"/userParameters","event":[{"listen":"test","script":{"id":"ed385fee-7583-40a7-8f52-7be8ea7121ea","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"b4bf0bbe-6f88-4263-9076-d52452d2cbb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"idClient\": 2908,\n\t\"idParam\": 1003000088561\n}"},"url":"{{url}}/api/userParameters","urlObject":{"path":["api","userParameters"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4bf0bbe-6f88-4263-9076-d52452d2cbb4"},{"name":"/userParameters","event":[{"listen":"test","script":{"id":"49397f2b-7162-47f0-a69c-39e14c4eddb1","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"afbf4271-41fc-4cec-b7b8-1a4c1f49d02d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/userParameters/:id?idClient=2908","urlObject":{"path":["api","userParameters",":id"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The id client</p>\n","type":"text/plain"},"key":"idClient","value":"2908"}],"variable":[{"id":"18508cc3-ae54-4abe-94aa-288540cff9a6","description":{"content":"<p>The user's parameter id</p>\n","type":"text/plain"},"type":"string","value":"301310401","key":"id"}]}},"response":[],"_postman_id":"afbf4271-41fc-4cec-b7b8-1a4c1f49d02d"}],"id":"7ed9ce67-4a86-4a5f-b626-756cb1490631","_postman_id":"7ed9ce67-4a86-4a5f-b626-756cb1490631","description":""},{"name":"/parameterList","item":[{"name":"/api/parameterList/list","event":[{"listen":"test","script":{"id":"753a888d-b2a9-4ffa-af5d-c3d3cf85947c","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"2b7febb3-1cf0-450e-8c98-a28740fb2ce7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/parameterList/list?limit=50&offset=0&q=END","description":"<p>@description:\n </p><p>Lists filter categories<br />\n You can filter by parameter type (see /api/parameterList)</p><p></p>\n","urlObject":{"path":["api","parameterList","list"],"host":["{{url}}"],"query":[{"key":"limit","value":"50"},{"key":"offset","value":"0"},{"description":{"content":"<p>(optional) Search on parameter category name</p>\n","type":"text/plain"},"key":"q","value":"END"}],"variable":[]}},"response":[],"_postman_id":"2b7febb3-1cf0-450e-8c98-a28740fb2ce7"},{"name":"/api/parameterList/:id","event":[{"listen":"test","script":{"id":"f78c51e0-987d-4bd7-aed6-da16d4feecf6","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"831d272b-51a6-444f-ad9f-1a451e29385a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/parameterList/:id","urlObject":{"path":["api","parameterList",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"93106a55-657e-4ce6-8d91-bb43ada4cee7","type":"string","value":"301128784","key":"id"}]}},"response":[],"_postman_id":"831d272b-51a6-444f-ad9f-1a451e29385a"},{"name":"/api/parameterList","event":[{"listen":"test","script":{"id":"3c46d939-3468-406a-aefe-9fe0e27c6125","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f6d97087-a57a-4f55-923d-7ed0a3de7c77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Param Catg.Name\",\n    \"required\": false,\n    \"unique\": false,\n    \"add\": false,\n    \"permissions\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/parameterList","description":"<p>Creates a parameter category.</p>\n<p><strong>Version: &gt;= 1.9.0-rc.74</strong></p>\n","urlObject":{"path":["api","parameterList"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6d97087-a57a-4f55-923d-7ed0a3de7c77"}],"id":"a58ede57-aafc-49ee-b8e9-1f813ae3a352","description":"<p>Description:\nThe next few routes will be working with parameters. \nHere's a description of the entity that we will be working with below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>entity Parameter {\n        id: {type: number; description: 'The id'},\n        name: {type: string; description: 'The parameter name'},\n        required: {type: boolean; description: 'Identifies if the parameter is required.'},\n        unique: {type: boolean; description: 'Identifies a parameter category that can only be filled 1 time'},\n        add: {type: boolean; description: 'When true new values can be created by employees from the GUI'},\n        permissions: {type: boolean; description: 'Permission to modify the paramter'},\n        idCenter: 1000\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"ab210560-4da0-4b9a-bf77-71f688eed787","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cb2ed26d-962f-4f01-b06e-01b755a01f72","type":"text/javascript","exec":[""]}}],"_postman_id":"a58ede57-aafc-49ee-b8e9-1f813ae3a352"},{"name":"/parameter","item":[{"name":"/api/parameter/list","event":[{"listen":"test","script":{"id":"6f352092-5b19-4d6f-b235-601451e7def7","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"9bc79f02-fb49-416a-aeb4-f9f8cdf5de4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/parameter/list?limit=10000&offset=0&idParamList=13","description":"<p>@description:\n </p><p>Lists of filters parameters<br />\n You can filter by parameter type (see /api/parameterList)</p><p></p>\n<p> ```\n Request\n     {\n       @queryParams: {\n            id: {\n               type: string;\n               description: 'The id client'\n            }\n            q: {\n               type: string,\n               description: 'A search term to filter the result set.'\n            }\n            idParamsList: {\n                type: string;\n                description: 'A string with multiple numbers joined by , to filter results set',\n                dictionary: {\n                     ENDROIT = 1,\n                     GROUPE_CLIENT = 2,\n                     MOTIVATION = 3,\n                     MOYEN = 4,\n                     PROFESSION = 5,\n                     SITUATION_FAMILIALE = 6,\n                     TYPE_DE_PROSPECT = 7,\n                     CRITERE_2 = 9,\n                     CRITERE_3 = 10,\n                     CRITERE_4 = 11,\n                     CRITERE_5 = 12,\n                     FAMILLE = 13,\n                     MOTIF_RESILIATION = 14,\n                     TYPE_DE_DOSSIER = 15,\n                     CONSEILLER = 16\n                },\n                notes: 'The dictionary contain only internal parameters. For external parameters check /parameterList/list.',\n                restrictions: {\n                    version: '12.8.8'\n                }\n            }\n       }\n     }</p>\n","urlObject":{"path":["api","parameter","list"],"host":["{{url}}"],"query":[{"key":"limit","value":"10000"},{"key":"offset","value":"0"},{"key":"idParamList","value":"13"},{"disabled":true,"key":"q","value":"ACHE"},{"disabled":true,"key":"includeParams","value":"true"}],"variable":[]}},"response":[],"_postman_id":"9bc79f02-fb49-416a-aeb4-f9f8cdf5de4a"},{"name":"/api/parameter/:id","event":[{"listen":"test","script":{"id":"0b6d8460-50fc-4c65-98a7-76dc3cc4b0b2","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"da3e70a8-0c32-4c3c-91d7-d8c40ad4b412","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/parameter/:id","urlObject":{"path":["api","parameter",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"d6069997-1510-420b-beb1-462a17dbbaac","type":"string","value":"300549791","key":"id"}]}},"response":[],"_postman_id":"da3e70a8-0c32-4c3c-91d7-d8c40ad4b412"},{"name":"/api/parameter","event":[{"listen":"test","script":{"id":"d3ece8d0-a8b8-4b15-9458-6af3b5cb7a47","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"a1b99a51-ac47-42f0-87f7-d6ef10fecf6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"idParameterList\": 1003000087756,\n    \"name\": \"11\",\n    \"default\": true,\n    \"dontUse\": false\n}"},"url":"{{url}}/api/parameter","urlObject":{"path":["api","parameter"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1b99a51-ac47-42f0-87f7-d6ef10fecf6b"},{"name":"/api/parameter/:id","event":[{"listen":"test","script":{"id":"e1324a89-13c9-4a4b-a57e-587a337364bf","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"27c78817-929a-4eec-94da-a12578b6609e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"test xxx\",\n  \"default\": true\n}"},"url":"{{url}}/api/parameter/:id","description":"<p><strong>Careful</strong> Update exists</p>\n","urlObject":{"path":["api","parameter",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"d2ffe04a-bfdc-4b3f-a668-5b8372b4a66d","type":"string","value":"301128811","key":"id"}]}},"response":[],"_postman_id":"27c78817-929a-4eec-94da-a12578b6609e"}],"id":"7afc92be-e145-49b0-b4ba-5f4c952ed79e","description":"<p>List of endpoints to work with <code>parameter values</code>.</p>\n<p>These values belong to a parameter category that can be found in <code>/parameterList</code></p>\n","_postman_id":"7afc92be-e145-49b0-b4ba-5f4c952ed79e"},{"name":"/fmi","item":[{"name":"/fmi/date/:date","event":[{"listen":"test","script":{"id":"25dfc601-7e26-11e9-a8d6-f76a8d4761a0","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"3c194fe7-d9a0-431c-bff1-e77b35d3da24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/fmi/date/:date?internal=true&external=true","description":"<p>Since version 1909 this endpoint is completely modified. \nNow instead of returning the number of internal passages, this endpoint returns:</p>\n<p><code>/fmi/data/2019-02-20?internal=true</code></p>\n<ul>\n<li>internalIn: Number of passages per hour of internal customer</li>\n<li>internalOut: Number of exists per hour of internal customer</li>\n<li>internalPresent: Number of internal customers present</li>\n</ul>\n<p><code>/fmi/data/2019-02-20?external=true</code></p>\n<ul>\n<li>externalIn: Number of passages per hour of external customer</li>\n<li>externalOut: Number of exists per hour of external customer</li>\n<li>externalPresent: Number of external customers present</li>\n</ul>\n<p><code>out, in and present properties are always available. They are a summary of values returned when ?external is true and when ?internal is also true.</code></p>\n<p>Assuming 0 persons inside at \"00:00\", these endpoints return the number of passages</p>\n","urlObject":{"path":["api","fmi","date",":date"],"host":["{{url}}"],"query":[{"disabled":true,"key":"idCenter","value":"1000"},{"key":"internal","value":"true"},{"key":"external","value":"true"}],"variable":[{"id":"cb5a4f33-c69b-4262-bfb7-e79a76118b00","type":"string","value":"2019-09-02","key":"date"}]}},"response":[],"_postman_id":"3c194fe7-d9a0-431c-bff1-e77b35d3da24"},{"name":"/fmi/date/:date/hour/:hour","event":[{"listen":"test","script":{"id":"25dfc601-7e26-11e9-a8d6-f76a8d4761a0","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"2af21a1d-d0cd-4982-88eb-5caa077340c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/fmi/date/:date/hour/:hour?","description":"<p>@requirements:  DB &gt;= 12.8.8 &amp;&amp; HZ.WS &gt;= 1.5.21</p>\n","urlObject":{"path":["api","fmi","date",":date","hour",":hour"],"host":["{{url}}"],"query":[{"disabled":true,"key":"idCenter","value":"1000"}],"variable":[{"id":"d1b4ebb8-b274-44c8-b0e2-12eaa728bc40","description":{"content":"<p>The date</p>\n","type":"text/plain"},"type":"string","value":"2019-06-07","key":"date"},{"id":"76eb2f6b-cae5-49f5-a9c1-0abda1b98103","description":{"content":"<p>0-23 (The date)</p>\n","type":"text/plain"},"type":"string","value":"16","key":"hour"}]}},"response":[],"_postman_id":"2af21a1d-d0cd-4982-88eb-5caa077340c5"}],"id":"a569bb9c-a437-4027-8e46-1136c7676250","_postman_id":"a569bb9c-a437-4027-8e46-1136c7676250","description":""},{"name":"/app/widgets","item":[{"name":"/fmi","id":"6c6cb743-477f-4634-9333-a963063243fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/app/widgets/fmi?sectorName&idCenter&date&idSector&raw&showSector&title","description":"<p>Returns the FMI for a given date and sector.</p>\n<h2 id=\"use-case\">Use case:</h2>\n<p>This widget can be integrated on your web site as a <code>&lt;iframe&gt;</code>.\nAlternatively, you can consume this url with a ajax and render the page as you wish.</p>\n<h2 id=\"how-to-customize-the-page-look\">How to customize the page look?</h2>\n<p>A CSS file can be injected as follow:</p>\n<ul>\n<li>Go to heitz-ws install folder <code>Heitz System/program/heitz-ws</code>. </li>\n<li>Create the following folder structure if it doesn't exist <code>public_static/app/widgets/</code>.</li>\n<li>Creat a CSS file named fmi.css.</li>\n</ul>\n<p>Apply the styles you wish. Refresh the URL.</p>\n<p>(version): &gt;= <code>12.8.2003</code></p>\n","urlObject":{"path":["app","widgets","fmi"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The sector name as you defined it on your configuration</p>\n","type":"text/plain"},"key":"sectorName","value":null},{"description":{"content":"<p>(optional)  The id center that will be used to resolve conflicts for sectorName</p>\n","type":"text/plain"},"key":"idCenter","value":null},{"description":{"content":"<p>(optional) <a>Date:YYYY-MM-DD</a> The target date - Defaults to current date </p>\n","type":"text/plain"},"key":"date","value":null},{"description":{"content":"<p>(optional)  The id sector (requires you to know the sector id)</p>\n","type":"text/plain"},"key":"idSector","value":null},{"description":{"content":"<p>(optional) &lt;boolean(default=false)&gt; When true returns the content as plain text. Otherwise returns the content as text. </p>\n","type":"text/plain"},"key":"raw","value":null},{"description":{"content":"<p>(requires raw=false) (optional) </p>\n","type":"text/plain"},"key":"showSector","value":null},{"description":{"content":"<p>(requires raw=false) (optional) adds a title to the page </p>\n","type":"text/plain"},"key":"title","value":null}],"variable":[]}},"response":[{"id":"1db887ae-0086-4405-8efe-ba3fefbc0c98","name":"/fmi as HTML","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/app/widgets/fmi?sectorName&idCenter&date&idSector&raw&showSector&title","host":["{{url}}"],"path":["app","widgets","fmi"],"query":[{"key":"sectorName","value":null,"description":"The sector name as you defined it on your configuration"},{"key":"idCenter","value":null,"description":"(optional) <number> The id center that will be used to resolve conflicts for sectorName"},{"key":"date","value":null,"description":"(optional) <Date:YYYY-MM-DD> The target date - Defaults to current date "},{"key":"idSector","value":null,"description":"(optional) <number> The id sector (requires you to know the sector id)"},{"key":"raw","value":null,"description":"(optional) <boolean(default=false)> When true returns the content as plain text. Otherwise returns the content as text. "},{"key":"showSector","value":null,"description":"(requires raw=false) (optional) <boolean>"},{"key":"title","value":null,"description":"(requires raw=false) (optional) adds a title to the page "}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Tue, 26 May 2020 13:59:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"               \n<!doctype html><html lang=\"fr\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" \n                     content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\"><meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\"><link rel=\"stylesheet\" href=\"/static/app/widgets/fmi.css\"/><title>FMI</title></head><body><div class=\"content\"><div class=\"sector-name\">VESTIAIRE</div><div class=\"number\">0</div></div>       \n               </body>\n               </html>\n          "}],"_postman_id":"6c6cb743-477f-4634-9333-a963063243fb"}],"id":"ae3ef16b-8b8d-497c-b312-96e88a2abe8f","_postman_id":"ae3ef16b-8b8d-497c-b312-96e88a2abe8f","description":""},{"name":"/city","item":[{"name":"/api/city","event":[{"listen":"test","script":{"id":"48bdb701-7206-4191-9e8b-41c8344e1b2a","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"6d481455-6c81-40e1-9dbd-b140e152962a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/city?limit=100&offset=0&q=B&postalCode=&cityName","description":"<p>Browses a collection of existing cities/towns.</p>\n<p>To filter you might use the query param <code>q</code> which will search in both fields: <code>postal code</code> and <code>cityName</code>. </p>\n<p>When more precision is needed, you might want to use <code>cityName=&lt;string&gt;</code> and/or <code>postalCode=&lt;string|number&gt;</code>.</p>\n","urlObject":{"path":["api","city"],"host":["{{url}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"0"},{"key":"q","value":"B"},{"description":{"content":"<p>? (string) The target postal code</p>\n","type":"text/plain"},"key":"postalCode","value":""},{"description":{"content":"<p>? (string) The target city name</p>\n","type":"text/plain"},"key":"cityName","value":null}],"variable":[]}},"response":[],"_postman_id":"6d481455-6c81-40e1-9dbd-b140e152962a"},{"name":"/api/city/:id","event":[{"listen":"test","script":{"id":"26a1cfb9-d7c0-4ff2-b4ef-bf86846e219d","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"6d617747-8868-4b56-85e4-63fd1618265b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/city/:id","description":"<p>Reads a given record.\nReturns 404 if record is not found.</p>\n","urlObject":{"path":["api","city",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"2a67682c-e0bc-4a3d-9db6-760b5fb9f112","type":"string","value":"300662474","key":"id"}]}},"response":[],"_postman_id":"6d617747-8868-4b56-85e4-63fd1618265b"},{"name":"/api/city","event":[{"listen":"test","script":{"id":"1bd3c5f8-8b43-4518-b1cc-7cbd82567f70","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"dd0e468f-21c1-4a76-938a-fd174c152588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"My test town\",\n\t\"country\": \"France\",\n\t\"postalCode\": \"84370\"\n}"},"url":"{{url}}/api/city","description":"<h3 id=\"request\">Request</h3>\n<p>Creates a new city/town.</p>\n<p>Please take in consideration </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    name: { type: string, minLength: 2 };\n    country: { type: string, minLength: 2 };\n    postalCode: { type: string, minLength: 4 };\n    idCenter: { optional: string; type: number; default: \"The servers' idCenter\"}   \n}\n</code></pre>","urlObject":{"path":["api","city"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd0e468f-21c1-4a76-938a-fd174c152588"}],"id":"7ab57f22-56cf-408a-b078-66aeb6bc5a01","description":"<p>A collection of requests to manage City/Town records. </p>\n<p>A city record is represented by the following interface.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    id: bigInt;\n    postalCode: string;\n    name: string;\n    country: string;\n    idCenter: string;\n}\n</code></pre>","_postman_id":"7ab57f22-56cf-408a-b078-66aeb6bc5a01"},{"name":"/civility","item":[{"name":"/api/civility","event":[{"listen":"test","script":{"id":"d6f98927-e59d-48a9-afc3-ffc716f16886","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"841e982f-11a5-43dd-ad5e-9bf192151297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/civility","description":"<p>Gender: 0 = Male; 1 = Female; 2 = Undefined</p>\n","urlObject":{"path":["api","civility"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"841e982f-11a5-43dd-ad5e-9bf192151297"}],"id":"5753ab46-3095-4e78-9924-346df3b522ee","_postman_id":"5753ab46-3095-4e78-9924-346df3b522ee","description":""},{"name":"/upload","item":[{"name":"/upload","event":[{"listen":"test","script":{"id":"7ef186ee-141f-4a4a-9aab-0c5600e25edc","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"d0f01685-6f3d-4091-a915-45bcd9abfcf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"<p>Your file</p>\n","value":null},{"key":"x","value":"0","type":"text","description":"<p>(optional) Image cropping X point</p>\n"},{"key":"y","value":"57","type":"text","description":"<p>(optional) Image cropping Y point</p>\n"},{"key":"w","value":"10","type":"text","description":"<p>(optional) Image width from X</p>\n"},{"key":"h","value":"10","type":"text","description":"<p>(optional) Image height from Y</p>\n"}]},"url":"{{url}}/api/upload","description":"<p>Uploads a file into a temporary table returning it's <code>id</code> and <code>guid</code>.</p>\n<p>Once completed, you can reference the file in other operations such as change customer photo.</p>\n","urlObject":{"path":["api","upload"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9b8015ad-9ca1-4488-9d2b-061656ca26df","name":"/upload","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"B333B259-470A-4133-8060-50F8892A65D2","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"Your file","src":"/Users/marcio/Desktop/_/40Scanner 2024-07-03 18_31.pdf"},{"key":"x","value":"0","type":"text","description":"(optional) Image cropping X point"},{"key":"y","value":"57","type":"text","description":"(optional) Image cropping Y point"},{"key":"w","value":"10","type":"text","description":"(optional) Image width from X"},{"key":"h","value":"10","type":"text","description":"(optional) Image height from Y"}]},"url":"{{url}}/api/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET,PUT,POST,DELETE,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With, Cache-Control, Origin, Content-Type, Accept, X-Htz-Heitzfit4, X-Htz-Weblang"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"139"},{"key":"ETag","value":"W/\"8b-MaHr2uREvpMDCHZ+WMsF0f74J2o\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 03 Oct 2024 13:57:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 303438,\n    \"size\": 792107,\n    \"guid\": \"6925DC10-818F-11EF-98A7-C744911AA683\",\n    \"url\": \"/media/upload/303438.6925DC10-818F-11EF-98A7-C744911AA683\"\n}"}],"_postman_id":"d0f01685-6f3d-4091-a915-45bcd9abfcf7"}],"id":"338d6cbc-a546-451a-85b2-3cd5fc793914","_postman_id":"338d6cbc-a546-451a-85b2-3cd5fc793914","description":""},{"name":"/userDocument","item":[{"name":"(12.6) /userDocument","event":[{"listen":"test","script":{"id":"c9a86589-d153-4090-bd52-d5d024f5d967","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f27adfe9-3871-4d68-b2db-f80092ff3341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userDocument","description":"<p>Lists user documents.</p>\n","urlObject":{"path":["api","userDocument"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f27adfe9-3871-4d68-b2db-f80092ff3341"},{"name":"(12.8.1906) /userDocument (from existing upload)","event":[{"listen":"test","script":{"id":"044292ce-ba4b-41c6-b105-e8d611abfb6f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"efbbd3b7-67be-4117-947b-4da007d3ccff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"guid\": \"45E8FF80-D2FC-11E9-8646-2D9CEC276327\",\n\t\"name\": \"My new awesome file\"\n}"},"url":"{{url}}/api/userDocument?idClient=2908","description":"<p>Assigns a temporary document (uploaded using <code>POST /api/uploads</code>) to the target user.</p>\n","urlObject":{"path":["api","userDocument"],"host":["{{url}}"],"query":[{"key":"idClient","value":"2908"}],"variable":[]}},"response":[],"_postman_id":"efbbd3b7-67be-4117-947b-4da007d3ccff"},{"name":"(12.6) /userDocument/:id","event":[{"listen":"test","script":{"id":"15d9512e-fee3-4501-bdbc-946e4e68a8ed","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"006789f0-f766-4d68-8d23-dc1dc788cee5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/userDocument/:id?idClient=1000","description":"<p>Deletes a user document</p>\n","urlObject":{"path":["api","userDocument",":id"],"host":["{{url}}"],"query":[{"key":"idClient","value":"1000"}],"variable":[{"id":"dc714f7d-4d0d-44ab-875a-30872a7b0175","type":"string","value":"301132746","key":"id"}]}},"response":[],"_postman_id":"006789f0-f766-4d68-8d23-dc1dc788cee5"},{"name":"(12.6) /userDocument/:id","event":[{"listen":"test","script":{"id":"e5c029f1-b719-4c84-a4de-e367a54bfb84","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"b6e0c223-8522-4b9f-bafd-9e098a612d8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"hello\"\n}"},"url":"{{url}}/api/userDocument/:id","description":"<p>Updates document metadata. \nCurrently only the property <code>title</code> is accepted.</p>\n","urlObject":{"path":["api","userDocument",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9febf6f0-7813-4335-bc82-bfa633a0dd1d","type":"string","value":"301125867","key":"id"}]}},"response":[],"_postman_id":"b6e0c223-8522-4b9f-bafd-9e098a612d8b"}],"id":"b12dc1c1-373c-40ba-bbbc-95e92c3df32b","_postman_id":"b12dc1c1-373c-40ba-bbbc-95e92c3df32b","description":""},{"name":"@ERRORS","item":[{"name":"Handling API Errors","item":[],"id":"49e463db-03a9-46a7-b6c4-72ddbcde0256","description":"<p>Regarding error handling, you should know that the server always tries to issue a status code in accordance with the cause of the problem. If we want to add a little more detail on errors we add a “ctxCode” property - aka context code.</p>\n<p>Some functions will have specific context code, and others will share more useful context code. “CtxCode” is a field of type string in upper case.</p>\n<p>Basic example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>`\n{\n    \"message\": \"Request doesn't meet the requirements\",\n    \"errorCode\": 1,\n    \"errorMsg\": \"Request doesn't meet the requirements\",\n    \"statusCode\": 400\n}\n\n</code></pre><p>Extended example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\n    \"message\": \"Unauthorized\",\n    \"errorCode\": 6,\n    \"errorMsg\": \"Unauthorized\",\n    \"statusCode\": 401,\n    ....\n    \"ctxCode\": \"DOUBLON\",\n    \"doublonValidation\": {\n        \"valid\": false,\n        \"conflictsWith\": 1003000057964,\n        \"controlledFields\": {\n            \"lastName\": true,\n            \"firstName\": true,\n            \"secondName\": false,\n            \"birthday\": false,\n            \"identificationNumber\": false,\n            \"email\": false\n        }\n    }\n}\n\n</code></pre>","_postman_id":"49e463db-03a9-46a7-b6c4-72ddbcde0256"},{"name":"Global Basic API errors","item":[],"id":"f49fe648-2837-404d-8629-d8183d355874","description":"<p><strong>This list contains a basic definition of API errors.</strong></p>\n<p>Most frequent errors are: BAD_REQUEST, NOT_FOUND, UNHANDLED_ERROR, UNAUTHORIZED.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n     BAD_REQUEST: {\n          errorCode: 1,\n          errorMsg: \"Request doesn't meet the requirements\",\n          statusCode: 400\n     },\n     UNHANDLED_ERROR: {\n          errorCode: 2,\n          errorMsg: 'Unhandled Error',\n          statusCode: 500\n     },\n     SQL_ERROR: {\n          errorCode: 3,\n          errorMsg: 'Database error',\n          statusCode: 500\n     },\n     GET_POOL_ERROR: {\n          errorCode: 4,\n          errorMsg: 'Failed to retrieve a database connection.',\n          statusCode: 500\n     },\n     NOT_FOUND: {\n          errorCode: 5,\n          errorMsg: 'Resource not found.',\n          statusCode: 404\n     },\n     UNAUTHORIZED: {\n          errorCode: 6,\n          errorMsg: 'Unauthorized',\n          statusCode: 401\n     },\n     NOT_IMPLEMENTED: {\n          errorCode: 7,\n          errorMsg: 'NOT_IMPLEMENTED',\n          statusCode: 501\n     },\n     INTERNAL_ERROR: {\n          errorCode: 8,\n          errorMsg: 'INTERNAL_SERVER_ERROR',\n          statusCode: 500\n     },\n     \n     EMPLOYEE_WITHOUT_CLI_ACC_LINK: {\n          errorCode: 10,\n          errorMsg: 'EMPLOYEE_WITHOUT_CLI_ACC_LINK',\n          statusCode: 500\n     },\n     LICENSE_NOT_FOUND: {\n          errorCode: 11,\n          errorMsg: 'LICENSE_NOT_FOUND',\n          statusCode: httpStatus.UNAUTHORIZED\n     },\n     TIMEOUT: {\n          errorCode: 12,\n          errorMsg: 'TIMEOUT',\n          statusCode: httpStatus.INTERNAL_SERVER_ERROR\n     }\n}\n\n</code></pre>","_postman_id":"f49fe648-2837-404d-8629-d8183d355874"},{"name":"Common Context Errors","item":[],"id":"0d8cc41a-01f3-4430-9cee-ac90b1fbe40c","description":"<p>List of globally defined <code>ctxCode</code> meaning they might be returned by multiple functions.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>INVALID_EMAIL\nMISSING_ID_CLIENT\nINTERNAL_SESSION_NOT_FOUND\nADMIN_SESSION_REQUIRED\nINVALID_ID\nNOT_IMPLEMENTED\nINVALID_ID_CENTER\nINVALID_DATE\nACCESS_TOKEN_EXPIRED\nEMPLOYEE_NOT_FOUND_OR_NOT_ACTIVE\nRECORDS_PER_PAGE_EXCEEDED\nSUBSCRIPTION_NOT_FOUND\nINVALID_ID_CLIENT\n</code></pre>","_postman_id":"0d8cc41a-01f3-4430-9cee-ac90b1fbe40c"}],"id":"ae6babcc-eb25-40d1-b24c-b0bab7dfd7d6","_postman_id":"ae6babcc-eb25-40d1-b24c-b0bab7dfd7d6","description":""},{"name":"/employee","item":[{"name":"/employee/list","id":"b5ef4980-a666-4bda-92cc-5d9f263630e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"{{url}}/api/employee/list","description":"<p>Retourne la liste des employees</p>\n","urlObject":{"path":["api","employee","list"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5ef4980-a666-4bda-92cc-5d9f263630e0"}],"id":"ce34b016-6fcd-4774-ac84-cf6e7b2ffabc","_postman_id":"ce34b016-6fcd-4774-ac84-cf6e7b2ffabc","description":""},{"name":"CouponReduc","item":[{"name":"{{url}}/api/couponReduc","id":"cdb840e6-62f0-48b4-971c-2a7776a2ca2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json, text/plain, */*"},{"key":"Accept-Language","value":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7"},{"key":"Authorization","value":"EE184233-EDFB-491C-8000-90C15F0F5FD0"},{"key":"Cache-Control","value":"no-cache"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json"},{"key":"Origin","value":"http://192.168.1.225:8083"},{"key":"Pragma","value":"no-cache"},{"key":"Referer","value":"http://192.168.1.225:8083/app/heitz/1003/configuration/"},{"key":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-htz-center","value":"1003"},{"key":"x-htz-webmodule","value":"config"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"TEST DELETE\",\n    \"creationIdCtr\": 1003,\n    \"code\": \"CODE13\",\n    \"creation\": \"2024-02-20\",\n    \"validityStart\": \"2024-02-20\",\n    \"validityEnd\": \"2024-02-22\",\n    \"limitCliVal\": 1,\n    \"limitGlobalVal\": 5\n}"},"url":"{{url}}/api/couponReduc","urlObject":{"path":["api","couponReduc"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdb840e6-62f0-48b4-971c-2a7776a2ca2b"},{"name":"{{url}}/api/couponReduc","id":"e0e86d13-626a-45d7-921c-f6e76c0cecd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json, text/plain, */*"},{"key":"Accept-Language","value":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7"},{"key":"Authorization","value":"EE184233-EDFB-491C-8000-90C15F0F5FD0"},{"key":"Cache-Control","value":"no-cache"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json"},{"key":"Origin","value":"http://192.168.1.225:8083"},{"key":"Pragma","value":"no-cache"},{"key":"Referer","value":"http://192.168.1.225:8083/app/heitz/1003/configuration/"},{"key":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-htz-center","value":"1003"},{"key":"x-htz-webmodule","value":"config"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"TEST DELETE\",\n    \"creationIdCtr\": 1003,\n    \"code\": \"CODE13\",\n    \"creation\": \"2024-02-20\",\n    \"validityStart\": \"2024-02-20\",\n    \"validityEnd\": \"2024-02-22\",\n    \"limitCliVal\": 1,\n    \"limitGlobalVal\": 5\n}"},"url":"{{url}}/api/couponReduc/:id","urlObject":{"path":["api","couponReduc",":id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>1003001157224</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"e0e86d13-626a-45d7-921c-f6e76c0cecd3"}],"id":"9071faa1-f939-4a31-9807-d38bbd73753e","_postman_id":"9071faa1-f939-4a31-9807-d38bbd73753e","description":""},{"name":"/","id":"64443a19-1af1-45be-82b5-52ef00035026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}?license=true&listModules=true&xfields=license,centerInfo,operatingHours,currency&idCenter=9956","urlObject":{"host":["{{url}}"],"query":[{"key":"license","value":"true"},{"key":"listModules","value":"true"},{"key":"xfields","value":"license,centerInfo,operatingHours,currency"},{"description":{"content":"<p>? (Default = Server) The target center</p>\n","type":"text/plain"},"key":"idCenter","value":"9956"}],"variable":[]}},"response":[],"_postman_id":"64443a19-1af1-45be-82b5-52ef00035026"}],"event":[{"listen":"prerequest","script":{"id":"c0f2d13d-34fa-4cdb-8dad-022b3eaeedbb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"209c15bc-4dd3-43f0-9085-0f228dfc7547","type":"text/javascript","exec":[""]}}]}