{
	"info": {
		"_postman_id": "e3536bc1-f3e1-46cc-bb51-62ccef84c6df",
		"name": "parcours commande acquisition",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "14932540"
	},
	"item": [
		{
			"name": "ordering",
			"item": [
				{
					"name": "creation d'une commande sans ONT",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Status code is 201\", function () {\r",
									"    pm.response.to.have.status(201);\r",
									"});\r",
									"\r",
									"var jsonData = JSON.parse(responseBody);\r",
									"postman.setEnvironmentVariable(\"orderingIdWithReliesOn\", jsonData.id);"
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									"var moment = require('moment');\r",
									"\r",
									"pm.environment.set('currentDate', moment().format((\"YYYY-MM-DDThh:mm\")));\r",
									"\r",
									"pm.environment.set('currentTime', moment().format((\"YYYYMMDDTHH:mm\")));\r",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "",
								"value": "",
								"type": "text",
								"disabled": true
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"description\": \"ProductOrder from API\",\r\n    \"externalIdentifier\": [\r\n        {\r\n            \"id\": \"myExternalId\",\r\n            \"owner\": \"NOM OPERATEUR\",\r\n            \"externalIdentifierType\": \"customerIdentifier\",\r\n            \"@type\": \"ExternalIdentifier\"\r\n        }\r\n    ],\r\n    \"relatedParty\": [\r\n        {\r\n            \"id\": \"208460a0-710d-41c2-bae3-d48d89ea8c0b\",\r\n            \"role\": \"buyer\",\r\n            \"@referredType\": \"organization\"\r\n        }\r\n    ],\r\n    \"productOrderSpecification\": \"Acquisition\",\r\n    \"productOrderItem\": [\r\n        {\r\n            \"id\": \"0\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"product\": {\r\n                \"productOffering\": {\r\n                    \"id\": \"GOC40140084001\"\r\n                },\r\n                \"isBundle\": true,\r\n                \"place\": [\r\n                    {\r\n                        \"@type\": \"GeographicSiteBuilding\",\r\n                        \"buildingCode\": \"IMB/92049/C/0192\",\r\n                        \"geographicAddress\": [\r\n                            {\r\n                                \"geographicSubAddress\": [\r\n                                    {\r\n                                        \"buildingName\": \"_NA_\"\r\n                                    },\r\n                                    {\r\n                                        \"levelNumber\": \"_NA_\",\r\n                                        \"levelType\": \"staircase\"\r\n                                    },\r\n                                    {\r\n                                        \"levelNumber\": \"4\",\r\n                                        \"levelType\": \"floor\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ],\r\n                        \"role\": \"deliveryAddress\"\r\n                    }\r\n                ],\r\n                \"relatedParty\": [\r\n                    {\r\n                        \"id\": \"20ac6ea4-4715-42e5-9c3d-362936892d46\",\r\n                        \"role\": \"operatorInterlocutor\",\r\n                        \"@baseType\": \"RelatedParty\",\r\n                        \"@referredType\": \"Individual\"\r\n                    },\r\n                    {\r\n                        \"id\": \"bc94f30f-fd7a-4d10-a69d-f3a68bb0b371\",\r\n                        \"role\": \"operatorDeliveryDriver\",\r\n                        \"@baseType\": \"RelatedParty\",\r\n                        \"@referredType\": \"Individual\"\r\n                    }\r\n                ],\r\n                \"agreement\": [\r\n                    {\r\n                        \"id\": \"AB9999999\",\r\n                        \"@type\": \"AgreementItemRef\"\r\n                    }\r\n                ]\r\n            },\r\n            \"productOrderItemRelationship\": [\r\n                {\r\n                    \"id\": \"1\",\r\n                    \"relationshipType\": \"bundles\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": \"1\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"product\": {\r\n                \"isBundle\": true,\r\n                \"productOffering\": {\r\n                    \"id\": \"OC40140084001\"\r\n                }\r\n            },\r\n            \"productOrderItemRelationship\": [\r\n                {\r\n                    \"id\": \"10\",\r\n                    \"relationshipType\": \"bundles\"\r\n                },\r\n                {\r\n                    \"id\": \"20\",\r\n                    \"relationshipType\": \"bundles\"\r\n                },\r\n                {\r\n                    \"id\": \"40\",\r\n                    \"relationshipType\": \"bundles\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": \"10\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"product\": {\r\n                \"isBundle\": true,\r\n                \"productOffering\": {\r\n                    \"id\": \"GO40140084001\"\r\n                }\r\n            },\r\n            \"productOrderItemRelationship\": [\r\n                {\r\n                    \"id\": \"11\",\r\n                    \"relationshipType\": \"bundles\"\r\n                },\r\n                {\r\n                    \"id\": \"12\",\r\n                    \"relationshipType\": \"bundles\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": \"11\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"productOffering\": {\r\n                \"id\": \"O40140084001\"\r\n            },\r\n            \"product\": {\r\n                \"isBundle\": false,\r\n                \"productRelationship\": [\r\n                    {\r\n                        \"product\": {\r\n                            \"id\": \"{{idCollecte}}\"\r\n                        },\r\n                        \"relationshipType\": \"reliesOn\"\r\n                    }\r\n                ],\r\n                \"productCharacteristic\": [\r\n                    {\r\n                        \"id\": \"FONC40140084004\",\r\n                        \"name\": \"Débit d'accès Montant/Descendant\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000340140084004\",\r\n                            \"name\": \"500M/1000M\"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    },\r\n                    {\r\n                        \"id\": \"FONC40140084005\",\r\n                        \"name\": \"VLAN\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000140140084005\",\r\n                            \"name\": \"Avec TAG\"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    },\r\n                    {\r\n                        \"id\": \"FONC40140084006\",\r\n                        \"name\": \"Profil voix\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000240140084006\",\r\n                            \"name\": \"1M\"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"12\",\r\n            \"action\": \"add\",\r\n            \"product\": {\r\n                \"productOffering\": {\r\n                    \"id\": \"O40140084002\",\r\n                    \"name\": \"Garantie de temps de rétablissement\"\r\n                },\r\n                \"productCharacteristic\": [\r\n                    {\r\n                        \"id\": \"FONC40140084009\",\r\n                        \"name\": \"Type de GTR\",\r\n                        \"valueType\": \"object\",\r\n                        \"value\": {\r\n                            \"@type\": \"CharacteristicChoiceValue\",\r\n                            \"id\": \"VF0000240140084009\",\r\n                            \"name\": \"10 heures HO (heures ouvrables)\"\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"20\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"product\": {\r\n                \"isBundle\": true,\r\n                \"productOffering\": {\r\n                    \"id\": \"GO40140084002\"\r\n                }\r\n            },\r\n            \"productOrderItemRelationship\": [\r\n                {\r\n                    \"id\": \"21\",\r\n                    \"relationshipType\": \"bundles\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": \"21\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"product\": {\r\n                \"isBundle\": false,\r\n                \"productCharacteristic\": [\r\n                    {\r\n                        \"id\": \"FONC40140084010\",\r\n                        \"name\": \"Type de point de livraison\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000140140084010\",\r\n                            \"name\": \"DTIO/PTO\"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    },\r\n                    {\r\n                        \"id\": \"FONC40140084008\",\r\n                        \"name\": \"Multi-accès\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000240140084008\",\r\n                            \"name\": \"Non\"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    },\r\n                    {\r\n                        \"id\": \"FONC40140084003\",\r\n                        \"name\": \"Type de raccordement\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000140140084003\",\r\n                            \"name\": \"Raccordement sur prise existante\"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    },\r\n                    {\r\n                        \"id\": \"FONC40140084011\",\r\n                        \"name\": \"Numero PTO\",\r\n                        \"value\": \"{{refPTO}}\",\r\n                        \"valueType\": \"string\"\r\n                    }\r\n                ],\r\n                \"productOffering\": {\r\n                    \"id\": \"O40140084008\"\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"40\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"product\": {\r\n                \"isBundle\": true,\r\n                \"productOffering\": {\r\n                    \"id\": \"GO40140084004\"\r\n                }\r\n            },\r\n            \"productOrderItemRelationship\": [\r\n                {\r\n                    \"id\": \"41\",\r\n                    \"relationshipType\": \"bundles\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": \"41\",\r\n            \"quantity\": 1,\r\n            \"action\": \"add\",\r\n            \"appointment\": {\r\n                \"id\": \"{{appointmentId}}\"\r\n            },\r\n            \"product\": {\r\n                \"isBundle\": false,\r\n                \"productCharacteristic\": [\r\n                    {\r\n                        \"id\": \"FONC40140084007\",\r\n                        \"name\": \"Type d'intervention\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000140140084007\",\r\n                            \"name\": \"Standard\"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    },\r\n                    {\r\n                        \"id\": \"FONC40990080002\",\r\n                        \"name\": \"Intervention\",\r\n                        \"value\": {\r\n                            \"id\": \"VF0000540990080002\",\r\n                            \"name\": \"sans pose ONT : Prise Optique présente \"\r\n                        },\r\n                        \"valueType\": \"object\"\r\n                    }\r\n                ],\r\n                \"productOffering\": {\r\n                    \"id\": \"O40140084005\"\r\n                },\r\n                \"relatedParty\": [\r\n                    {\r\n                        \"id\": \"5783615f-dfd4-4aa2-bedc-4831e719e546\",\r\n                        \"role\": \"customerInterlocutor\",\r\n                        \"@baseType\": \"RelatedParty\",\r\n                        \"@referredType\": \"Individual\"\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    ]\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://api.orange.com/united-way/product-ordering-management/v1/productOrder",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"product-ordering-management",
								"v1",
								"productOrder"
							]
						}
					},
					"response": []
				},
				{
					"name": "suivi de la commande créée",
					"event": [
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Status code is 200\", function () {\r",
									"    pm.response.to.have.status(200);\r",
									"});\r",
									"\r",
									"pm.test(\"Order inProgress\", function () {\r",
									"    var jsonData = pm.response.json();\r",
									"    pm.expect(jsonData.state).to.eql(\"inProgress\");\r",
									"});\r",
									"\r",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/product-ordering-management/v1/productOrder/:id",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"product-ordering-management",
								"v1",
								"productOrder",
								":id"
							],
							"query": [
								{
									"key": "status",
									"value": "",
									"disabled": true
								}
							],
							"variable": [
								{
									"key": "id",
									"value": "352"
								}
							]
						},
						"description": "Temps d'attente à 45s pour laisser le temps à l'order de passer au statut \"InProgress\""
					},
					"response": []
				},
				{
					"name": "mes commandes",
					"event": [
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Status code is 200\", function () {\r",
									"    pm.response.to.have.status(200);\r",
									"});\r",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/product-ordering-management/v1/productOrder",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"product-ordering-management",
								"v1",
								"productOrder"
							]
						},
						"description": "Temps d'attente à 45s pour laisser le temps à l'order de passer au statut \"InProgress\""
					},
					"response": []
				}
			],
			"auth": {
				"type": "oauth2",
				"oauth2": [
					{
						"key": "scope",
						"value": "owf:united-way:product-order:v1:readonly",
						"type": "string"
					},
					{
						"key": "tokenName",
						"value": "party",
						"type": "string"
					},
					{
						"key": "challengeAlgorithm",
						"value": "S256",
						"type": "string"
					},
					{
						"key": "grant_type",
						"value": "client_credentials",
						"type": "string"
					},
					{
						"key": "clientSecret",
						"value": "{{client_secret}}",
						"type": "string"
					},
					{
						"key": "clientId",
						"value": "{{client_id}}",
						"type": "string"
					},
					{
						"key": "addTokenTo",
						"value": "header",
						"type": "string"
					},
					{
						"key": "client_authentication",
						"value": "header",
						"type": "string"
					},
					{
						"key": "accessTokenUrl",
						"value": "https://api.orange.com/oauth/v3/token",
						"type": "string"
					}
				]
			},
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "catalogue",
			"item": [
				{
					"name": "offre par category",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/product-catalog-management/v1/productOffering?categoryId=FTTH",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"product-catalog-management",
								"v1",
								"productOffering"
							],
							"query": [
								{
									"key": "categoryId",
									"value": "FTTH"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "detail offre",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/product-catalog-management/v1/productOffering/:productOfferingId/catalog",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"product-catalog-management",
								"v1",
								"productOffering",
								":productOfferingId",
								"catalog"
							],
							"variable": [
								{
									"key": "productOfferingId",
									"value": "GOC40140084001"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "party-service",
			"item": [
				{
					"name": "recherche d'une organisation",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Status code is 200\", function () {\r",
									"    pm.response.to.have.status(200);\r",
									"});\r",
									"\r",
									"var jsonData = JSON.parse(responseBody);\r",
									"postman.setEnvironmentVariable(\"idOrgaOrangeVallee\", jsonData[0].id);"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/party-management/v1/organization",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"party-management",
								"v1",
								"organization"
							],
							"query": [
								{
									"key": "tradingName",
									"value": "",
									"disabled": true
								},
								{
									"key": "organizationIdentification.identificationType",
									"value": "",
									"disabled": true
								},
								{
									"key": "organizationIdentification.identificationId",
									"value": "",
									"disabled": true
								},
								{
									"key": "id",
									"value": "",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "recherche d'un individu",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"// test code retour\r",
									"pm.test(\"Status code is 206\", function () {\r",
									"    pm.response.to.have.status(206);\r",
									"});\r",
									"\r",
									"// recuperation des variables pour la suite du runner\r",
									"pm.test(\"utilisateur avec un contactMedium remplit\", function () {\r",
									"    var jsonData = pm.response.json();\r",
									"    pm.expect(jsonData[0].contactMedium.length).not.eq(0);\r",
									"});\r",
									"\r",
									"var jsonData = JSON.parse(responseBody);\r",
									"postman.setEnvironmentVariable(\"relatedPartyRecipient\", jsonData[0].id);"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/party-management/v1/individual",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"party-management",
								"v1",
								"individual"
							],
							"query": [
								{
									"key": "fields",
									"value": "id,fullName",
									"description": "Comma-separated properties to be provided in response",
									"disabled": true
								},
								{
									"key": "partyCharacteristic.name",
									"value": "Category",
									"disabled": true
								},
								{
									"key": "partyCharacteristic.value",
									"value": "operatorDeliveryDriver",
									"disabled": true
								},
								{
									"key": "id",
									"value": "",
									"disabled": true
								},
								{
									"key": "familyName",
									"value": "",
									"disabled": true
								}
							]
						},
						"description": "This operation list or find Individual entities"
					},
					"response": []
				}
			],
			"auth": {
				"type": "oauth2",
				"oauth2": [
					{
						"key": "tokenName",
						"value": "party",
						"type": "string"
					},
					{
						"key": "challengeAlgorithm",
						"value": "S256",
						"type": "string"
					},
					{
						"key": "scope",
						"value": "owf:united-way:party:v1:readonly owf:united-way:party:v1:write",
						"type": "string"
					},
					{
						"key": "grant_type",
						"value": "client_credentials",
						"type": "string"
					},
					{
						"key": "clientSecret",
						"value": "{{client_secret}}",
						"type": "string"
					},
					{
						"key": "clientId",
						"value": "{{client_id}}",
						"type": "string"
					},
					{
						"key": "addTokenTo",
						"value": "header",
						"type": "string"
					},
					{
						"key": "client_authentication",
						"value": "header",
						"type": "string"
					},
					{
						"key": "accessTokenUrl",
						"value": "https://api.orange.com/oauth/v3/token",
						"type": "string"
					}
				]
			},
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "collecte",
			"item": [
				{
					"name": "GetAll",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Status code is 200\", function () {\r",
									"    pm.response.to.have.status(200);\r",
									"});\r",
									"\r",
									"// recuperation des variables pour la suite du runner\r",
									"var jsonData = JSON.parse(responseBody);\r",
									"postman.setEnvironmentVariable(\"idCollecte\", jsonData[1].id);"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/product-inventory-management/v1/product?productOffering.id=O40160084003",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"product-inventory-management",
								"v1",
								"product"
							],
							"query": [
								{
									"key": "name",
									"value": "Collecte régionale",
									"disabled": true
								},
								{
									"key": "productCharacteristic.id",
									"value": "FONC40160084032",
									"disabled": true
								},
								{
									"key": "productOffering.id",
									"value": "O40160084003"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "GetById",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Status code is 200\", function () {\r",
									"    pm.response.to.have.status(200);\r",
									"});\r",
									"\r",
									"// recuperation des variables pour la suite du runner\r",
									"var jsonData = JSON.parse(responseBody);\r",
									"postman.setEnvironmentVariable(\"idCollecte\", jsonData[1].id);"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://api.orange.com/united-way/product-inventory-management/v1/product/:id",
							"protocol": "https",
							"host": [
								"api",
								"orange",
								"com"
							],
							"path": [
								"united-way",
								"product-inventory-management",
								"v1",
								"product",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": ""
								}
							]
						}
					},
					"response": []
				}
			],
			"auth": {
				"type": "oauth2",
				"oauth2": [
					{
						"key": "scope",
						"value": "owf:united-way:product-inventory:v1:readonly",
						"type": "string"
					},
					{
						"key": "tokenName",
						"value": "parc",
						"type": "string"
					},
					{
						"key": "challengeAlgorithm",
						"value": "S256",
						"type": "string"
					},
					{
						"key": "grant_type",
						"value": "client_credentials",
						"type": "string"
					},
					{
						"key": "clientSecret",
						"value": "{{client_secret}}",
						"type": "string"
					},
					{
						"key": "clientId",
						"value": "{{client_id}}",
						"type": "string"
					},
					{
						"key": "addTokenTo",
						"value": "header",
						"type": "string"
					},
					{
						"key": "client_authentication",
						"value": "header",
						"type": "string"
					},
					{
						"key": "accessTokenUrl",
						"value": "https://api.orange.com/oauth/v3/token",
						"type": "string"
					}
				]
			},
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	]
}