diff options
author | Rene Robert <rene.robert@orange.com> | 2019-01-24 18:24:55 +0100 |
---|---|---|
committer | Rene Robert <rene.robert@orange.com> | 2019-01-24 18:34:30 +0100 |
commit | 53ef77f254223e19e8185ffd9de85f101ad187a6 (patch) | |
tree | e59bdd223ac45e66d967da050ebf485bebaf3987 /test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json | |
parent | aa8c584d3330ed3fe291f792ee01c323dcbc182c (diff) |
add Postman Collection
Issue-ID: INT-825
Change-Id: I95b99798462ab5852d8da90bb337d818e80c0ef8
Signed-off-by: Rene Robert <rene.robert@orange.com>
Diffstat (limited to 'test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json')
-rw-r--r-- | test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json b/test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json new file mode 100644 index 000000000..a77751ca8 --- /dev/null +++ b/test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json @@ -0,0 +1,144 @@ +{ + "variables": [], + "info": { + "name": "07_Declare_owningEntity_LineOfBusiness_project_platform", + "_postman_id": "7143bf9e-0167-af43-26cb-0cec6550dcd1", + "description": "", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "Declare owningEntity", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/owningEntity", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "Accept-Encoding", + "value": "gzip, deflate", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{owning_entity}}\"]\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Declare platform", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/platform", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{platform}}\"]\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Declare lineOfBusiness", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/lineOfBusiness", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{lineofbusiness}}\"]\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Declare project", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/project", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{project}}\"]\n}" + }, + "description": "" + }, + "response": [] + } + ] +}
\ No newline at end of file |