Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /user/guest-template/count/all

Get /user/guest-template/count/all

Description

Returns the count of all guest template records in the database.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/user/guest-template/count/all

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"name": "string",

"visitorType": 0,

"canSendEmail": true,

"canSendSMS": true,

"role": "string",

"policy": "string",

"userNameFormat": 0,

"passwordLength": 0,

"reauthenticationPeriod": 0,

"aupURL": "string",

"aupIP": "string",

"successURL": "string",

"successIP": "string",

"passwordExclusions": "string",

"dataFields": "string",

"state": "string",

"version": 0,

"authType": 0,

"authServer": 0,

"regType": 0,

"weeklySchedule": {

"version": 0,

"startTimeOfDay": 0,

"endTimeOfDay": 0,

"daysOfWeek": 0,

"validTime": true,

"alwaysOn": true,

"startTimeOfDayAM": true,

"endTimeOfDayAM": true,

"startTimeOfDayHours": 0,

"endTimeOfDayHours": 0,

"startTimeOfDayMinutes": 0,

"endTimeOfDayMinutes": 0

},

"terminateAtEndOfDay": true,

"printedNote": "string",

"maxConferenceAttendees": 0,

"accountDuration": 0,

"accountDurationFromLogin": true,

"ncmPropagateHosts": true,

"lastModifiedBy": "string",

"lastModifiedDate": "2024-04-09T17:01:25.282Z",

"guid": 0,

"globalModifiedDate": "2024-04-09T17:01:25.282Z",

"sendPasswordSeparately": true,

"authTypeName": "string",

"loginAvail": "string",

"loginAvailJSON": "string",

"visitorTypeName": "string"

}

],

"filtered": 0,

"total": 0

}

Get /user/guest-template/count/all

Get /user/guest-template/count/all

Description

Returns the count of all guest template records in the database.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/user/guest-template/count/all

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"landscape": 0,

"id": 0,

"name": "string",

"visitorType": 0,

"canSendEmail": true,

"canSendSMS": true,

"role": "string",

"policy": "string",

"userNameFormat": 0,

"passwordLength": 0,

"reauthenticationPeriod": 0,

"aupURL": "string",

"aupIP": "string",

"successURL": "string",

"successIP": "string",

"passwordExclusions": "string",

"dataFields": "string",

"state": "string",

"version": 0,

"authType": 0,

"authServer": 0,

"regType": 0,

"weeklySchedule": {

"version": 0,

"startTimeOfDay": 0,

"endTimeOfDay": 0,

"daysOfWeek": 0,

"validTime": true,

"alwaysOn": true,

"startTimeOfDayAM": true,

"endTimeOfDayAM": true,

"startTimeOfDayHours": 0,

"endTimeOfDayHours": 0,

"startTimeOfDayMinutes": 0,

"endTimeOfDayMinutes": 0

},

"terminateAtEndOfDay": true,

"printedNote": "string",

"maxConferenceAttendees": 0,

"accountDuration": 0,

"accountDurationFromLogin": true,

"ncmPropagateHosts": true,

"lastModifiedBy": "string",

"lastModifiedDate": "2024-04-09T17:01:25.282Z",

"guid": 0,

"globalModifiedDate": "2024-04-09T17:01:25.282Z",

"sendPasswordSeparately": true,

"authTypeName": "string",

"loginAvail": "string",

"loginAvailJSON": "string",

"visitorTypeName": "string"

}

],

"filtered": 0,

"total": 0

}