HTTP PUT

The PUT method is used to create a new resource.

URL Pattern

https://localhost:8443/ems/v90/ws/<RootObjectType>/<Root Object Id>/<Object Type>

Example

For:

<RootObjectType> = vendor

<RootObjectId> = 1

<ObjectType> = Product

the URL becomes:

https://localhost:8443/ems/v90/ws/vendor/1/product.ws

This request will create a Product for vendor ID = 1. In the request body, provide a valid input XML (validated by the XSD provided).

NOTE   By REST convention, repeated HTTP PUT requests should replace existing objects. However, Sentinel LDK-EMS does not allow the complete replacement of any object because, internally, it uses an Auto-ID, which cannot be updated.