Fortinet black logo

Display all customers

Display all customers

Request

GET https://<ip address>:<port>/fpc/api/customers

Headers

Content-type: application/json

fpc-sid: $FPCSID”

Cookie: JSESSIONID=$FPCSID

Response

[

{

"customerId": 3,

"customerName": "abc",

"address1": "",

"address2": "",

"city": "",

"state": "",

"zip": "",

"phone": "",

"fax": "",

"contactFname": "abc",

"contactLname": "abc",

"contactEmail": "abc@abc.com",

"status": "A",

"totalStorage": 5,

"fpcStorage": 1,

"collectorStorage": 4,

"collectorStoragePercentage": 80,

"fpcStorageUsage": 0,

"collectorStorageUsage": 0,

"locale": "en",

"storageType": "GB",

"analyticsEnabled": "Y"

},

{

"customerId": 2,

"customerName": "Customer1",

"address1": "",

"address2": "",

"city": "",

"state": "",

"zip": "",

"phone": "",

"fax": "",

"contactFname": "Customer",

"contactLname": "one",

"contactEmail": "customer@customer.com",

"status": "A",

"totalStorage": 5,

"fpcStorage": 1,

"collectorStorage": 4,

"collectorStoragePercentage": 80,

"fpcStorageUsage": 8500,

"collectorStorageUsage": 0,

"deviceName": "tenant-2/fgt13/vd3,Adom4/FG_134/root,root/aaa/pravinvd",

"locale": "en",

"storageType": "GB",

"analyticsEnabled": "Y"

}

]

Status : 200 OK

Display all customers

Request

GET https://<ip address>:<port>/fpc/api/customers

Headers

Content-type: application/json

fpc-sid: $FPCSID”

Cookie: JSESSIONID=$FPCSID

Response

[

{

"customerId": 3,

"customerName": "abc",

"address1": "",

"address2": "",

"city": "",

"state": "",

"zip": "",

"phone": "",

"fax": "",

"contactFname": "abc",

"contactLname": "abc",

"contactEmail": "abc@abc.com",

"status": "A",

"totalStorage": 5,

"fpcStorage": 1,

"collectorStorage": 4,

"collectorStoragePercentage": 80,

"fpcStorageUsage": 0,

"collectorStorageUsage": 0,

"locale": "en",

"storageType": "GB",

"analyticsEnabled": "Y"

},

{

"customerId": 2,

"customerName": "Customer1",

"address1": "",

"address2": "",

"city": "",

"state": "",

"zip": "",

"phone": "",

"fax": "",

"contactFname": "Customer",

"contactLname": "one",

"contactEmail": "customer@customer.com",

"status": "A",

"totalStorage": 5,

"fpcStorage": 1,

"collectorStorage": 4,

"collectorStoragePercentage": 80,

"fpcStorageUsage": 8500,

"collectorStorageUsage": 0,

"deviceName": "tenant-2/fgt13/vd3,Adom4/FG_134/root,root/aaa/pravinvd",

"locale": "en",

"storageType": "GB",

"analyticsEnabled": "Y"

}

]

Status : 200 OK