Esempio n. 1
0
        /// <summary>
        /// Bulk lookup of character IDs to corporation, alliance and faction
        /// </summary>
        /// <param name="characterIds">The character IDs to fetch affiliations for. All characters must exist, or none will be returned.</param>
        /// <returns>Character corporation, alliance and faction IDs</returns>
        public ESIResponse <List <GetcharacterAffiliationsResponse> > GetcharacterAffiliations(Int64[] characterIds)
        {
            var request = RestRequestHelper.CreatePostRequest($"characters/affiliation/");

            request.AddBody(characterIds);

            return(_client.Execute <List <GetcharacterAffiliationsResponse> >(request));
        }