- Created by David Perez Caparros on Mar 26, 2019
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
GET service instance Expand source
curl -X GET \ https://172.30.0.67:30233/aai/v14/business/customers/customer/56ab76fa-6f15-442f-a2c1-4fa5f4b39447/service-subscriptions/service-subscription/BBS-CFS_Test/service-instances/service-instance/0696d471-9e10-445e-94ca-3b1c5c36701d \ -H 'Accept: application/json' \ -H 'Authorization: Basic QUFJOkFBSQ==' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 9de15944-f781-42fa-87e8-20e4c68ad10d' \ -H 'X-FromAppId: Postman Application' \ -H 'X-TransactionId: Postman REST Transaction' \ -H 'cache-control: no-cache' Response: { "service-instance-id": "0696d471-9e10-445e-94ca-3b1c5c36701d", "resource-version": "1553592695895", "orchestration-status": "active", "relationship-list": { "relationship": [ { "related-to": "service-instance", "relationship-label": "org.onap.relationships.inventory.ComposedOf", "related-link": "/aai/v14/business/customers/customer/56ab76fa-6f15-442f-a2c1-4fa5f4b39447/service-subscriptions/service-subscription/BBS-CFS-Access_Test/service-instances/service-instance/e23ba25e-47fb-4748-bb53-2ec31fe49a74", "relationship-data": [ { "relationship-key": "customer.global-customer-id", "relationship-value": "56ab76fa-6f15-442f-a2c1-4fa5f4b39447" }, { "relationship-key": "service-subscription.service-type", "relationship-value": "BBS-CFS-Access_Test" }, { "relationship-key": "service-instance.service-instance-id", "relationship-value": "e23ba25e-47fb-4748-bb53-2ec31fe49a74" } ], "related-to-property": [ { "property-key": "service-instance.service-instance-name" } ] } ] } }
PUT orchestration-status Expand source
curl -X PUT \ 'https://172.30.0.67:30233/aai/v14/business/customers/customer/56ab76fa-6f15-442f-a2c1-4fa5f4b39447/service-subscriptions/service-subscription/BBS-CFS_Test/service-instances/service-instance/0696d471-9e10-445e-94ca-3b1c5c36701d?resource-version=1553592695895' \ -H 'Accept: application/json' \ -H 'Authorization: Basic QUFJOkFBSQ==' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 00fbdcf8-e4d3-467f-a63a-d666a78b3cd6' \ -H 'X-FromAppId: Postman Application' \ -H 'X-TransactionId: Postman REST Transaction' \ -H 'cache-control: no-cache' \ -d '{ "service-instance-id": "0696d471-9e10-445e-94ca-3b1c5c36701d", "resource-version": "1553592695895", "orchestration-status": "assigned", "relationship-list": { "relationship": [ { "related-to": "service-instance", "relationship-label": "org.onap.relationships.inventory.ComposedOf", "related-link": "/aai/v14/business/customers/customer/56ab76fa-6f15-442f-a2c1-4fa5f4b39447/service-subscriptions/service-subscription/BBS-CFS-Access_Test/service-instances/service-instance/e23ba25e-47fb-4748-bb53-2ec31fe49a74", "relationship-data": [ { "relationship-key": "customer.global-customer-id", "relationship-value": "56ab76fa-6f15-442f-a2c1-4fa5f4b39447" }, { "relationship-key": "service-subscription.service-type", "relationship-value": "BBS-CFS-Access_Test" }, { "relationship-key": "service-instance.service-instance-id", "relationship-value": "e23ba25e-47fb-4748-bb53-2ec31fe49a74" } ], "related-to-property": [ { "property-key": "service-instance.service-instance-name" } ] } ] } }'
- No labels