Marketing Preference XAPI

(0 reviews)

OPRS Scholar One to Salesforce Integration

  • Vision: OPRS Rejected Articles details post to Salesforce Object End User Person Account.
  • Scholar One Notification Service: OPRS Notification Service sends rejected articles metadata information to Subscribers, which contains Document Id and Site name.
  • Scholar One API Document

Sequence Diagram:

resources/OPRS%20%282%29-c8b0a6c8-324d-4e37-a810-be81c562d7fc.png


Sequence Diagram Description:

No.StepsDescription
1.Rejected article detailsThe OPRS Notification Service, POST rejected Articles Details in query params (Document Id and Site Name) to MuleSoft Rest API
2.Get Submission, Author and Person DetailsMarketing preference experience API Request to Scholar One API to retrieve the Submission, Author, Person data
3.Response Submission, Author and Person DetailsReturns the success response to MuleSoft along with Submission, Author and Person data.
4.Validate if person is opted-inProcess the payload is person is Opted-in.
5.Validate if either Email ID or ORC ID suppliedValidate Email ID or ORC ID should be present, If validation fails, service returns specific error response.
6.Response Message AcceptedOn successful validation API sends accepted response to client.
7.Post Account and Preference DetailsThe MuleSoft experience API Post account and preference details to marketing preference process API.
8.Create or Update End User Person AccountMarketing preference process API validates if record exist in salesforce, accordingly, sends PUT or POST call to downstream Salesforce system API.
9.Feed End User Person Accounts dataSalesforce SAPI creates or updates End User Person Account feed.
10.1Success Response Create or UpdateSalesforce SAPI responds back to caller API with success details in JSON format
11.1Failure Response Create or UpdateSalesforce SAPI responds back to caller API with exception details in JSON format.
11.2POST Data Feed ExceptionSalesforce SAPI transform the exception details and feed the details back to Salesforce Data Feed Exception object.
12.Return response from Salesforce System APIReturns the success response to marketing preference process API.
13.Return response from marketing preference process APIReturns the success response to marketing preference experience API.

End Point details:

  • OPRS - Scholar One Articles : /api/scholarOneArticles
TopicDetails
1.Operation DescriptionAccept the request in Json format and sent it salesforce System via Market preference papi
2.URI/api/scholarOneArticles
3.MethodGET
3.Interface SourceOPRS
4.Interface TargetSalesforce System
5.Synchronous/AsynchronousSynchronous
6.ProtocolHTTPS
7.URLhttps://apis-sandbox.cambridgeassessment.org.uk/cupa-marketing-preference-xapi-dev/api/scholarOneArticles
8.Mode of Communication☐ Batch ☐ Message ☒ Real Time
9.Interface Pattern☐ Publish / Subscribe ☒ Request / Reply

Reviews