diff options
author | Rene Robert <rene.robert@orange.com> | 2018-03-28 09:55:53 +0000 |
---|---|---|
committer | Rene Robert <rene.robert@orange.com> | 2018-03-28 09:55:53 +0000 |
commit | 7afe844fb9f4171697ff5b82b86b2161ffbf2a78 (patch) | |
tree | 53be0e7b7608ce8cc76e8cd86525adcc54ca65f9 /docs/offeredapis/postman | |
parent | 96edbb638b5a3cac22ca17d2cc6537f57a688bd4 (diff) |
add API documentations
Issue-ID: EXTAPI-40
Change-Id: If700a2e2700f7c19e22c8f5d11ddf425eb0075a5
Signed-off-by: Rene Robert <rene.robert@orange.com>
Diffstat (limited to 'docs/offeredapis/postman')
-rw-r--r-- | docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json b/docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json new file mode 100644 index 0000000..92a16eb --- /dev/null +++ b/docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json @@ -0,0 +1,61 @@ +{ + "variables": [], + "info": { + "name": "ONAP Beijing ServiceOrder Doc", + "_postman_id": "d88ad75d-6fae-13ea-d63c-cac1f445a1bf", + "description": "", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "ServiceOrder1", + "request": { + "url": "{nbiHostName}:{nbiPort}/nbi/api/v1/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 \"id\": \"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 \"id\": \"vFW0002\",\n \"serviceState\": \"active\",\n \"serviceSpecification\": {\n \"id\": \"3dd3923d-1681-4f5b-99bb-f695ab147004\"\n }\n }\n }\n ]\n}" + }, + "description": "" + }, + "response": [] + } + ] +}
\ No newline at end of file |