Update an Item

Use the following details to update an Item using REST interface:

HTTP Method

PUT

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/item/{id}

Request Parameters

Provide values for the following parameters:

Parameter Name Data Type Mandatory
id string Yes
createdBy string No
createdOn dateTime No
deleted boolean No
endDate dateTime No
id string No
lastUpdatedBy string No
locked boolean No
name string No
ownedBy string No
partyId string No
productId string No
productVersion string No
ref string No
startDate dateTime No
status string No
subType string No
type string No
updatedOn dateTime No
version No

Request Model

Media Type: application/json

{
  "createdBy": "string",
  "createdOn": "2016-07-31T05:17:58.828Z",
  "deleted": true,
  "endDate": "2016-07-31T05:17:58.828Z",
  "id": "string",
  "lastUpdatedBy": "string",
  "locked": true,
  "name": "string",
  "ownedBy": "string",
  "partyId": "string",
  "productId": "string",
  "productVersion": "string",
  "ref": "string",
  "startDate": "2016-07-31T05:17:58.828Z",
  "status": "string",
  "subType": "string",
  "type": "string",
  "updatedOn": "2016-07-31T05:17:58.828Z",
  "version": 0
}

Response Model

{
  "data": {
    "createdBy": "string",
    "createdOn": "2016-07-31T05:17:58.956Z",
    "deleted": true,
    "endDate": "2016-07-31T05:17:58.956Z",
    "id": "string",
    "lastUpdatedBy": "string",
    "locked": true,
    "name": "string",
    "ownedBy": "string",
    "partyId": "string",
    "productId": "string",
    "productVersion": "string",
    "ref": "string",
    "startDate": "2016-07-31T05:17:58.956Z",
    "status": "string",
    "subType": "string",
    "type": "string",
    "updatedOn": "2016-07-31T05:17:58.956Z",
    "version": 0
  },
  "duration": 0,
  "result": {
    "code": "string",
    "message": "string",
    "params": [
      "string"
    ]
  },
  "startTimestampMS": 0
}

Response Codes and Descriptions

Response Code Description
201 Created
401 Unauthorized
403 Forbidden
404 Not Found