POST api/Search
Saves the search history for a user.
Request Information
URI Parameters
None.
Body Parameters
The search history item to be saved.
SearchHistory| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ArchiveId | integer |
None. |
|
| ArchiveGuid | string |
None. |
|
| DialogId | integer |
None. |
|
| DialogName | string |
None. |
|
| SearchFields | Collection of ArchiveFieldItem |
None. |
|
| DateCreated | date |
None. |
|
| UserCreated | string |
None. |
|
| UserCreatedId | integer |
None. |
|
| Version | integer |
None. |
|
| OrgID | integer |
None. |
|
| OrgName | string |
None. |
|
| OrgGuid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ArchiveId": 2,
"ArchiveGuid": "sample string 3",
"DialogId": 4,
"DialogName": "sample string 5",
"SearchFields": [
{
"Displayname": "sample string 1",
"Fieldname": "sample string 2",
"DataType": "sample string 3",
"ValueFrom": {},
"ValueTo": {},
"IsVariable": true,
"IsFulltext": true
},
{
"Displayname": "sample string 1",
"Fieldname": "sample string 2",
"DataType": "sample string 3",
"ValueFrom": {},
"ValueTo": {},
"IsVariable": true,
"IsFulltext": true
}
],
"DateCreated": "2026-09-14T11:18:49.5715239+02:00",
"UserCreated": "sample string 7",
"UserCreatedId": 8,
"Version": 9,
"OrgID": 10,
"OrgName": "sample string 11",
"OrgGuid": "sample string 12"
}
Response Information
Resource Description
An indicating the result of the save operation.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.