Customers ADOM list
GET example
Request
GET http://localhost:8080/fpc/api/customers/1/adoms
Headers
accept: application/json
content-type: application/json
fpc-sid: $FPCSID
Cookie: fpc-jsessionid=$FPCSID
Response
{
"id": 1,
"customerId": 1,
"adoms": [
"Forti/Adom4_Test",
"Forti/Adom3_Test"
]
}
POST example (update domains)
Request
POST http://localhost:8080/fpc/api/customers/1/adoms
Headers
accept: application/json
content-type: application/json
fpc-sid: $FPCSID
Cookie: fpc-jsessionid=$FPCSID
Payload
{
"customerId": 1,
"adoms": [
"Forti/Adom1_Test",
"Forti/Adom4_Test",
"Forti/Adom3_Test"
]
}
Response
Status 200 OK