CountStatus
를 사용하여 다음과 같은 다양한 항목의 집계 상태를 보고합니다.
투표 유형 또는 기명 투표, 개표가 진행 중인지 여부
있습니다 Contest
,
Election
및
GpUnit
항목에 CountStatus
가 포함됩니다.
요소
다음 표에서는 CountStatus
의 요소를 설명합니다.
요소 | 다중성 | 유형 | 설명 |
---|---|---|---|
Status |
1 | CountItemStatus |
개수의 상태입니다. |
Type |
1 | CountItemType |
계산되는 항목의 유형입니다. 광고의 유형이
항목 CountStatus 개가
CountItemType 열거. Type 를 다음으로 설정
other 하고 커스텀 유형을
OtherType 입니다. |
OtherType |
0 또는 1 | string |
Type 이 other 일 때
확인할 수 있습니다. |
예
XML
<CountStatus> <Status>completed</Status> <Type>early</Type> </CountStatus>
<CountStatus> <Status>in-process</Status> <Type>election-day</Type> </CountStatus>
JSON
"CountStatus": [ { "Status": "completed", "Type": "early" } ]
"CountStatus": [ { "Status": "in-process", "Type": "election-day" } ]