Toggles the advantage for a specified officer (by race id). This advantage can be bought , or it can be Standard issue.
Data | Description |
---|---|
apikey | Player's existing API key |
raceid | Race (ID) to toggle the advantage for |
advantageid | ID for the advantage that is being toggled |
If the process is successful, the following response is generated.
Data | Description |
---|---|
success | True |
activeadvantages |
Comma seperated list of numbers of advantages owned for the active race
(e.g. 24,25,45,49,48,51, ) |
{"success":false,"error":"Missing required parameter - apikey"}
{"success":false,"error":"Missing required parameter - raceid"}
{"success":false,"error":"Missing required parameter - advantageid"}
{"success":false,"error":"Parameter raceid is in an incorrect format."}
{"success":false,"error":"This advantage can not be disabled."}
{"success":false,"error":"Super Spy Command has been retired and is no longer available."}