Hi,

We are trying to create a new service instance with some metadata by invoking 
AAI API. The instance gets created. But when we try to get service instance 
details, we are not getting metadata back.

Can anyone please suggest if anything is wrong in below PUT API ? Thanks in 
Advance.

API used: PUT 
/business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances/service-instance/{service-instance-id}
Body:
{
    "service-instance": [
        {
                                                
"global-customer-id":"TechM_Cust",
                                                "service-instance-id": 
"0aa1c4f0-5e0c-8888-8882-ab4fa3d22bf6",
                                                "service-instance-name": 
"Techm_vFW_ServiceInstance_2",
                                                "service-type":"vFW",
                                                "metadatum":{
                                                [
                                                                {
                                                                                
"metaname":"someName",
                                                                                
"metaval":"someValue"
                                                                }
                                                ]
                                                }
        }
    ]
}

GET 
/business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances/service-instance/{service-instance-id}


Regards,
Shubhada
============================================================================================================================

Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html 
<http://www.techmahindra.com/Disclaimer.html> externally 
http://tim.techmahindra.com/tim/disclaimer.html 
<http://tim.techmahindra.com/tim/disclaimer.html> internally within 
TechMahindra.

============================================================================================================================

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10691): https://lists.onap.org/g/onap-discuss/message/10691
Mute This Topic: https://lists.onap.org/mt/22892233/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to