Document Properties
Kbid
277K87
Last Modified
31-May-2022
Added to KB
20-Jul-2016
Public Access
Everyone
Status
Online
Doc Type
References
Product
  • IOM 2.0
  • IOM 2.1
  • IOM 2.2
  • IOM 2.9
  • IOM 2.16
  • IOM 2.17
  • IOM 3.0
  • IOM 3.1
  • IOM 3.2
  • IOM 3.3
  • IOM 3.4
  • IOM 3.5
  • IOM 3.6
  • IOM 3.7
  • IOM 4.0
  • IOM 4.1
  • IOM 4.2

IOM REST API - Remove Stock Reservation

URI

servlets/services/reservation/<resvId>

Http Method

DELETE

Short Description

Remove a stock reservation.

Query Parameters

none

Example Requests

http://10.17.0.245:8080/servlets/services/reservation/115

HTTP Status Codes

  • 204 No Content
    Stock reservation suspenseful removed
  • 400 Bad Request
    there is no reservation in the OMS system for parameter resvId

  • 401 Unauthorized

  • 404 Not Found

  • 500 Internal Server Error

Description

Remove Stock Reservation - API

Used by shop systems to delete an existing stock reservation from the IOM system.

Parameters  Path parameter resvId = ID of the stock reservation to be deleted

Product Version

1.1

Product To Version

 
Status

New Labels

Authorization

IOM supports "basic http authentication" only. Please configure your clients to use this authentication method. A very simple method to send REST requests on the command line can be realized using wget. The example also shows, how to configure this client to use "basic http authentication" (--auth-no-challenge).

 

wget -q -O- --auth-no-challenge  --http-user=<user> --http-password='<password>' \
--method=delete http://<hostname>/servlets/services/reservation/115
It is Important that the permission REST_RESERVATION (oms.RightDefDO with ID = 124 and name "Reservation REST service") is assigned to the requesting user. The permission is a part of the class bakery.persistence.dataobject.configuration.common.RightDefDO.
The user also needs the permission for the OMS shop instance which relates to the requested stock reservation.

JSON

Request data format

No Content

Request related java object

n/a

Request data example

n/a

Response data format

No Content

Response related java object

n/a

Response data example

n/a
Response Code204

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets