PATCH api/order/service/{OrderServiceID}/fraud
This API method updates the fraud detection thresholds for an order service
Error Messages
- 500/Internal Server Error - Error getting order service record with id x.
- 404/Not Found - No order service found with id x - Order Service ID specified does not exist.
- 403/Forbidden - Fraud control are not supported in service with id x - Fraud controls are not supported by the specified Service.
- 403/Forbidden - Fraud data not found for service with id x - No data was found for specified Order Service.
- 403/Forbidden - Limit field must be populated for ID x - Limit field is blank.
- 403/Forbidden - Email field must be populated for ID x - Edit field is blank.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderServiceID | ID number of the order service | integer |
Required |
Body Parameters
List of FraudBase
Collection of FraudBase| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | ID number of fraud record | string |
None. |
| SMS | Telephone number that alert will be sent to over SMS | string |
None. |
| Email address that alert will be sent to | string |
None. |
|
| Limit | Threshold to send an alert | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": "sample string 1",
"SMS": "sample string 2",
"Email": "sample string 3",
"Limit": "sample string 4"
},
{
"ID": "sample string 1",
"SMS": "sample string 2",
"Email": "sample string 3",
"Limit": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfFraudBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/aBILLity.API.Models">
<FraudBase>
<Email>sample string 3</Email>
<ID>sample string 1</ID>
<Limit>sample string 4</Limit>
<SMS>sample string 2</SMS>
</FraudBase>
<FraudBase>
<Email>sample string 3</Email>
<ID>sample string 1</ID>
<Limit>sample string 4</Limit>
<SMS>sample string 2</SMS>
</FraudBase>
</ArrayOfFraudBase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.