Interface (submitquickdelimit) for Creating a SmartCare Quick Demarcation Task
Description
Create a SmartCare quick demarcation task.
Interface Method
POST
URI
https://Domain name/apiaccess/CC-Management/v1/smartcare/submitquickdelimit (for example, service.besclouds.com)
Request Description
|
No. |
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|---|
|
1 |
X-APP-Key |
string |
True |
App key, which is the user ID. |
|
2 |
Authorization |
string |
True |
Authentication field. The format is Bearer (space){Value of AccessToken returned by the tokenByAkSk interface}. (A space is required after Bearer.) |
|
No. |
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|---|
|
1 |
msisdn |
String |
True |
Mobile number of a user. |
|
2 |
startTime |
String |
True |
Start time of quick demarcation in the tenant time zone. Example: 1721283033000 Set this parameter to the time N earlier than the current time, where N is the value of the tenant parameter The time (h) pushed forward from the current time as start time when SmartCare delimits creation. |
|
3 |
endTime |
String |
True |
End time of quick demarcation in the tenant time zone. Example: 1721283133000 Set this parameter to the current time, that is, the time when the task is created. |
|
4 |
locale |
String |
True |
Language.
NOTE:
|
|
5 |
scene |
String |
True |
Scenario. The scenario name specified by this parameter must be the same as the corresponding scenario name in Scenario Presetting. Otherwise, the demarcation cannot be performed. |
|
6 |
longitude |
String |
False |
Longitude. The value ranges from –180 to 180. A maximum of six decimal places are allowed. |
|
7 |
latitude |
String |
False |
Latitude. The value ranges from –90 to 90. A maximum of six decimal places are allowed. |
|
8 |
radius |
String |
False |
Radius. The value is a non-negative integer, in meters. |
Response Description
- Status code: 200
Table 3 Parameters in the response body No.
Parameter
Type
Mandatory
Description
1
returnCode
String
True
Response code. The value 0 indicates success.
2
description
String
True
Response description.
3
taskId
String
True
ID of the created SmartCare quick demarcation task.
- Status code: 400
Incorrect request. Check the request path and parameters.
- Status code: 401
Unauthorized operation. 1. Check whether you have purchased related services. 2. Contact customer service to check the status of your account.
- Status code: 404
The requested content is not found. Check the request path.
- Status code: 500
Business failure. Check the values of parameters in the request.
Message Example
Request header:
x-app-key:9******************************3 Authorization:Bearer e******************************e Content-Type:application/json
Request parameters:
{
"msisdn": "6680512100869",
"startTime": "1721283033000",
"endTime": "1721283133000",
"scene": "Voice",
"locale": "en_US"
}
Response parameters:
{
"returnCode": "0",
"description": "Queried successfully. Data is available.",
"taskId": "7532351aa3fb4fcc9eff66e6d5606f7f"
}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot