TMF640 API Document (Release 15.5.1) describes the usage of
supportingService as
"supportingService":[
{
"id": "59",
"href":" http://server:port/inventoryApi/service/59"
…. May contain the fully embedded service or only an hyperlink
}],
Our interpretation of the documentation of supportingService is as given below,
- I can provide the hyperlink of another service instance which act as a supporting service.
- I can embed the full details of another service instance (retrieved using GET operation) which act as a supporting service.
- Since there is no relationship type attribute in the supportingService block, the supportingService only represents the parent child relationship (vertical relationship).
Question: Can we use the supportingService block in the TMF640 API to create a supporting service along with the primary service in the same TMF640 request? i.e Can I embed the service create request of the supporting serivce by providing the request details under the supportingservice block.
Example:{
"name": "Mobile",
"state": "active",
"serviceSpecification": {
"href": ".../serviceSpecification/Mobile/11"
},
"supportingService": [
{
"name": "Data",
"state": "active",
"serviceSpecification": {
"href": ".../serviceSpecification/Data/12"
},
"serviceCharacteristic": [
{
"name": "Limit",
"value": "1 GB"
}
]
}
],
"serviceCharacteristic": [
{
"name": "MSISDN",
"value": "0123456789"
}
]
}
------------------------------
Abdul Majid Hussain
Telstra Corporation
------------------------------