{
	"info": {
		"_postman_id": "6484b326-4c6c-4a5f-a4a3-af826ceb7c16",
		"name": "ORANGE_WHOLESALE_INTERNATIONAL_PROD",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "STATUS",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "clientSecret",
							"value": "Your_client_secret",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "Your_client_id",
							"type": "string"
						},
						{
							"key": "accessTokenUrl",
							"value": "https://api.orange.com/oauth/v3/token",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "Token",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "ApplicationID",
						"value": "Your_application_id",
						"type": "text"
					},
					{
						"key": "offset",
						"value": "1",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.orange.com/orange-wholesale-trouble-tickets/v1/status",
					"protocol": "https",
					"host": [
						"api",
						"orange",
						"com"
					],
					"path": [
						"orange-wholesale-trouble-tickets",
						"v1",
						"status"
					]
				}
			},
			"response": []
		},
		{
			"name": "SearchProduct",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "clientSecret",
							"value": "Your_client_secret",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "Your_client_id",
							"type": "string"
						},
						{
							"key": "accessTokenUrl",
							"value": "https://api.orange.com/oauth/v3/token",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "Token",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "ApplicationID",
						"value": "Your_application_id",
						"type": "text"
					}
				],
				"url": {
					"raw": "https://api.orange.com/orange-wholesale-trouble-tickets/v1/product/",
					"protocol": "https",
					"host": [
						"api",
						"orange",
						"com"
					],
					"path": [
						"orange-wholesale-trouble-tickets",
						"v1",
						"product",
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "CreateTT",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "clientSecret",
							"value": "Your_client_secret",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "Your_client_id",
							"type": "string"
						},
						{
							"key": "accessTokenUrl",
							"value": "https://api.orange.com/oauth/v3/token",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "Token",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "ApplicationID",
						"value": "Your_application_id",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n  \"attachment\": [],\r\n  \"relatedParty\": [\r\n    {\r\n      \"contactMedium\": [\r\n        {\r\n          \"id\": \"email@email.com\",\r\n          \"contactType\": \"email\"\r\n        },\r\n        {\r\n          \"id\": \"+331234567890\",\r\n          \"contactType\": \"phone\"\r\n        }\r\n      ],\r\n      \"name\": \"John Doe\",\r\n      \"role\": \"depositor\",\r\n      \"characteristic\": [\r\n        {\r\n          \"id\": \"\",\r\n          \"name\": \"firstName\",\r\n          \"value\": \"John\"\r\n        },\r\n        {\r\n          \"id\": \"\",\r\n          \"name\": \"lastName\",\r\n          \"value\": \"Doe\"\r\n        }\r\n      ],\r\n      \"@type\": \"RelatedPartyTtContactMedium\"\r\n    }\r\n  ],\r\n  \"relatedEntity\": [\r\n    {\r\n      \"id\": \"LD000000\",\r\n      \"role\":\"orangeServiceNumber\"\r\n    },\r\n    {\r\n      \"id\": \"LD000001\",\r\n      \"role\": \"technicalNumber\"\r\n    }\r\n  ],\r\n  \"externalId\": \"Customer Reference\",\r\n  \"description\": \"Please describe the issue here\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.orange.com/orange-wholesale-trouble-tickets/v1/troubleTicket",
					"protocol": "https",
					"host": [
						"api",
						"orange",
						"com"
					],
					"path": [
						"orange-wholesale-trouble-tickets",
						"v1",
						"troubleTicket"
					]
				}
			},
			"response": []
		},
		{
			"name": "ShowTT",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "clientSecret",
							"value": "Your_client_secret",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "Your_client_id",
							"type": "string"
						},
						{
							"key": "accessTokenUrl",
							"value": "https://api.orange.com/oauth/v3/token",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "Token",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "ApplicationID",
						"value": "Your_application_id",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.orange.com/orange-wholesale-trouble-tickets/v1/troubleTicket/{id}/",
					"protocol": "https",
					"host": [
						"api",
						"orange",
						"com"
					],
					"path": [
						"orange-wholesale-trouble-tickets",
						"v1",
						"troubleTicket",
						"{id}",
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "UpdateTT",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "clientSecret",
							"value": "Your_client_secret",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "Your_client_id",
							"type": "string"
						},
						{
							"key": "accessTokenUrl",
							"value": "https://api.orange.com/oauth/v3/token",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "Token",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "PATCH",
				"header": [
					{
						"key": "ApplicationID",
						"value": "Your_application_id",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": " {\r\n  \"attachment\": [],\r\n  \"note\": {\r\n    \"date\": \"2023-08-28T14:40:38.041Z\",\r\n    \"type\": \"Comments\",\r\n    \"text\": \"Type the new comment here\"\r\n  },\r\n  \"relatedEntity\": {\r\n    \"id\": \"LD000000\",\r\n    \"role\": \"orangeServiceNumber\"\r\n  }\r\n  \r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.orange.com/orange-wholesale-trouble-tickets/v1/troubleTicket/{id}",
					"protocol": "https",
					"host": [
						"api",
						"orange",
						"com"
					],
					"path": [
						"orange-wholesale-trouble-tickets",
						"v1",
						"troubleTicket",
						"{id}"
					]
				}
			},
			"response": []
		},
		{
			"name": "SearchTT",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "clientSecret",
							"value": "Your_client_secret",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "Your_client_id",
							"type": "string"
						},
						{
							"key": "accessTokenUrl",
							"value": "https://api.orange.com/oauth/v3/token",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "Token",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "ApplicationID",
						"value": "Your_application_id",
						"type": "text"
					},
					{
						"key": "offset",
						"value": "1",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.orange.com/orange-wholesale-trouble-tickets/v1/troubleTicket?ctxid=TCKTNG&sctxid=wse&sortAsc=false&sortColumn=START_DATE&creationDateFrom=&creationDateTo=&orangeServiceNumber=&reportedBy=&id=&status=-1",
					"protocol": "https",
					"host": [
						"api",
						"orange",
						"com"
					],
					"path": [
						"orange-wholesale-trouble-tickets",
						"v1",
						"troubleTicket"
					],
					"query": [
						{
							"key": "ctxid",
							"value": "TCKTNG"
						},
						{
							"key": "sctxid",
							"value": "wse"
						},
						{
							"key": "sortAsc",
							"value": "false"
						},
						{
							"key": "sortColumn",
							"value": "START_DATE"
						},
						{
							"key": "creationDateFrom",
							"value": ""
						},
						{
							"key": "creationDateTo",
							"value": ""
						},
						{
							"key": "orangeServiceNumber",
							"value": ""
						},
						{
							"key": "reportedBy",
							"value": ""
						},
						{
							"key": "id",
							"value": ""
						},
						{
							"key": "status",
							"value": "-1"
						}
					]
				}
			},
			"response": []
		}
	]
}