Register   |  Login             

SCP API DETAILS

Report alarm category


get : /report/alarmcate/findAlarmCateByMonth/{userId}

get

Description

Find alarm category by month

Response Model
                            {
	 total (integer): The total number of records,
     errorCode (integer): Error code,
	 errorDesc (string): Error description,
     listAlarm: [
		{
			mtime (string): Time,
			listBase : [
				{
					alarmCategoryId (long): Alarm category id,
					alarmCategoryName (string): Alarm category name,
					total (long): Total count
				}
			]
		}
	]
}
                        
Parameters
Parameter Description Parameter Type Data Type
userId User id path Long
cateId Alarm category id query Long
month Month (MM/yyyy) query String
start Recordings started query Integer
total Get the number of records query Integer
get : /report/alarmcate/findAlarmCateByRange/{userId}

get

Description

Find alarm category by range

Response Model
                            {
	 total (integer): The total number of records,
     errorCode (integer): Error code,
	 errorDesc (string): Error description,
     listAlarm: [
		{
			mtime (string): Time,
			listBase : [
				{
					alarmCategoryId (long): Alarm category id,
					alarmCategoryName (string): Alarm category name,
					total (long): Total count
				}
			]
		}
	]
}
                        
Parameters
Parameter Description Parameter Type Data Type
userId User id path Long
cateId Alarm category id query Long
fromDate From the date (dd-MM-yyyy) query String
start Recordings started query Integer
toDate Go to date (dd-MM-yyyy) query String
total Get the number of records query Integer
get : /report/alarmcate/findAlarmCateByYear/{userId}

get

Description

Find alarm category by year

Response Model
                            {
	 total (integer): The total number of records,
     errorCode (integer): Error code,
	 errorDesc (string): Error description,
     listAlarm: [
		{
			mtime (string): Time,
			listBase : [
				{
					alarmCategoryId (long): Alarm category id,
					alarmCategoryName (string): Alarm category name,
					total (long): Total count
				}
			]
		}
	]
}
                        
Parameters
Parameter Description Parameter Type Data Type
userId User id path Long
cateId Alarm category id query Long
year Year query String
get : /report/alarmcate/getAllCate/{userId}

get

Description

Get all alarm category

Response Model
                            {
	errorCode (integer): Error code,
	errorDesc (string): Error description,
	listAlarmCategoty : [
		{
			id (long): Id of alarm category,
		    name (string): Alarm category name,
			code (string): Alarm category code,
	     	status (short): Alarm category status,
			description (string): Alarm category description,
			createddate (string): Created date,
			lastmodifydate (string): Last modify date
		}
	]
}
                        
Parameters
Parameter Description Parameter Type Data Type
userId User id path Long
severity Severity query String
Contact Information

Vietnam Post and Telecommunication Industry Technology (VNPT Technology)

Tel
Fax
Address
(+84) 4 3748 0922
(+84) 4 3748 0925
No. 124 Hoang Quoc Viet Street, Nghia Tan Ward, Cau Giay District, Hanoi
Introduction

•      VNPT Technology Introduction
•      SCP Introduction

Partners

•      Introduction
•      Certification process

Developers

•      SCP Discovery
•      APIs
•      Guideline Documents
•      Libraries

Legal

•      Terms of use
•      Privacy Policy
•      License Agreement

Copyright © 2017 VNPT Technology. All rights reserved.