Skip to Content

Access to Association of each Node via Odata

Hi everyone,

I have a problem with syntax of custom ODATA in C4C.
We have created a custom ODATA that is related to ServiceRequest, like beloq

I need to access to ServiceRequestItem Association in order to find the Items of each Ticket, But I can not access to it.

can anyone help me to find how can I get it??

How should be the URL?

Regards
Sin

odata.png (36.2 kB)
odata-item.png (39.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 27, 2017 at 10:35 AM

    Hi Sin,

    The URL looks good as OData Console automatically fetches the URL once you select any Collection.

    I would recommend you to test the same URL in Google Chrome Browser or in the POSTMAN tool.

    If you are still facing the issue then you can report an incident to SAP and we will further check the service created by you.

    You can also try accessing ServiceRequestItemCollection using the standard service 'c4codata' in OData service Explorer


    Regards,

    Anurag Nath

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Anurag,

      Thanks for your reply. I have tried also with POSTMAN, was the same.
      Is empty, will not return any Item, although if I am using ServiceRequestedItemCollection. Can not find any Item.

      Thanks For your help.
      Sin