API Documentation

Last Update: 28 December 2022

POST api/FortigateVPN



Request Information


URI Parameters

None.


Body Parameters
FortigateVPNTunnel
Name Description Type Additional information
ID

integer

None.

Index

integer

None.

Phase1Name

string

None.

Phase2Name

string

None.

RemoteGatewayIP

string

None.

RemoteGatewayPort

integer

None.

LocalGatewayIP

string

None.

LocalGatewayPort

integer

None.

SelectorSrcBeginIP

string

None.

SelectorSrcEndIP

string

None.

SelectorSrcPort

integer

None.

SelectorDstBeginIP

string

None.

SelectorDstEndIP

string

None.

SelectorDstPort

integer

None.

SelectorProto

integer

None.

Lifetime

integer

None.

Timeout

integer

None.

VPNType

integer

None.

Status

string

None.

RecordStatus

integer

None.

Request Formats
application/json, text/json
Sample:
{
  "ID": 1,
  "Index": 2,
  "Phase1Name": "sample string 3",
  "Phase2Name": "sample string 4",
  "RemoteGatewayIP": "sample string 5",
  "RemoteGatewayPort": 6,
  "LocalGatewayIP": "sample string 7",
  "LocalGatewayPort": 8,
  "SelectorSrcBeginIP": "sample string 9",
  "SelectorSrcEndIP": "sample string 10",
  "SelectorSrcPort": 11,
  "SelectorDstBeginIP": "sample string 12",
  "SelectorDstEndIP": "sample string 13",
  "SelectorDstPort": 14,
  "SelectorProto": 15,
  "Lifetime": 16,
  "Timeout": 17,
  "VPNType": 18,
  "Status": "sample string 19",
  "RecordStatus": 20
}

Response Information


Resource Description
FortigateVPN
Name Description Type Additional information
ID

integer

None.

ReportDate

date

None.

HostID

integer

None.

Index

integer

None.

Phase1Name

string

None.

Phase2Name

string

None.

RemoteGateway

string

None.

RemoteGatewayPort

integer

None.

LocalGateway

string

None.

LocalGatewayPort

integer

None.

SelectorSrcBegin

string

None.

SelectorSrcEnd

string

None.

SelectorSrcPort

integer

None.

SelectorDstBegin

string

None.

SelectorDstEnd

string

None.

SelectorDstPort

integer

None.

SelectorProto

integer

None.

Lifetime

integer

None.

Timeout

integer

None.

VPNType

integer

None.

Status

string

None.

RecordStatus

integer

None.

Response Formats
application/json, text/json
Sample:
{
  "ID": 1,
  "ReportDate": "2024-11-21T06:28:28.3902244+00:00",
  "HostID": 3,
  "Index": 4,
  "Phase1Name": "sample string 5",
  "Phase2Name": "sample string 6",
  "RemoteGateway": "sample string 7",
  "RemoteGatewayPort": 8,
  "LocalGateway": "sample string 9",
  "LocalGatewayPort": 10,
  "SelectorSrcBegin": "sample string 11",
  "SelectorSrcEnd": "sample string 12",
  "SelectorSrcPort": 13,
  "SelectorDstBegin": "sample string 14",
  "SelectorDstEnd": "sample string 15",
  "SelectorDstPort": 16,
  "SelectorProto": 17,
  "Lifetime": 18,
  "Timeout": 19,
  "VPNType": 20,
  "Status": "sample string 21",
  "RecordStatus": 22
}