Post /settings/integration/messaging-gateway
Description
Creates a new Messaging gateway, updating instead if the supplied messaging gateway has a DBID of one that already exists.
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/settings/integration/messaging-gateway |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "dbid": 0, "name": "string", "gatewayAddress": "string", "enabled": true, "yamsEventTag": "string", "auditObj": { "user": "string", "action": "string", "timestamp": "2023-12-07T22:44:42.707Z", "liveObj": { "yamsEventTag": "string", "auditObj": "string" }, "auditDBID": 0, "liveDBID": 0, "yamsEventTag": "string", "auditObj": "string" } } |
Sample Response
{
"status": "string",
"errorMessage": "string",
"result": 0
}