Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Access the data service using CRUD operations

Open a command prompt execute the following CURL commands using CRUD operations:

  • To get the service document:

    Code Block
    curl -X GET -H 'Accept: application/json' https://10.100.5.65localhost:9443/servicesodata/dataservice/DatasourceID
  • To get the metadata of the service:

    Code Block
    curl -X GET -H 'Accept: application/xml' https://10.100.5.65localhost:9443/servicesodata/dataservice/DatasourceID/$metadata
  • To read details from the ACCOUNT table:

    Code Block
    curl -X GET -H 'Accept: application/xml' https://10.100.5.65localhost:9443/servicesodata/dataservice/DatasourceID/ACCOUNT