{
	"info": {
		"_postman_id": "c9965da9-d409-4b2b-880c-fc068880bdb3",
		"name": "Customers SB",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Customers_Success",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "MsgId",
						"value": "kartest042"
					},
					{
						"key": "X-IBM-Client-Id",
						"value": "{{Client_Id}}"
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}"
					},
					{
						"key": "ChannelId",
						"value": "YAP"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"documents\": [\r\n        {\r\n            \"type\": \"EMID\",\r\n            \"number\": \"784456544568\",\r\n            \"expiry_date\": \"2019-12-31\"\r\n        }\r\n    ],\r\n    \"addresses\": [\r\n        {\r\n            \"type\": \"RESIDENCE\",\r\n            \"line_1\": \"202 Sky Tower\",\r\n            \"line_2\": \"23rd Lane\",\r\n            \"po_box\": \"685\",\r\n            \"city\": \"DXB\",\r\n            \"country\": \"AE\",\r\n            \"preferred\": false\r\n        }\r\n    ],\r\n    \"phones\": [\r\n        {\r\n            \"type\": \"CELLPH1\",\r\n            \"country_code\": \"971\",\r\n            \"number\": \"563358985\"\r\n        }\r\n    ],\r\n    \"emails\": [\r\n        {\r\n            \"type\": \"HOMEEML\",\r\n            \"email\": \"abc@email.com\"\r\n        }\r\n    ]\r\n}"
				},
				"url": {
					"raw": "{{url}}/v1/customers/Account_ID:9876xxxxxx001",
					"host": [
						"{{url}}"
					],
					"path": [
						"v1",
						"customers",
						"Account_ID:9876xxxxxx001"
					]
				}
			},
			"response": []
		},
		{
			"name": "Customers_Resource Invalid Oauth",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "MsgId",
						"value": "kartest032"
					},
					{
						"key": "X-IBM-Client-Id",
						"value": "{{Client_Id}}"
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}"
					},
					{
						"key": "ChannelId",
						"value": "YAP"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n\t\"documents\": \r\n\t [\r\n\t\t{\r\n\t\t  \"type\": \"EMID\",                              \r\n\t\t  \"number\": \"784456544568\",                                                \r\n\t\t  \"expiry_date\": \"2019-12-31\"                \r\n\t\t}\r\n\t]\r\n}"
				},
				"url": {
					"raw": "{{url}}/v1/customers/Account_ID:0022xxxxxx003",
					"host": [
						"{{url}}"
					],
					"path": [
						"v1",
						"customers",
						"Account_ID:0022xxxxxx003"
					]
				}
			},
			"response": []
		},
		{
			"name": "Customers_Resource mismatch",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "MsgId",
						"value": "kartest032"
					},
					{
						"key": "X-IBM-Client-Id",
						"value": "{{Client_Id}}"
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}"
					},
					{
						"key": "ChannelId",
						"value": "YAP"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n\t\"documents\": \r\n\t [\r\n\t\t{\r\n\t\t  \"type\": \"EMID\",                              \r\n\t\t  \"number\": \"784456544568\",                                                \r\n\t\t  \"expiry_date\": \"2019-12-31\"                \r\n\t\t}\r\n\t]\r\n}"
				},
				"url": {
					"raw": "{{url}}/v2/customers/Account_ID:0022xxxxxx003",
					"host": [
						"{{url}}"
					],
					"path": [
						"v2",
						"customers",
						"Account_ID:0022xxxxxx003"
					],
					"query": [
						{
							"key": "Account_ID",
							"value": "22222",
							"disabled": true
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Customers_Success-Schema Failure",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "MsgId",
						"value": "kartest031"
					},
					{
						"key": "X-IBM-Client-Id",
						"value": "{{Client_Id}}"
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}"
					},
					{
						"key": "ChannelId",
						"value": "YAP"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"documents\": [\r\n        {\r\n            \"type\": \"EMID\",\r\n            \"number1\": \"784456544568\",\r\n            \"expiry_date\": \"2019-12-31\"\r\n        }\r\n    ]\r\n}"
				},
				"url": {
					"raw": "{{url}}/v1/customers/Account_ID:9876xxxxxx001",
					"host": [
						"{{url}}"
					],
					"path": [
						"v1",
						"customers",
						"Account_ID:9876xxxxxx001"
					],
					"query": [
						{
							"key": "Account_ID",
							"value": "22222",
							"disabled": true
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Customers_enum failure",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "MsgId",
						"value": "kartest044"
					},
					{
						"key": "X-IBM-Client-Id",
						"value": "{{Client_Id}}"
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}"
					},
					{
						"key": "ChannelId",
						"value": "YAP"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n\t\"documents\": \r\n\t [\r\n\t\t{\r\n\t\t  \"type\": \"EMIZD\",                              \r\n\t\t  \"number\": \"784456544568\",                                                \r\n\t\t  \"expiry_date\": \"2019-12-31\"                \r\n\t\t}\r\n\t],\r\n\t\"addresses\": [\r\n    {\r\n      \"type\": \"RESIDENCE\",\r\n      \"line_1\": \"202 Sky Tower\",\r\n      \"line_2\": \"23rd Streeet\",\r\n      \"line_3\": \"23rd Streeet\",\r\n      \"line_4\": \"23rd Streeet\",\r\n      \"po_box\": \"685\",\r\n      \"city\": \"DXB\",\r\n      \"country\": \"AE\",\r\n      \"preferred\": false\r\n    }\r\n  ],\r\n  \"phones\": [\r\n    {\r\n      \"type\": \"CELLPH1\",\r\n      \"country_code\": \"971\",\r\n      \"number\": \"563358985\"\r\n    }\r\n  ],\r\n  \"emails\": [\r\n    {\r\n      \"type\": \"HOMEEML\",\r\n      \"email\": \"abc@email.com\"\r\n    }\r\n  ]\r\n}"
				},
				"url": {
					"raw": "{{url}}/v1/customers/Account_IDs:0022xxxxxx003",
					"host": [
						"{{url}}"
					],
					"path": [
						"v1",
						"customers",
						"Account_IDs:0022xxxxxx003"
					]
				}
			},
			"response": []
		}
	]
}