SAP Knowledge Base Article - Public

3407912 - Visits details not displayed in OData Service Visit Collection

Symptom

The details of Visit Duration and Attendee not displayed in standard OData Service with visit collection.

Environment

SAP Cloud for Customer.

Reproducing the Issue

  1. Go to Visits work center view.
  2. Open any visit and go to TI view.
  3. There is a standard facet named Attendees.
  4. The data in Attendees EC and visit duration not displayed in standard OData https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/VisitCollection.

Cause

The Attendees data saved in VisitPartycollection service. And for the visit duration, the start date and end date are given along with time. There is no duration field in entity field directly.

Resolution

Check the related data in OData Service https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/VisitPartyCollection.

Keywords

Visits, Attendees, Visit Duration, OData, VisitCollection, VisitPartyCollection, OData Service , KBA , LOD-CRM-INT-API , OData API (C4C Only) , Problem

Product

SAP Cloud for Customer core applications all versions