Test Environment. You are currently using the Webex for Developers test environment. Apps created here will not be available for use with Webex Teams. Please visit Webex for Developers to manage your apps.

Update a BroadWorks Subscriber

This API will allow a Service Provider to update certain details of a provisioned BroadWorks subscriber on Cisco Webex.

PUT/v1/broadworks/subscribers/{subscriberId}
URI Parameters
subscriberId
stringrequired

A unique identifier for the subscriber in question.

Body Parameters
firstName
string

The first name of the subscriber.

lastName
string

The last name of the subscriber.

primaryPhoneNumber
string

The primary phone number configured against the subscriber on BroadWorks.

language
string

The ISO 639-1 language code associated with the subscriber.

timezone
string

The time zone associated with the subscriber.

package
string

The Webex for BroadWorks Package to be assigned to the subscriber.

Response Properties
id
string

A unique Cisco identifier for the subscriber.

personId
string

The Person Id of the subscriber on Cisco Webex. To be used when referencing this subscriber on other Cisco Webex APIs. Only presented when status is provisioned.

userId
string

The userID of the subscriber on BroadWorks.

spEnterpriseId
string

The Service Provider supplied unique identifier for the subscriber's enterprise.

firstName
string

The first name of the subscriber.

lastName
string

The last name of the subscriber.

email
string

The email address of the subscriber.

primaryPhoneNumber
string

The primary phone number configured against the subscriber on BroadWorks.

language
string

The ISO 639-1 language code associated with the subscriber.

package
enum

The Webex for BroadWorks Package assigned to the subscriber.

basic

Basic package

standard

Standard package

premium

Premium package

status
enum

The provisioning status of the user.

pending_email_input

Subscriber Provisioning is paused, pending input of email address.

pending_email_validation

Subscriber Provisioning is paused. The subscriber has entered an email address but has yet to complete validation.

provisioning

Subscriber provisioning is in progress.

provisioned

The subscriber is fully provisioned on Cisco Webex.

updating

An update is in progress for a provisioned subscriber.

error

An error occurred provisioning the subscriber on Cisco Webex.

errors
array

List of errors that occurred during that last attempt to provision/update this subscriber.

Note:

  • This list captures errors that occurred during asynchronous or background provisioning of the subscriber, after the API has been accepted and 200 OK response returned.

  • Any errors that occur during initial API request validation will be captured directly in error response with appropriate HTTP status code.

errorCode
number

An error code that identifies the reason for the error

description
string

A textual representation of the error code.

created
string

The date and time the subscriber was provisioned.

lastStatusChange
string

The date and time the provisioning status of the subscriber last changed.

provisioningId
string

This Provisioning ID associated with this subscriber.

selfActivated
boolean

Indicates if the subscriber was self activated, rather than provisioned via these APIs.

Response Codes

The list below describes the common success and error responses you should expect from the API.

CodeStatusDescription
200OKSuccessful request with body content.
204No ContentSuccessful request without body content.
400Bad RequestThe request was invalid or cannot be otherwise served. An accompanying error message will explain further.
401UnauthorizedAuthentication credentials were missing or incorrect.
403ForbiddenThe request is understood, but it has been refused or access is not allowed.
404Not FoundThe URI requested is invalid or the resource requested, such as a user, does not exist. Also returned when the requested format is not supported by the requested method.
405Method Not AllowedThe request was made to a resource using an HTTP request method that is not supported.
409ConflictThe request could not be processed because it conflicts with some established rule of the system. For example, a person may not be added to a room more than once.
410GoneThe requested resource is no longer available.
415Unsupported Media TypeThe request was made to a resource without specifying a media type or used a media type that is not supported.
423LockedThe requested resource is temporarily unavailable. A Retry-After header may be present that specifies how many seconds you need to wait before attempting the request again.
428Precondition RequiredFile(s) cannot be scanned for malware and need to be force downloaded.
429Too Many RequestsToo many requests have been sent in a given amount of time and the request has been rate limited. A Retry-After header should be present that specifies how many seconds you need to wait before a successful request can be made.
500Internal Server ErrorSomething went wrong on the server. If the issue persists, feel free to contact the Webex Developer Support team.
502Bad GatewayThe server received an invalid response from an upstream server while processing the request. Try again later.
503Service UnavailableServer is overloaded with requests. Try again later.
504Gateway TimeoutAn upstream server failed to respond on time. If your query uses max parameter, please try to reduce it.
PUT
/v1/broadworks/subscribers/
Log in to try the API.
Header
Body
  • The first name of the subscriber.
  • The last name of the subscriber.
  • The primary phone number configured against the subscriber on BroadWorks.
  • The ISO 639-1 language code associated with the subscriber.
  • The time zone associated with the subscriber.
  • The Webex for BroadWorks Package to be assigned to the subscriber.
https://webexapis.com/v1/broadworks/subscribers/Y2lzY29zcGFyazovL3VzL1NVQlNDUklCRVIvNjk3MGU2YmItNzQzOS00ZmZiLWFkMzQtZDNmZjAxNjdkZGFk
{
  "firstName": "John",
  "lastName": "Andersen",
  "primaryPhoneNumber": "+1-240-555-1212",
  "language": "en",
  "timezone": "America/Los_Angeles",
  "package": "premium"
}
200 / OK
{
    "id": "Y2lzY29zcGFyazovL3VzL1NVQlNDUklCRVIvNjk3MGU2YmItNzQzOS00ZmZiLWFkMzQtZDNmZjAxNjdkZGFk",
    "personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mNWIzNjE4Ny1jOGRkLTQ3MjctOGIyZi1mOWM0NDdmMjkwNDY",
    "userId": "95547321@sp.com",
    "spEnterpriseId": "Reseller1+acme",
    "firstName": "John",
    "lastName": "Andersen",
    "email": "john.anderson@acme.com",
    "primaryPhoneNumber": "+1-240-555-1212",
    "language": "en",
    "package": "premium",
    "status": "updating",
    "created": "2019-10-18T14:26:16.000Z",
    "lastStatusChange": "2020-03-18T16:05:34.000Z",
    "provisioningId": "ZjViMzYxODctYzhkZC00NzI3LThiMmYtZjljNDQ3ZjI5MDQ2OjQyODVmNTk0LTViNTEtNDdiZS05Mzk2LTZjMzZlMmFkODNhNQ",
    "selfActivated": "false"
}