Field Service

Get Involved. Join the Conversation.

Topic

    Dilip Jayachandra
    OFSC To OSvC integration using REST API
    Topic posted April 3, 2018 by Dilip JayachandraBronze Medal: 1,250+ Points 
    85 Views, 6 Comments
    Title:
    OFSC To OSvC integration using REST API
    Content:

    Hello Gurus,

    As per the below document, I am following the steps in the document and have installed cURL. 

    https://docs.oracle.com/en/cloud/saas/field-service/18a/cxfsc/toc.htm

    Now I am trying to authenticate using cURL but I am not sure on how to proceed. Could anyone kindly advise. My requirement is I would like to set up an integration between OFSC and OSvC and I am not using any middleware.

    Regards,

    Navin

    Version:
    Oracle Field Service cloud

    Comment

     

    • Shankar Narayanan

      Hi Navin,

      There are two ways to integrate between OFSC & OSvC. If you want OFSC to send outbound messages to OSvC then you need to work on message scenarios where you trigger the exact message needed by the destination system. The second option is to use events. In events, once a subscription is created, destination system will need to pull information from OFSC on a periodical basis.

      From your description, I believe you are using events & have generated a subscription ID with the curl example provided.

      Thanks

    • Dilip Jayachandra

      Hi Shankar,

      My requirement here is to send the technician's details(phone number) to service cloud. Can I achieve it? If so, how?

      Regards,

      Navin

       

    • Shankar Narayanan
      Yes it is possible. I'm assuming here, you would need this as part of activity completion to better explain & help in achieving your requirement. You can use activity complete subscription where you periodically find the completed jobs and the resource ID is the external id of the technician/resource. Based on resource ID, you can fetch resource info which includes the phone no. Second option is to use message scenario, where you create a delivery channel with OSvC end point where you pass the required values as part of a particular launch condition and in the message placeholder you can give the format of the message along with the particular resource property. I would advice you to read the message scenario configuration guide as it has detailed explanation with steps on how to achieve this simple use case
    • Dilip Jayachandra

      Hi Shankar,

      Thanks for your reply. I would like to be clarified about the second option you have mentioned above. In message scenarios

      i. lets say i have created a delivery channel using OSvC endpoint.

      ii. Now when creating a message scenario, I will select the above mentioned channel in the channel drop down.

      iii. Under patterns tab, i pass the fields to be sent to service cloud in the body of the message patterns

      iv. I use the launch condition as 'Activity Created'

      Are the above steps right?

      Kindly advise.

      Regards,

      Navin

    • Shankar Narayanan

      Yes that's sounds right to me.

    • Dilip Jayachandra

      Hi Shankar,

      I have followed the above process but how would the properties which I send through the message scenario get mapped to service cloud fields or in other words, how will they get updated.

      Regards,

      Navin