Skip to Content
0

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

Feb 19 at 11:59 AM

53

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Michael Uhlenberg Jun 05 at 07:37 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded