Request method: POST
Request address:
Service address/v3/push/plan/add_plan_push
API service URLs correspond to service access points one to one. Please select the service URL corresponding to the service access point of your application.
Note:Call rate limit: 200 calls/day.
Parameter | Type | Required | Description |
---|---|---|---|
planName | string | Yes | Push plan name, which can contain up to 60 letters |
planDescribe | string | Yes | Push plan description, which can contain up to 300 characters |
Parameter | Type | Required | Description |
---|---|---|---|
retCode | string | Yes | Return status code |
errMsg | string | Yes | Error message |
result | object | Yes | Please see the description of PlanRecordData in the table below |
Parameter | Type | Required | Description |
---|---|---|---|
planId | string | Yes | Push plan ID generated by TPNS |
planName | string | Yes | Push plan name, which can contain up to 23 letters |
planDescribe | string | Yes | Push plan description, which can contain up to 300 characters |
planPushSource | string | Yes | - |
createdAt | uint32 | Yes | Creation time in timestamp format |
updateAt | uint32 | Yes | Update time in timestamp format |
{
"planName":"TPNS_TEST123",
"planDescribe":"plan_test"
}
{
"retCode": 0,
"ErrMsg": "save success",
"result": {
"planId": "48",
"planName": "TPNS_TEST123",
"planDescribe": "plan_test",
"planPushSource": "api",
"createdAt": 1593314408,
"updateAt": 1593314408
}
}
Was this page helpful?