aboutsummaryrefslogtreecommitdiffstats
path: root/docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json
blob: 6aae2327bc635c1a3d24262ab5bd8f9f541a568a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
	"variables": [],
	"info": {
		"name": "ONAP Beijing ServiceOrder Test",
		"_postman_id": "3e51270b-0ef8-0bc3-5b92-8c9b8270cb71",
		"description": "",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "ServiceOrder1",
			"request": {
				"url": "http://127.0.0.1:8090/serviceOrder",
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"externalId\": \"NBI-SO001\",\n  \"priority\": \"1\",\n  \"description\": \"Firevall service ordering on customer specified\",\n  \"category\": \"Consumer\",\n  \"requestedStartDate\": \"2018-02-28T13:33:37.299Z\",\n  \"requestedCompletionDate\": \"2018-02-28T13:33:37.299Z\",\n  \"relatedParty\": [\n    {\n      \"id\": \"6490\",\n      \"role\": \"ONAPcustomer\",\n      \"name\": \"Jean Pontus\",\n      \"@referredType\": \"individual\"\n    }\n  ],\n  \"orderItem\": [\n    {\n      \"id\": \"1\",\n      \"action\": \"add\",\n      \"service\": {\n        \"name\": \"vFW0001\",\n        \"serviceState\": \"active\",\n        \"serviceSpecification\": {\n          \"id\": \"3dd3923d-1681-4f5b-99bb-f695ab147004\"\n        }\n      }\n    }\n  ]\n}"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "ServiceOrder2",
			"request": {
				"url": "http://127.0.0.1:8090/serviceOrder",
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"externalId\": \"NBI-SO002\",\n  \"priority\": \"1\",\n  \"description\": \"Firevall service ordering on customer not specified - added to generic customer\",\n  \"category\": \"Consumer\",\n  \"requestedStartDate\": \"2018-02-28T13:33:37.299Z\",\n  \"requestedCompletionDate\": \"2018-02-28T13:33:37.299Z\",\n  \"orderItem\": [\n    {\n      \"id\": \"1\",\n      \"action\": \"add\",\n      \"service\": {\n        \"name\": \"vFW0002\",\n        \"serviceState\": \"active\",\n        \"serviceSpecification\": {\n          \"id\": \"3dd3923d-1681-4f5b-99bb-f695ab147004\"\n        }\n      }\n    }\n  ]\n}"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "ServiceOrder3",
			"request": {
				"url": "http://127.0.0.1:8090/serviceOrder",
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"externalId\": \"LudONAP002\",\n  \"priority\": \"1\",\n  \"description\": \"Ludo  ONAP Order\",\n  \"category\": \"Consumer\",\n  \"requestedStartDate\": \"2018-02-28T13:33:37.299Z\",\n  \"requestedCompletionDate\": \"2018-02-28T13:33:37.299Z\",\n  \"orderItem\": [\n    {\n      \"id\": \"1\",\n      \"action\": \"add\",\n      \"service\": {\n        \"name\": \"vFW0002\",\n        \"serviceState\": \"active\",\n        \"serviceSpecification\": {\n          \"id\": \"3dd3923d-1681-4f5b-99bb-f695ab147004\"\n        }\n      }\n    }\n  ]\n}"
				},
				"description": ""
			},
			"response": []
		}
	]
}