{ "opencollection": "1.0.0", "info": { "name": "Oracle EBS e-Commerce Gateway Accounts Payable Authentication API", "version": "12.2.0" }, "items": [ { "info": { "name": "Authentication", "type": "folder" }, "items": [ { "info": { "name": "Authenticate and Obtain Access Token", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.oracle.com/webservices/rest/login", "headers": [ { "name": "Accept-Language", "value": "en-GB,en-US;q=0.8,en;q=0.6" }, { "name": "Content-Type", "value": "" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Authenticates a user using HTTP Basic Authentication and returns a session access token for subsequent REST service calls. The access token is returned both as a cookie and in the response body." }, { "info": { "name": "Initialize Application Context", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.oracle.com/webservices/rest/initialize", "headers": [ { "name": "Accept-Language", "value": "en-GB,en-US;q=0.8,en;q=0.6" }, { "name": "Content-Type", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "accessToken", "value": "{{accessToken}}", "placement": "query" } }, "docs": "Initializes the application context including responsibility, security group, and organization for the authenticated session. Must be called after login and before invoking any custom REST services." }, { "info": { "name": "Terminate Session and Invalidate Token", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.oracle.com/webservices/rest/logout", "auth": { "type": "apikey", "key": "accessToken", "value": "{{accessToken}}", "placement": "query" } }, "docs": "Logs out the current user and invalidates the session access token. Should be called when the client is finished making REST service calls." } ] } ], "bundled": true }