Avaya Breeze® platform
EFC REST API

Query Subscription


Subscription.json
{
    "title":"Subscription",
    "description":"Subscription schema",
    "type":"object",
    "properties":{
        "family":{
            "description":"The family of event",
            "type":"string"
        },
        "eventTypes":{
            "type":"array",
            "eventType":{
                "type":"string"
            },
            "minItems":0,
            "uniqueItems":true
        },
        "callbackUrl":{
            "description":"endpoint of the listener",
            "type":"string"
        },
        "callbackContentType":{
            "description":"content-type of the event to be sent to endpoint of the listener, options [multipart/form-data, application/json]. Default is multipart/form-data",
            "type":"string"
        },
        "filter":{
            "description":"filters on metadata",
            "type":"object",
            "properties":{
                "correlationId":{
                    "type":"string"
                },
                "user":{
                    "type":"string"
                },
                "serviceProfile":{
                    "type":"string"
                },
                "criteria":{
                    "id":"criteria",
                    "type":"array",
                    "items":{
                        "$ref":"#/criterion"
                    },
                    "additionalItems":false
                },
                "ignoreCaseCriteria":{
                    "id":"ignoreCaseCriteria",
                    "type":"array",
                    "items":{
                        "$ref":"#/criterion"
                    },
                    "additionalItems":false
                }
            }
        }
    },
    "criterion":{
        "id":"items",
        "type":"object",
        "properties":{
            "key":{
                "id":"key",
                "type":"string"
            },
            "value":{
                "id":"value",
                "type":"string"
            }
        },
        "additionalProperties":false
    }
}

Copyright © 2017 Avaya. All Rights Reserved.