PUT {bucket}/listitem/restore
Restores the archived entity.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bucket |
The couchbase bucket version |
string |
Required |
Body Parameters
The entity model, given via the body and containing the last entity state + the mandatory UpdatedBy user
ListItemModelName | Description | Type | Additional information |
---|---|---|---|
Family | string |
None. |
|
Code | string |
None. |
|
Label | string |
None. |
|
Value | string |
None. |
|
SortOrder | integer |
None. |
|
ParentId | unsigned integer |
None. |
|
Level | integer |
None. |
|
Enabled | boolean |
None. |
|
EventInfoList | Collection of EventInfoModel |
None. |
|
Uid | unsigned integer |
None. |
|
Type | string |
None. |
|
Created | date |
None. |
|
Updated | date |
None. |
|
Archived | date |
None. |
|
CreatedBy | string |
None. |
|
UpdatedBy | string |
None. |
|
ArchivedBy | string |
None. |
|
Version | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Family": "sample string 1", "Code": "sample string 2", "Label": "sample string 3", "Value": "sample string 4", "SortOrder": 1, "ParentId": 1, "Level": 1, "Enabled": true, "EventInfoList": [ { "ListEventActionId": 1, "ChuckNorrisId": 1, "Response": { "EventId": 1, "ErrorMessage": "sample string 1" } }, { "ListEventActionId": 1, "ChuckNorrisId": 1, "Response": { "EventId": 1, "ErrorMessage": "sample string 1" } } ], "Uid": 1, "Type": "sample string 5", "Created": "2025-01-11T00:15:17.859453+01:00", "Updated": "2025-01-11T00:15:17.859453+01:00", "Archived": "2025-01-11T00:15:17.859453+01:00", "CreatedBy": "sample string 6", "UpdatedBy": "sample string 7", "ArchivedBy": "sample string 8", "Version": 1 }
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.