TableAbortApply

Abort the Table Index Application Form

Manually cancel (abort) the application form

Request address

POST
http://OmsAddress/app/newoms.php/webservice/business/table/abortapply?cmd=10022&ip-type=webservicerest&access-token=AccessTokenVal

POST request parameter description

Parameter format Required or not Description
apply_id integer Yes application form id

Data Parameters

Use json format to represent the record related information. The following is an example:

{
    "uid": 10
}

Return Syntax

Return Parameter Description

  1. When the returned status code is not 200, it indicates that the request failed, and the return data is the message of the request failure

  2. The returned status code is 200, it indicates that the request is successful

Request Example

Send A Request through the Curl Method

For the parameters in the command, please refer to the "Description of POST Request Parameters" on this page. For the method to obtain access-token, see: Get access-token

curl -H "Content-type: application/json" -X "POST" -d '{
    "uid": 10
}' http://omsaddress/app/newoms.php/webservice/business/table/abortapply?cmd=10022&ip-type=webservicerest&access-token=\

Return Example

Successful Return Example

Status of http request = 200

true

Failed Return Example

Status of http request != 200

{
    "name": "Unauthorized",
    "message": "You are requesting with an invalid credential.",
    "code": 0,
    "status": 401,
    "type": "yii\\web UnauthorizedHttpException"
}
{
    "source_ip": "ip:10.29.89.51 not in whitelist"
}

results matching ""

    No results matching ""