how to call target API via postman | Community
Skip to main content
Kishore_Kumar_
Level 9
July 16, 2020
Solved

how to call target API via postman

  • July 16, 2020
  • 1 reply
  • 1635 views

hi team,

 

I am new to target, i am trying to create a offer and as a response trying to get a offer id from the api response via Postman.

 

https://admin.testandtarget.omniture.com/api?password=somepassword&amp;offerName=someOfferName&amp;client=clientcode&amp;operation=saveHtmlOfferContent&amp;version=1&amp;email=mail id&amp;folderId=&amp;content=<div>somecontent</div>

But when i hit the above api in postman i am get 403 legacy api access denied. May i know how to use this in postman.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ambikaTewari_ATCI

Hi @kishore_kumar_  you can get Offer by offerId through Adobe I/O , for that you need to first set the Adobe Target Integration which will generate you api key and bearer token.

You can use those and get the results:

Refer https://developers.adobetarget.com/api/#get-offer-by-id for the command

Refer https://helpx.adobe.com/in/marketing-cloud-core/kb/adobe-io-authentication-step-by-step.html for the I/O integration.

 

Hope that helps you !

 

Regards,

Ambika

1 reply

ambikaTewari_ATCI
Community Advisor
ambikaTewari_ATCICommunity AdvisorAccepted solution
Community Advisor
July 16, 2020

Hi @kishore_kumar_  you can get Offer by offerId through Adobe I/O , for that you need to first set the Adobe Target Integration which will generate you api key and bearer token.

You can use those and get the results:

Refer https://developers.adobetarget.com/api/#get-offer-by-id for the command

Refer https://helpx.adobe.com/in/marketing-cloud-core/kb/adobe-io-authentication-step-by-step.html for the I/O integration.

 

Hope that helps you !

 

Regards,

Ambika