Service Documentation: "Post Update"

The "Post Update" service enables data updating via an HTTP POST request. Its primary function is to facilitate the modification of records or information within the system, such as user profiles, configurations, and content. This helps maintain up-to-date and accurate data within the application or system where it's implemented.

Update

Service Overview

Request Parameters:  

Response Structure

The API responds with a JSON object listing the risk levels configured within the system. Each entry in the response includes:

Example Response

 

{
  "success": 1
}

Example CURL Request

To query the risk for a specific project, utilize the following curl command:

curl -X 'POST' \
  'https://fraud-detector-api.statsd.io/api/v1/update' \
  -H 'accept: application/json' \
  -H 'apiKey: [Your_API_Key]' \
  -H 'Content-Type: application/json' \
  -d '{
  "cid": "[Your_Cid]",
  "csid": "demo0883d839",
  "userID": "1193539722",
  "additionalData": {}
}'

Make sure you replace {BaseURL} with the actual base URL of the service, and your_api_key with the API key provided to you.


Revision #13
Created 16 May 2024 15:04:24 by Admin
Updated 16 May 2024 15:45:56 by Admin