POST public-api/sites/advancedinfosearch
This method returns a page full of active sites given a precise set of search, sort or filter criteria. It's a paging API so this is meant to be called with a smaller number (ca 100) or records to fetch, repeatedly, until you get them all. It requires the Allow Site permission and enforces Role Site restriction. Note: This is a Post API to avoid limitations inherent to passing parameters on the URL.
Request Information
URI Parameters
None.
Body Parameters
AdvancedSearchParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalCountFromPriorFetch | integer |
None. |
|
| AdditionalSkipCount | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageNumber | integer |
None. |
|
| Sort | Collection of Object |
None. |
|
| Filter | TopLevelFilterType |
None. |
|
| ClientUtcOffset | TimeZoneInfoId |
None. |
|
| FilterBehavior | FilterBehaviorFlags |
None. |
|
| IgnoreAttachments | boolean |
None. |
|
| IgnoreGeoLocation | boolean |
None. |
|
| WorkingSiteIdCsvList | string |
None. |
Request Formats
application/json
Sample:
{
"_sortCriteria": [],
"TotalCountFromPriorFetch": 1,
"AdditionalSkipCount": 1,
"PageSize": 2,
"PageNumber": 3,
"Filter": {
"$id": "1",
"field": "sample string 1",
"operator": "sample string 2",
"value": {},
"logic": "sample string 4",
"filters": []
},
"ClientUtcOffset": null,
"FilterBehavior": 0,
"IgnoreAttachments": true,
"IgnoreGeoLocation": true,
"WorkingSiteIdCsvList": "6"
}
Response Information
Resource Description
WaspResultOfListOfSiteModelInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of SiteModelInfo |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
Sample:
{
"Data": [
{
"RowNumber": 1,
"SiteName": "sample string 2",
"SiteDescription": "sample string 3",
"LocationCount": 4,
"SiteRecordStatus": 0,
"SiteNotes": "sample string 5",
"AccessAllCatgories": true,
"AllSiteNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:32:19.4573821+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:32:19.4573821+00:00",
"UserLogon": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-07-25T02:32:19.4573821+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-07-25T02:32:19.4573821+00:00",
"DcfValueRecordStatus": 0
}
],
"AllowedCategories": [
"sample string 1",
"sample string 2"
],
"LastUpdated": "2026-07-25T02:32:19.4573821+00:00"
},
{
"RowNumber": 1,
"SiteName": "sample string 2",
"SiteDescription": "sample string 3",
"LocationCount": 4,
"SiteRecordStatus": 0,
"SiteNotes": "sample string 5",
"AccessAllCatgories": true,
"AllSiteNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:32:19.4573821+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:32:19.4573821+00:00",
"UserLogon": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-07-25T02:32:19.4573821+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-07-25T02:32:19.4573821+00:00",
"DcfValueRecordStatus": 0
}
],
"AllowedCategories": [
"sample string 1",
"sample string 2"
],
"LastUpdated": "2026-07-25T02:32:19.4573821+00:00"
}
],
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}