Update serviceOrder swagger with clarifications on serviceState
[externalapi/nbi.git] / docs / offeredapis / api_serviceOrder / swagger.json
index d5d1c1e..2db9989 100644 (file)
         "ServiceOrderItemStateChangeNotification"
       ]
     },
+       "ServiceState": {
+         "description": "The lifecycle state of the service requested - Required for E2E service activation and deactivation with ServiceOrderItem.action as 'modify'.For any other service modification request,service state value should not be passed.Lifecycle is not fully managed in Guilin release",
+         "type": "string",
+         "enum": [
+               "active",
+               "inactive"
+         ]
+       },
     "SeverityMessage": {
       "description": "Message Severity, either information or error",
       "type": "string",
           "type": "string"
         },
         "serviceState": {
-          "description": "The lifecycle state of the service requested;\nNot managed in Beijing release.",
-          "type": "string"
+          "$ref": "#/definitions/ServiceState"
         },
         "@type": {
           "description": "To define the service type\nNot managed in Beijing Release",