Skip to Content

Integration framework - b1 service calls and service layer call

Hello,

i starting to develop integration scenarios. To acces B1 data, you can use sql call, b1 DI-API Object, B1 DI-API Service, B1 Service Layer (on hana Installations only).

On the HANA Installation i can use the Advanced Restful Client to test the calls.

For example

GET -- https://myhanaserver:50000/b1s/v1/Countries - I get a list of countries

GET -- https://myhanaserver:50000/b1s/v1/CountriesService_GetCountryList - I get a list of Countries too, with less details.

The first example "Countries" is listed in the help section under B1 Service Layer objects.

The second example "CountriesService_GetCountryList" is listed in the help section under B1 DI-API Services.

My question is: this B1 DI-API service call - is this an DI-API call? Or a service layer call? Because the URL is of the HANA-server port 50000 - this is the serverice layer service.

Thank you for explanation

Michael

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 25 at 02:20 PM

    Both are Service Layer calls.

    /Countries handles data form the Entity Country. This endpoint also handles other kind of methods, like POST, PUT, PATCH, DELETE and so on..

    /CountriesService_GetCountryList is a Service it can have some logic in the back and only support one method (POST, not GET as on your question).

    For more understanding regarding Entities and Services, please refer to the Odata Documentation

    Add comment
    10|10000 characters needed characters exceeded