GET and POST Services
The following table shows the HTTP methods and their supported operations in OneData.
Method | Supported Operation |
GET | Data retrieval. By default, GET retrieves data from the Release area. To retrieve data from the Work area, use the request parameter schema_id. For information about schema_id, see Using Filters in REST Services. |
POST | Data modification such as INSERT, UPDATE, DELETE (including RESTORE and PURGE). |
PUT | Not supported. |
DELETE | Not supported. |
OneData recommends enabling SSL, but it is not mandatory. The services use the BASIC authentication scheme, which accepts a OneData username and a hashed user password for authentication. There is no change in the authentication mechanism used for the different method type. To determine authentication and authorization for an anonymous user, OneData uses the privileges defined in the system properties file.
To use the anonymous user account, type anonymous as the user name login (no password is required). To determine authentication and authorization for an anonymous user, OneData uses the privileges defined in the system properties.
Note: | REST web services do not support multi-select and BLOB columns. The REST web service supports the CLOB column in the POST web service but not in the GET service. |