Skip to Content

How to get MyAccount details in c4c OData Services ?

Hi Cloud Experts,

I got a requirement to get My Accounts details in OData Services like we get this in C4C based on the user logged in they will get My Account details as displayed in below image.

So same thing i want to get in OData service, i want to know the flow to reach My account details.

Kindly help me in this..

Thanks,

Siraj.

ODataMyAccount.PNG (92.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Aug 17, 2015 at 03:17 PM

    Hi Siraj

    Does HCP have some tutorials on how to create the widgets? You design the UI in HCP and call our odata service to get the data. Have you tried designing any widgets yet?

    @Prabhat Raman Former Member - can you help or guide or have someone from HCP help Siraj get started on widget design?

    -ginger

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 17, 2015 at 10:33 PM

    Hello Siraj

    pl make use of right filters in odata service to get the same results as you get in MyAccount.

    MyAccount shows the given results either because of Territory is scope in your tenant or you are the owner of the account, or ...

    so pl check the C4C system scope.

    for OData service to return the same result, you need to formulate the right query like (example)

    https://<c4c tenant>/sap/byd/odata/v1/c4codata/AccountCollection?$OwnerID=xyz

    Prabhat

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.