Service Inventory Biz

(0 reviews)

TMF629-VoiceMailServiceTowardsVMS

Update VMS (voice-mail) status

This operation updates Voice mail service entity

Request

This section defines all the possible data structures sent by the client when consuming the method.

URL

http://[localhost]:[port]/sfdc-ux/v1/{businessId}/customer/id

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country codeY
idstringunique identifier to identify the customer/userY
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction
Minimum characters: 1
Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request
Y
targetSystemstringtarget system in which the customer details are getting updated.
Expected value for VMS user update is "VMS"
Y

Body

VMS user update request:
{
    "engagedParty": {
        "id": "123",
        "@referredType": "Individual"
    },
    "status": "active",
    "characteristic": [
        {
            "name": "language",
            "value": "eng"
        },
        {
            "name": "pin",
            "value": "1234"
        },
        {
            "name": "visualVM",
            "value": "false"
        },
        {
            "name": "mwnBearers",
            "value": "MWI"
        }
    ]
}
Definitions:

Each of the request parameters is detailed.

VMS User update request definitions:

Each of the request parameters is detailed.

nametypedescriptionrequired
engagedPartyobjectuser detailsO
engagedParty.idStringuser's IDO
engagedParty.@referredTypeStringtype of the classO
characteristicarrayarray of name value pairs. name represents the variable name and the value represents the value of the variable. All charcteristic names and values are strings.Y
characteristic.languageStringNew language for Voice Mail account. The values can be "eng", "spa" or "fre".Y*
characteristic.pinStringNew personal access code for Voice Mail account.Y*
characteristic.visualVMStringNew value for Visual Voice Mail feature flag. The values can be either "true" or "false".O
characteristic.mwnBearersStringNew message waiting notification (MWN) bearers authorized for this account.O
statusStringNew Voice Mail account state. The value can be either "active" or "inactive".Y*

Note: One of the fields status, language or pin is mandatory (marked as Y*). The payload can contain more than one fields or all fields.

Response

In this section all the possible data structures received by the client at the moment of responding the method are defined.

Possible response success

This section defines all the possible data structures received by the client and that must be considered satisfactory at the time of responding to the method.

[ 200 ]

OK - customer update request processed successfully.

VMS Response Body
{
    "id": "0000",
    "description": "Successful method execution."
}

Reviews