简体   繁体   English

如何通过从类调用Eloqua API将信息发布到Eloqua

[英]How to post information to Eloqua, by calling Eloqua API from a class

我对Eloqua或oAuth不太了解,我想知道如何创建服务以连接到Eloqua并调用API

The documentation for Eloqua oauth is here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/GettingStarted/Authentication/authenticate-using-oauth.htm Eloqua oauth的文档位于: http : //docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/GettingStarted/Authentication/authenticate-using-oauth.htm

This is the documentation for the bulk api: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/BulkAPI/bulk-API.htm 这是批量api的文档: http : //docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/BulkAPI/bulk-API.htm

You can start by using a rest client (like postman or fiddler) to play with the API. 您可以从使用其他客户端(例如邮递员或提琴手)开始使用API​​。

Is there anything specific you want to achieve? 您想实现什么具体目标?

I have to write an answer because my reputation is too low to comment... 我必须写一个答案,因为我的声誉太低,无法发表评论...

You can not create a user via REST API or Bulk API. 您无法通过REST API或Bulk API创建用户。 Maybe with SOAP but it's deprecated. 也许使用SOAP,但已弃用。

See all endpoints for users here. 在此处查看用户的所有端点。

Your question is not clear: 您的问题不清楚:

  • What do you call a "service" ? 您称什么为“服务”?
  • What do you want to achieve ? 您想实现什么? And how ? 如何 ?
  • Does OAuth is mandatory ? OAuth是强制性的吗?

And finally, with REST API you can not connect and then executes your actions, you have to authenticate you each time you call an endpoint. 最后,使用REST API,您将无法连接然后执行操作,因此每次调用端点时都必须进行身份验证。 You are probably aware of this, but this may seems unclear in your question. 您可能已经意识到这一点,但是在您的问题中似乎不清楚。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM