Field Service

Get Involved. Join the Conversation.

Topic

    Mohana Gopal Selvam
    Enable APIAnswered
    Topic posted October 21, 2019 by Mohana Gopal SelvamSilver Crown: 22,500+ Points 
    38 Views, 10 Comments
    Title:
    Enable API
    Content:

    Hi,

    I have enabled the APIs in Configuration - Application. But I got the below error. Do I need to enable any other services?

    {
    "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
    "title": "Forbidden",
    "status": "403",
    "detail": "Authentication was provided, but the authenticated user is not permitted to perform the requested operation."
    }
     
    Thanks,
    Mohan
    Version:
    19C
    Image:

    Best Comment

    Zsolt Tolgyesi

    For the authentication, I propose to follow Oracle guidance about OAUTH 2.0 & token way:
    https://docs.oracle.com/en/cloud/saas/field-service/19c/cxfsc/OFSC_Configuring_OAuth_2_0_Authentication.html
    This "Activity Management API" is not the one which you need to set, because you like to use Core API / Activity RO. Please change the configuration for this user to see API access, Core API, Activity: Read-only in the screen top right part. Points 3, 4 and 5 aren't okay.
    Get activities example is https://docs.oracle.com/en/cloud/saas/field-service/19c/cxfsc/op-rest-ofsccore-v1-activities-get.html for Core API.

    I plan this is as my last message here, because it's takes much more time than I can spare and it's almost impossible to fully teach someone with this way. Read the documentation through carefully, try the examples and read this post again.
    Zsolt

    Comment