Fortinet black logo

Create a new site

Create a new site

This example shows how to create a new site for the customer with ID.

Request

POST https://<ip address>:<port>/fpc/api/customers/1/sites

Headers

Content-type: application/json

fpc-sid: $FPCSID

Cookie: JSESSIONID=$FPCSID

Payload

{

“networkName” : “site1”,

“contactName” : “Peter”,

“contactEmail” : peter@fortinet.com,

“contactPhone” : “408-235-7700”

“fpcDeviceModels”: [ {"deviceId" : 3},{"deviceId" : 2}]

}

Response

Status : 200 OK

{

“networked” : 5

}

Create a new site

This example shows how to create a new site for the customer with ID.

Request

POST https://<ip address>:<port>/fpc/api/customers/1/sites

Headers

Content-type: application/json

fpc-sid: $FPCSID

Cookie: JSESSIONID=$FPCSID

Payload

{

“networkName” : “site1”,

“contactName” : “Peter”,

“contactEmail” : peter@fortinet.com,

“contactPhone” : “408-235-7700”

“fpcDeviceModels”: [ {"deviceId" : 3},{"deviceId" : 2}]

}

Response

Status : 200 OK

{

“networked” : 5

}