| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Zarek RedHill
MASS A DEATH Mordus Angels
5
|
Posted - 2015.09.24 04:02:50 -
[1] - Quote
Hello!
I've been looking at the XML API regarding contracts, and so far I've established that I can query contracts that I have created (or contracts created on behalf of my corp if I have the Roles for it).
I am wondering if there is a way for me to query the list of contracts that are available to anyone in my alliance. In other words, the programmatic equivalent of going into the "Available Contracts" tab and picking "My Alliance" under Availability. screenshot
(the screenshot happens to have "Current Station" selected -- that would be helpful but not a deal breaker for me)
Thanks -- and please excuse any misconduct -- I am just now starting to look into this API stuff. -Z
|

Captain Thunk
Sniggerdly Pandemic Legion
173
|
Posted - 2015.09.24 07:57:01 -
[2] - Quote
Zarek RedHill wrote:Hello! I've been looking at the XML API regarding contracts, and so far I've established that I can query contracts that I have created (or contracts created on behalf of my corp if I have the Roles for it). I am wondering if there is a way for me to query the list of contracts that are available to anyone in my alliance. In other words, the programmatic equivalent of going into the "Available Contracts" tab and picking "My Alliance" under Availability. screenshot(the screenshot happens to have "Current Station" selected -- that would be helpful but not a deal breaker for me) Thanks -- and please excuse any misconduct -- I am just now starting to look into this API stuff. -Z
The contracts that have the AssigneeID that match the Alliance is what you're looking for
AssigneeID is the scope of who can see it, like characterID if direct or corporationID/allianceID
If you're in an alliance and pull your contracts, you know that everyone else in the alliance will be seeing the same contracts where the assigneeID is the allianceID
More info: http://wiki.eve-id.net/APIv2_Char_Contracts_XML |

Zarek RedHill
MASS A DEATH Mordus Angels
9
|
Posted - 2015.09.24 17:28:40 -
[3] - Quote
This is true, but the API call only shows the alliance contracts that I issued to the alliance (assuming I supplied my character id and api info).
My question is whether it's possible to see ALL contracts issued to my alliance -- whether by me or anyone else -- without having access to each alliance member's API. (note I can already access this information in game, so it should not be a security issue) |

Captain Thunk
Sniggerdly Pandemic Legion
173
|
Posted - 2015.09.24 17:54:15 -
[4] - Quote
Either you're doing it wrong or you need to use /corp/Contracts
I'm p.sure it's the former and they are there in your char version, but I don't have time to check right now.
If it's been issued to the alliance, any char should see it - it would be in their list. |

Zarek RedHill
MASS A DEATH Mordus Angels
10
|
Posted - 2015.09.24 21:15:40 -
[5] - Quote
corp/Contracts shows the contracts issued by the Corp by a director/contract manager.
I'm pretty sure I followed directions properly for /char/Contracts -- it just shows me every contract my character has ever issued or has in progress or outstanding. It does NOT show me what contracts my character can accept that have been issued to my alliance.
Once again, I'm looking for contracts issued by players other than myself or a corp that are available to anyone in my alliance.
-Z |

Captain Thunk
Sniggerdly Pandemic Legion
173
|
Posted - 2015.09.25 07:07:30 -
[6] - Quote
Check the raw XML because they're there.
That or there isn't any contracts issued to alliance (there is according to your SS)
|

Zarek RedHill
MASS A DEATH Mordus Angels
10
|
Posted - 2015.09.25 17:16:36 -
[7] - Quote
It is NOT in the xml. Once again, please read my question more carefully. I don't think you understand it. Here is the specific scenario I am interested in.
Player A is part of Corporation A, and Player B is part of Corporation B -- both in the same alliance. Player A issues a contract to the alliance. The contract is now visible to player B under "My Alliance" availability.
How can player B -- using Player B's API info -- query for that contract?
-Z |

Captain Thunk
Sniggerdly Pandemic Legion
173
|
Posted - 2015.09.25 18:11:29 -
[8] - Quote
Zarek RedHill wrote:It is NOT in the xml. Once again, please read my question more carefully. I don't think you understand it. Here is the specific scenario I am interested in.
Player A is part of Corporation A, and Player B is part of Corporation B -- both in the same alliance. Player A issues a contract to the alliance. The contract is now visible to player B under "My Alliance" availability.
How can player B -- using Player B's API info -- query for that contract?
-Z
You need a CAK for each of the corps with the contracts bitmask and pull them all.
They're all in there, search for the assigneeID = allianceID |

Zarek RedHill
MASS A DEATH Mordus Angels
10
|
Posted - 2015.09.25 18:19:42 -
[9] - Quote
Bummer! I was hoping I'd be able to query the stuff w/o the CAKs since I can query those in game from my character without them.
Anyway, thanks for following up, Thunk! -Z |
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |