cancel
Showing results for 
Search instead for 
Did you mean: 

SPM - How to add catalog, products... to your store

Former Member
0 Kudos

Hello,

I have created a store, a campaign and an offer following the steps of the SPM Portal Tutorial :

I was able to see the offer on my mobile just by using the app I created for Android, following the SDK Android Tutorial :

Now I would like to know how to add stuff to my store. I'm trying to do it using the SAP Precision Marketing Partner Services API :

http://help.sap.com/businessobject/product_guides/SAPpm20/en/2_0_spm_partner_api_en.pdf

, by sending Rest Requests to the server: https://sprpartnerapisstaging.hana.ondemand.com. I managed to get a transactionid, but at this point I'm completely lost. I would like to know:

- Is the rest request call method the only way to add stuff (products, catalogs) to the store, or is there an easier way?

- Is the encryptation method (1- sha1 hash code, 2- base64 RSA,...) necessary to perform any request?

- If the answer to the two previous questions is yes, I would appreciate an example of the whole process of sending a rest request: encryptation, attachment to the request, etc.

Thanks a lot for your time, I know this is a bit long but I'm new in SPM and I'm a bit lost. Any answer will be welcome.

Best regards,

Gonzalo.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I published a couple of tutorials to help you and others get through the first steps of Using the partner API.

you can find them here:

    

    

To directly answer your questions:

- Is the rest request call method the only way to add stuff (products, catalogs) to the store, or is there an easier way?

yes, the Partner API is currently (as of version 2.5) the only way to add items like catalog and products. Some artefacts like campaigns and offers can be created via the Partner portal interface in addition to the Partner API.

- Is the encryptation method (1- sha1 hash code, 2- base64 RSA,...) necessary to perform any request?

No,  this is only one of the 2 request methods, I recommend you use the developer-ID with secret method that is simpler to implement for developers to get started, this method is described in details in the links I shared above.