Get Profile Details
get
/bcws/webresources/v1.0/profiles/{id}
Gets details for the specified profile.
Request
Path Parameters
-
id(required): string
The profile ID, such as 0.0.0.1+-profile-customer_care+123123.
There's no request body for this operation.
Back to TopResponse
200 Response
Details about the profile were returned successfully.
500 Response
An internal server error occurred.
Examples
This example shows how to get an account profile by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".
cURL Command
curl -X GET 'http://hostname:port/bcws/webresources/version/profiles/0.0.0.1+-profile-serv_extrating+219687'
where:
- hostname is the URL for the Billing Care REST server.
- port is the port for the Billing Care REST server.
- version is the version of the API you're using, such as v1.0.
Example of Response Body
This example shows the contents of the response body in JSON format.
{
"@class": "com.oracle.communications.brm.cc.model.ProfileServExtrating",
"extension": null,
"id": {
"id": "0.0.0.1+-profile-serv_extrating+219687",
"uri": null
},
"creationDate": 1578657336000,
"accountObj": {
"id": "0.0.0.1+-account+228862",
"uri": null
},
"serviceObj": null,
"name": "HOME_REGION",
"selected": false,
"parentName": null,
"multiValued": null,
"dataArray": [
{
"name": "Validity Range 1",
"validFrom": 1609850000,
"validTo": 1610455000,
"value": "1234",
"elem": null
},
{
"name": "Validity Range 2",
"validFrom": 1609850000,
"validTo": 1610455000,
"value": "123456",
"elem": null
}
],
"extrating": {
"label": "Official",
"referenceCount": 1,
"status": 3
}
}
}