Quantcast
Channel: Topliners: Message List
Viewing all articles
Browse latest Browse all 3481

Issue about REST API

$
0
0

Hi,

 

We are doing ELQ & MDB(our own DB) integration via API, but we can't login. Appreciate if anyone can give some suggestion about it.

 

 

First of all, we had the 1st error message, later we can login in website when we applied for the the access from Oracle. But can't login in program. Please refer to the 2nd image.

 

 

 

 


When we tried to use java sdk to do the integration,we got following message. 


@Test
public void SearchFieldsTests() {
// BulkClient client = new BulkClient("site", "user", "password", "https://secure.eloqua.com/API/Bulk/1.0"); //Huawei001\Youhao.Liu
// BulkClient client = new BulkClient("site", "Huawei001\\Youhao.Liu", "Eloqua01", "https://secure.p03.eloqua.com/API/Bulk/2.0/exports");
// BulkClient client = new BulkClient("site", "Huawei001\\Youhao.Liu", "Eloqua01", "https://secure.p03.eloqua.com/API/Bulk/2.0/exports");
// BulkClient client = new BulkClient("site", "Huawei001\\Youhao.Liu", "Eloqua01", "https://secure.p03.eloqua.com/API/Bulk/2.0/exports");

BulkClient client = new BulkClient("1681499868", "Huawei001\\Youhao.Liu", "Eloqua01", "https://secure.p03.eloqua.com/API/Bulk/2.0/exports");
int count = 1;
SearchResponse<Field> fields = client.ContactFieldClient().Search("*", 1, count);
assertEquals(count, fields.total);
}


Thanks,

Cynthia Li


Viewing all articles
Browse latest Browse all 3481

Trending Articles