Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The 검색 시작을 위한 POST request 요청(see 검색 요청) for search start must contain JSON of one of the following types: 참조)은 다음 유형 중 하나의 JSON을 포함해야 합니다.

  1. 검색 요청에는 세 가지 논리적 부분이 있습니다.

    검색 요청에는 세 가지 논리적 부분이 있습니다.

    1. 요청 유형 (queryType, 요청 유형 및 파라미터 참조)

    2. 지정된 요청 유형에 특화된 매개변수 (숫자, queryProperties, 추가 조건 참조)

    3. 추가 필터 조건 (objectProperties, 조건, 추가 조건 참조)

  2. 메타데이터 데이터베이스 언어로 된 직접 요청

  3. Constructor describing parameters for metadata database request.

    There are three logical parts of the search request:

    1. Request type (queryType, see Types of requests and their parameters).

    2. Parameters specific for the specified type of request (figures, queryProperties, see Additional conditions).

    3. Additional filter conditions (objectProperties, conditions, see Additional conditions).

  4. Direct request in metadata database language.

    Code Block
    {
     "query": "figure fZone=polygon(0.4647676,0.3973333,0.7946027,0.5493333,0.8650675,0.7946666,0.4647676,0.7946666); figure fDir=(ellipses(-10000, -10000, 10000, 10000) -        ellipses(-0, -0, 0, 0));set r = group[obj=vmda_object] { res = or(fZone((obj.left + obj.right) / 2, obj.bottom)) }; result = r.res;"
    }


Note
titleImportant!

입력 JSON에 생성자와 직접 요청 섹션이 모두 포함된 경우, 직접 요청이 우선합니다. If input JSON has both the constructor and the direct request sections, the direct request has higher priority.


Note
titleImportant!

If the body of POST request is empty, then the search will return all alarm intervalsPOST 요청의 본문이 비어 있으면, 검색은 모든 알람 인터벌을 반환합니다.


Info
titleNote

To perform search in offline analytics data, use the following request:offline analytics 데이터에서 검색을 수행하려면 다음 요청을 사용하세요.

Code Block
POST /search/vmda/SERVER-NAME/OfflineAnalytics.c95ad5a581094845995ee28a7f097797/SourceEndpoint.vmda:AVDetector:1/past/future

This request will be performed even if Axxon One archive is removed, but VMDA metadata is saved.

Object ID is to be specified without the hosts/ prefix.

이 요청은 Axxon One 아카이브가 삭제되었더라도 VMDA 메타데이터가 저장되어 있으면 수행됩니다.

객체 ID는 hosts/ 접두사 없이 지정해야 합니다.

유효한 요청: Valid request: /search/vmda/SERVER-NAME/OfflineAnalytics...

Invalid request유효하지 않은 요청: /search/vmda/hosts/SERVER-NAME/OfflineAnalytics...

The search result is the following JSON response:검색 결과는 다음과 같은 JSON 응답입니다.

Code Block
{
	"intervals" : [
		{
			"endTime" : "20210228T124302.313000",
			"positions" : [
				{ 
					"bottom" : 0.60026908397674561, 
					"left" : 0.42527302742004397, 
					"right" : 0.48125132560729983, 
					"top" : 0.50307014942169193 
				}
							],
			"startTime" : "20210228T124256.673000"
		},
		{
			"endTime" : "20210228T124259.513000",
			"positions" : [
				{ 
					"bottom" : 0.45109353065490726, 
					"left" : 0.41891927719116212, 
					"right" : 0.4565316200256348, 
					"top" : 0.34989043235778811 }
							],
				"startTime" : "20210228T124256.673000"
				}
					]
}

where Intervals is a set of time intervals for which the search condition is fulfilled여기서 Intervals는 검색 조건이 충족된 시간 인터벌의 집합입니다.
.