This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
amp:amp_api [2020/03/19 06:39] rsk [Generating your API ID For Authentication] |
amp:amp_api [2020/03/25 12:30] (current) rsk [Abuse Manager Pro API] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Abuse Manager Pro API ====== | ====== Abuse Manager Pro API ====== | ||
- | <color # | + | <color # |
This page explains the ways to interact with the Abuse Manager Pro API. | This page explains the ways to interact with the Abuse Manager Pro API. | ||
Line 26: | Line 26: | ||
- | ===== Error Codes ===== | ||
- | ^ Code ^ Description | ||
- | | AMP001 | ||
- | | AMP002 | ||
- | | AMP003 | ||
- | | AMP004 | ||
---- | ---- | ||
Line 48: | Line 42: | ||
| service_id | required - this is the WHMCS ID of the service that the abuse report will be created for | | | service_id | required - this is the WHMCS ID of the service that the abuse report will be created for | | ||
| category | required - this is the category of abuse - can be any value e.g. ' | | category | required - this is the category of abuse - can be any value e.g. ' | ||
- | | service_ip | optional - if not passed | + | | service_ip | optional - if not passed, the main dedicated IP of the service will be used - if service doesn' |
| suspend_method | optional - defaults to nosuspend - available options are ' | | suspend_method | optional - defaults to nosuspend - available options are ' | ||
| allow_unsuspend | optional - defaults to false - if you want to give the customer the option to self unsuspend set to true | | | allow_unsuspend | optional - defaults to false - if you want to give the customer the option to self unsuspend set to true | | ||
Line 58: | Line 52: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Error Codes ===== | ||
+ | |||
+ | ^ Code ^ Description | ||
+ | | AMP001 | ||
+ | | AMP002 | ||
+ | | AMP003 | ||
---- | ---- | ||
Line 78: | Line 81: | ||
' | ' | ||
| | ||
- | ' | + | ' |
' | ' | ||
' | ' |