Post /user/guest-template/{id}
Description
Updates an existing guest template record in the database.
Request Parameter
Id, the guest template record DBID.
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 |
POST https://10.106.94.152:8443/api/v2/user/guest-template/2 |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "landscape": 0, "id": 2, "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:54:38.815Z", "guid": 0, "globalModifiedDate": "2024-04-09T17:54:38.815Z", "sendPasswordSeparately": true, "authTypeName": "string", "loginAvail": "string", "loginAvailJSON": "string", "visitorTypeName": "string" } |
Sample Response
{
"status": "string",
"errorMessage": "string"
}