Update a provisioning profile
This PUT
operation updates a provisioning profile. If successful, you receive an HTTP response code of 200
as well as a JSON
response body showing the updated information passed in the JSON request payload.
See HTTP response codes for other response codes. |
PUT /pcc/spcm/provisionProfile/<id>
+ JSON request payload
HEADER INFO
tenant: <tenantName>
authorisation: HTTP Basic Auth
content-type: application/JSON
accept: application/hal+JSON
permissions: SPCM_PROVISION_PROFILE_UPDATE_PERMISSION
URL parameters
There is one mandatory parameter.
Parameter | Type | Description |
---|---|---|
|
integer |
The ID of the provisioning profile. |
JSON request payload
The following example shows a JSON
payload for updating the subscriberType
to PREPAID
. Remember that the id
of the provisioning profile is passed in the URL as a parameter.
See provisioning profile type descriptions for descriptions. |
{
"locale": "en",
"initialCorePlanName": "turkey",
"subscriberClass": "gold",
"subscriberType": "PREPAID",
"dpsEnabled": false,
"dpsNotification": false,
"eosNotification": false,
"paygNotification": false
}
JSON response
The following shows the response for the above sample.
{
"id": 39,
"name": "turkeySauce",
"defaultProfile": false,
"locale": "en",
"initialCorePlanName": "turkey",
"subscriberClass": "gold",
"subscriberType": "PREPAID",
"dpsEnabled": false,
"dpsNotification": false,
"eosNotification": false,
"paygNotification": false
}
Provisioning profile type descriptions
Field | Type | Description | ||
---|---|---|---|---|
|
integer |
A unique identifier for the provisioning profile.
|
||
|
string |
The name of the provisioning profile.
|
||
|
boolean |
Indicates if the profile is the default provisioning profile where
|
||
|
string |
The name of the initial core plan. |
||
|
string |
The subscriber’s language.
|
||
|
string |
Denotes the class of the subscriber. This could be |
||
|
string |
Denotes the subscriber type. This is typically |
||
|
boolean |
Indicates whether the DPS is enabled.
|
||
|
boolean |
Indicates whether the subscriber receives DPS notifications or not.
|
||
|
boolean |
Indicates whether the subscriber receives EOS notifications or not.
|
||
|
boolean |
Indicates whether the subscriber receives payG notifications or not.
|
HTTP response codes
Code | Description | ||||
---|---|---|---|---|---|
|
success!
|
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
provisioning profile not found |
||||
|
conflict with target resource
|
||||
|
failed validation; this typically means that a property was not set or a value is out of range. example
|
||||
|
failed processing (after passing validation). example
|
||||
|
internal error example
|
||||
|
request rejected due to overload |