Creates an officer of the specified race for an account
Data | Description |
---|---|
apikey | Player's existing API key |
raceid | Race (ID) to activate |
If the process is successful, the following response is generated.
Data | Description |
---|---|
success | True |
{"success":false,"error":"Missing required parameter - apikey"}
{"success":false,"error":"Missing required parameter - raceid"}
{"success":false,"error":"Duplicate entry '115424-8' for key 'AccountId_RaceId' at GeoTools.DataAccess.DataAccess.ExecuteNonQuery()\r\n at GeoTools.DataAccess.DataAccess.Insert(BaseObject obj)\r\n at MasterData.OfficerData.CreateOfficer(Int64 accountId, Races raceId) in C:\\dev\\MasterData\\MasterData\\Officer.cs:line 270\r\n at PlanetsAPI.AccountActions2.createofficer(Account account, Int64 raceid) in C:\\dev\\PlanetsAPI\\v2\\AccountActions.cs:line 1839"}