{
	"id": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
	"name": "Novacard API",
	"description": "Cette API permet, sous réserve d'utiliser des identifiants défini depuis le backoffice Novacard, d'effectuer l'ensemble des opérations disponibles, à savoir :\n\n- Modifier une fiche client existante\n- Activer une carte\n- Opposer une carte\n- Envoyer un ou plusieurs SMS\n- Envoyer un ou plusieurs mails",
	"order": [],
	"folders": [
		{
			"id": "05fe403e-9a18-e967-f17e-fbb10c3aec87",
			"name": "Clients",
			"description": "Liste / Édition Clients",
			"order": [
				"fc1beb67-a5af-9be8-48c1-3a941283b341",
				"316fc736-3953-4e82-5e15-470b19effc4d",
				"18ed5621-fdf6-2f15-663a-508a072ded21"
			],
			"owner": "673140"
		},
		{
			"id": "d9c66eee-ce34-ab0c-7447-db42e5efafc7",
			"name": "Commerces",
			"description": "",
			"order": []
		},
		{
			"id": "cd111f29-8f45-c6c9-9048-3ce5e86de4bb",
			"name": "OAuth",
			"description": "",
			"order": [
				"01581d03-4308-ac32-8044-893817c917f0",
				"5f8d6612-6323-3566-24ea-0f5bf76f6803"
			],
			"owner": "673140"
		},
		{
			"id": "9627159f-f2ef-a77c-f20b-9056a064f690",
			"name": "Stats",
			"description": "",
			"order": [
				"75b47765-f080-b049-017d-919bc18cdf96",
				"8c9ee9d8-b7c5-8538-b891-08fdef582a56",
				"e043fcba-7f49-9bc3-1f40-cfa56db589fb",
				"39d0ec92-2fc9-be9f-1ce2-3939a7bd0616",
				"db42f0ce-f6dd-36a0-3778-631a5a7dbd02",
				"713dceed-c1b2-682c-c779-cd14011e61ac",
				"93745c88-7e23-336d-c0c6-8d9ed014b0fb",
				"3d785053-901a-85a0-99cc-e3fda6188c94",
				"1a01ebb4-43c7-9ea2-1488-3034ac0d5cbf",
				"e2c1a2c7-c432-a9ea-c516-9fcb53f95c08",
				"ae465b81-f1e5-db0c-2e04-7a7e2f970279",
				"744cfd9d-8cdb-8477-2fde-39ff24b9c517",
				"e6e35b4c-f7a5-b70d-5ea5-1be42fdb35ae",
				"6d06f7af-151b-c9f9-67c7-97f620bf07d7"
			],
			"owner": "673140"
		}
	],
	"timestamp": 1500498396513,
	"owner": "673140",
	"public": false,
	"requests": [
		{
			"id": "01581d03-4308-ac32-8044-893817c917f0",
			"headers": "",
			"url": "http://localhost:8000/oauth2/token.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "grant_type",
					"value": "refresh_token",
					"type": "text",
					"enabled": true
				},
				{
					"key": "refresh_token",
					"value": "bae5a31ae7ff86bf4db558a44f60db0675ff2f45",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1504069977230,
			"name": "Token - Refresh token",
			"description": "Refresh un token OAuth 2.0",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "18ed5621-fdf6-2f15-663a-508a072ded21",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\n",
			"url": "http://localhost:8000/scripts/export/ExportCsvAFNOR.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "cmd",
					"value": "exportCsv",
					"type": "text",
					"enabled": true
				},
				{
					"key": "wheres",
					"value": "{\"objName\":\"exportCsvAFNOR\",\"where\":\"iDreseauFid=392\",\"modeF\":3}",
					"type": "text",
					"enabled": true
				},
				{
					"key": "isCsv",
					"value": "true",
					"type": "text",
					"enabled": true
				},
				{
					"key": "data",
					"value": "undefined",
					"type": "text",
					"enabled": true
				},
				{
					"key": "access_token",
					"value": "94daadad21812c5a60d7d0e9711bfbd362cf61de",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "urlencoded",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1502463560282,
			"name": "http://localhost:8000/scripts/export/ExportCsvAFNOR.php",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "1a01ebb4-43c7-9ea2-1488-3034ac0d5cbf",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/pme1_credit.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506459733171,
			"name": "Stats - PME1 credit",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "316fc736-3953-4e82-5e15-470b19effc4d",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\n",
			"url": "http://localhost:8000/oauth2/clients/export.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "access_token",
					"value": "16386dc2bae459d6b03d6d90582f4a230cc3deae",
					"type": "text",
					"enabled": true
				},
				{
					"key": "fidelity_mode",
					"value": "3",
					"type": "text",
					"enabled": true
				},
				{
					"key": "where",
					"value": "392",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "urlencoded",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1502463557487,
			"name": "Clients - Export CSV",
			"description": "Export liste Clients en CSV",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "39d0ec92-2fc9-be9f-1ce2-3939a7bd0616",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/gender_ratio.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "id",
					"value": "392",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1505238701020,
			"name": "Stats - Gender ratio",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "3d785053-901a-85a0-99cc-e3fda6188c94",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/recency.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506464206565,
			"name": "Stats - Recency",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "5f8d6612-6323-3566-24ea-0f5bf76f6803",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/token.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "client_id",
					"value": "devtest2",
					"type": "text",
					"enabled": true
				},
				{
					"key": "client_secret",
					"value": "novatec001",
					"type": "text",
					"enabled": true
				},
				{
					"key": "grant_type",
					"value": "password",
					"type": "text",
					"enabled": true
				},
				{
					"key": "username",
					"value": "rateaus_bf",
					"type": "text",
					"enabled": true
				},
				{
					"key": "password",
					"value": "abc123",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1504795639291,
			"name": "Token - Get token",
			"description": "Récupère un token OAuth 2.0",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "6d06f7af-151b-c9f9-67c7-97f620bf07d7",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\n",
			"url": "http://localhost:8000/oauth2/stats/spot.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506464159977,
			"name": "Stats - Spot gain",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "713dceed-c1b2-682c-c779-cd14011e61ac",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/frequency.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506464185649,
			"name": "Stats - Frequency",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "744cfd9d-8cdb-8477-2fde-39ff24b9c517",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/txn_count.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506464101100,
			"name": "Stats - Total transactions",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "75b47765-f080-b049-017d-919bc18cdf96",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\nAuthorization: Bearer e81a1f34b62533437d22563eeb677c54e5b1c58d\nX-Token-Payload: id=392&scope=network\n",
			"url": "http://localhost:8000/oauth2/stats/refresh.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [],
			"dataMode": "urlencoded",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1502916083558,
			"name": "Stats - Refresh stats",
			"description": "Déclenche les prodécures (cf. paramsProc) pour le calcul des stats.",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "8c9ee9d8-b7c5-8538-b891-08fdef582a56",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\n",
			"url": "http://localhost:8000/scripts/stats/stats_fid.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "funcName",
					"value": "creditPme1",
					"type": "text",
					"enabled": true
				},
				{
					"key": "cmd",
					"value": "getStatistiques",
					"type": "text",
					"enabled": true
				},
				{
					"key": "numRech",
					"value": "352",
					"type": "text",
					"enabled": true
				},
				{
					"key": "typeProc",
					"value": "res",
					"type": "text",
					"enabled": true
				},
				{
					"key": "typeSource",
					"value": "precalculees",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "urlencoded",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1505467811784,
			"name": "Stats - Get stats",
			"description": "Récupère les stats selon le type de compte",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "93745c88-7e23-336d-c0c6-8d9ed014b0fb",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/total_amount.php",
			"pathVariables": {},
			"preRequestScript": null,
			"method": "POST",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"data": [
				{
					"key": "id",
					"value": "352",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"name": "Stats - Total amount",
			"description": "",
			"descriptionFormat": "html",
			"time": 1505249399510,
			"version": 2,
			"responses": [],
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"folder": "9627159f-f2ef-a77c-f20b-9056a064f690"
		},
		{
			"id": "ae465b81-f1e5-db0c-2e04-7a7e2f970279",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\n",
			"url": "http://localhost:8000/oauth2/stats/average_order.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506464104261,
			"name": "Stats - Average order",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "db42f0ce-f6dd-36a0-3778-631a5a7dbd02",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/visit_interval.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "id",
					"value": "352",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1505427057240,
			"name": "Stats - Visit interval",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "e043fcba-7f49-9bc3-1f40-cfa56db589fb",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\n",
			"url": "http://localhost:8000/oauth2/stats/age_ratio.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "id",
					"value": "392",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1505240609766,
			"name": "Stats - Age ratio",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "e2c1a2c7-c432-a9ea-c516-9fcb53f95c08",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\n",
			"url": "http://localhost:8000/oauth2/stats/pme2_debit.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506462905349,
			"name": "Stats - PME2 debit",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "e6e35b4c-f7a5-b70d-5ea5-1be42fdb35ae",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\n",
			"url": "http://localhost:8000/oauth2/stats/total_visits.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [
				{
					"key": "network_id",
					"value": "392",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[0]",
					"value": "558",
					"type": "text",
					"enabled": true
				},
				{
					"key": "commerce_ids[1]",
					"value": "559",
					"type": "text",
					"enabled": true
				},
				{
					"key": "start_date",
					"value": "2017-01-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "end_date",
					"value": "2017-09-01",
					"type": "text",
					"enabled": true
				},
				{
					"key": "group_by",
					"value": "month",
					"type": "text",
					"enabled": true
				}
			],
			"dataMode": "params",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1506464116600,
			"name": "Stats - Total visits",
			"description": "",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		},
		{
			"id": "fc1beb67-a5af-9be8-48c1-3a941283b341",
			"headers": "Cookie: XDEBUG_SESSION=XDEBUG_ECLIPSE\nContent-Type: application/x-www-form-urlencoded\nAuthorization: Bearer e81a1f34b62533437d22563eeb677c54e5b1c58d\nX-Token-Payload: id=392&scope=network\n",
			"url": "http://localhost:8000/oauth2/clients/clients.php",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "POST",
			"data": [],
			"dataMode": "urlencoded",
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1502916114986,
			"name": "Clients - Get clients",
			"description": "Liste clients",
			"collectionId": "1f13a13a-d68d-2f25-848e-42cdc04970a2",
			"responses": []
		}
	]
}