Skip to Content
avatar image
Former Member

How do I get in odata from Visit/Activities to Surveys?

Hi, there are (among others) two c4c odata "realms" or "namespaces": sap/c4c/odata/v1/c4codata and sap/c4c/odata/v1/survey. The $metadata for the first shows me e.g. VisitCollection, the $metadata for the second shows me e.g. SurveyCollection, QuestionCollection, QuestionAttachmentCollection etc. In the C4C UI I can follow a chain Customers / Accounts / Visits / Surveys, but can I do the same with Odata requests? I see no references from one "realm" into the other.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 05 at 07:37 AM

    Some dependencies I found by myself in the meantime are:

    Visit.AccountUUID = Account.UUID

    TaskCollection.ID = Visit.VisitReference.ID for VisitReferences with TypeCode 542

    SurveyCollection.ID = Visit.VisitReference.ID for VisitReferences with TypeCode 1876

    Task.OwnerUUID = Visit.OrganizerUUID

    Add comment
    10|10000 characters needed characters exceeded