Update a Party

Use the following details to update a Party using REST interface:

HTTP Method

PUT

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/party/{id}

Request Parameters

Provide values for the following parameters:

Data Type Mandatory
id string Yes
createdBy string No
createdOn dateTime No
deleted boolean No
id string No
lastUpdatedBy string No
locked boolean No
name string No
ownedBy string No
parentPartyId string No
ref string No
sid No
status string No
subType string No
type string No
updatedOn dateTime No
version No
Parameter Name Parameter Description

Request Model

Media Type: application/json

{
  "createdBy": "string",
  "createdOn": "2016-07-31T05:17:58.828Z",
  "deleted": true,
  "id": "string",
  "lastUpdatedBy": "string",
  "locked": true,
  "name": "string",
  "ownedBy": "string",
  "parentPartyId": "string",
  "ref": "string",
  "sid": 0,
  "status": "string",
  "subType": "string",
  "type": "string",
  "updatedOn": "2016-07-31T05:17:58.843Z",
  "version": 0
}

Response Model

{
  "data": {
    "createdBy": "string",
    "createdOn": "2016-07-31T05:17:59.056Z",
    "deleted": true,
    "id": "string",
    "lastUpdatedBy": "string",
    "locked": true,
    "name": "string",
    "ownedBy": "string",
    "parentPartyId": "string",
    "ref": "string",
    "sid": 0,
    "status": "string",
    "subType": "string",
    "type": "string",
    "updatedOn": "2016-07-31T05:17:59.056Z",
    "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