Upload a Fraud Protection List File to the OCSDM Server

post

/{versionId}/telephonyFraud/FPLFileUpload

This API supports form data parameters to allow users to upload a FPL file.

Request

Path Parameters
Header Parameters
Back to Top

Response

202 Response

The user request is accepted.

400 Response

The user input is invalid.

401 Response

The session ID is invalid.

404 Response

The object (resource URI, device, and so on) of your input request cannot be found.

500 Response

Internal server error
Back to Top

Examples

Examples of Accessing the API

See Authenticate for how to acquire a session cookie.

The following example shows how to upload a fraud protection list file to SDM using curl.

curl -X POST \
    -b sessionid.txt \
    --header "Accept: application/xml" \
    --header "Content-Type: application/xml" \
    "https://example.com:8443/rest/v1.3/telephonyFraud/FPLFileUpload"

The following example shows how to upload a fraud protection list file to SDM using Python.

import requests
from lxml import etree
url = "https://example.com:8443/rest/v1.3/telephonyFraud/FPLFileUpload"
headers = { "Accept":"application/xml", "Cookie":cookie }
resp = requests.post(url, headers=headers)

Example of the Response Body

This endpoint does not return a response body.

Back to Top