VGA Planets

Introduction

How The Website Works

Races

Dashboard

Starmap

Planets

Starships

General Information

Guides

Contributions

Searchable Documentation

API account officers


Introduction —> How The Website Works —> API —> API account officers

Overview of /account/officers API call

Reads an account's existing officers.

Data Sent

Data Description
accountid Account (ID) to read the officers from

Data Returned

If the process is successful, the following response is generated.

Data Description
success True
officers An array containing the existing officer objects

Failures

{"success":false,"error":"Missing required parameter - accountid"}

{"success":false,"error":"Object reference not set to an instance of an object. at PlanetsAPI.AccountActions2.officers(Int64 accountid) in C:\\dev\\PlanetsAPI\\v2\\AccountActions.cs:line 773"}

Back