Skip to main content

Our IFS cloud deployment of 23R2 is working fine. I’ve been using the OData APIs to build integrations with external software. So far, all of the paths I have used are for projections, with some form of:


/main/ifsapplications/projection/v1/CustomerOrderHandling.svc

However now I’m trying to use some entity paths like this:

/int/ifsapplications/entity/v1/CustomerOrderEntity.svc

These are failing with this response:
 

{

  error: {

    code: "ODP_SERVICE_IS_NOT_ACTIVE",

    message: "Service is not active."

  }

}

Anyone know how to resolve this?

Thanks,

-Chris

hi Chris,

You have to enable them in IFS they are disabled by default

 

https://docs.ifs.com/techdocs/24r1/040_tailoring/300_extensibility/020_api_explorer/010_navigate/#entity_service_administration

 

 

 

 

@kvbe Now that the entity endpoint I needed is activated, I’m getting this error:

  "error": {
    "code": "SE_UNAUTHORIZED",
    "message": "Insufficient privileges.",
    "internal": 2
  }

Even though it appears that the service account associated with my IAM client has all permissions. Any tips on what would be missing? I’m currently trying to access this entity service:

CustomerOrderChargeEntity.svc/CustomerOrderChargeSet

 


I'm having the same problem with another service and I don't know why, even though everything seems fine as far as rights are concerned. In my case, I'm able to query the data but not create it with the POST method.
Have you solved your problem? If so, could you please explain how?


I am replying to my message. My problem apparently came not from a problem of user rights privilege but rather from my json file format which was apparently not correct since following new tests it works without problem.


Just like Chris described above, I see the error "SE_UNAUTHORIZED" when accessing an entity-service and I am at a loss.

The API is enabled, permissions are correct and there is nothing wrong with the JSON-payload.

Does anyone know what else might be the problem?


Reply