API Support Forum
OEC API > API Support > API 3.2 problems with RequestContracts
Author Topic: API 3.2 problems with RequestContracts
(2 messages, Page 1 of 1)
Moderators: VPfau
RLong97
Posts: 2
Joined: Jul 03, 2008


Posted: Jul 03, 2008 @ 11:26 PM             Msg. 1 of 2
I changed my application to accomodate the new way of securing contracts. I have a list of Contract Groups, linked to a list of Base Contracts. Once a Base contract is chosen, the user hits a button which calls RequestContracts with the chosen BaseContract as a parameter.

After RequestContract is run, I cannot find any ContractLists filled. This seems to be different between the Test Server and the Production Server. Can the two servers be made to present the same OECClient object?

Randy Long
RLong97
Posts: 2
Joined: Jul 03, 2008


Posted: Jul 04, 2008 @ 08:27 AM             Msg. 2 of 2
Think I solved my own problem. After I submitted, I saw the search feature, and found in other posts that there is a delagate event triggered to respond to the call which passes a BaseContract object, which I'm guessing will have the list of contracts filled.

I didn't notice this bit of info in the documentation on the method. However, I believe, problem solved.

Randy Long