Skip to main content

Create External SWML Handler

POST 

/resources/external_swml_handlers

Creates an External SWML Handler

Request

Body

required

    name string

    Name of the External SWML Handler.

    used_for string

    Possible values: [calling]

    Default value: calling

    Used for of the External SWML Handler.

    primary_request_url stringrequired

    Primary request url of the External SWML Handler.

    primary_request_method string

    Possible values: [GET, POST]

    Default value: POST

    Primary request method of the External SWML Handler.

    fallback_request_url string

    Fallback request url of the External SWML Handler.

    fallback_request_method string

    Possible values: [GET, POST]

    Default value: POST

    Fallback request method of the External SWML Handler.

    status_callback_url string

    Status callback url of the External SWML Handler.

    status_callback_method string

    Possible values: [GET, POST]

    Default value: POST

    Status callback method of the External SWML Handler.

Responses

The request has succeeded and a new resource has been created as a result.

Schema

    id uuidrequired

    Universal Unique Identifier.

    name stringrequired

    Name of the External SWML Handler.

    used_for stringrequired

    Possible values: [calling]

    Used for of the External SWML Handler.

    primary_request_url stringrequired

    Primary request url of the External SWML Handler.

    primary_request_method UrlMethodType (string)required

    Possible values: [GET, POST]

    The method type to use for the URL

    fallback_request_url stringrequired

    Fallback request url of the External SWML Handler.

    fallback_request_method UrlMethodType (string)required

    Possible values: [GET, POST]

    The method type to use for the URL

    status_callback_url stringrequired

    Status callback url of the External SWML Handler.

    status_callback_method UrlMethodType (string)required

    Possible values: [GET, POST]

    The method type to use for the URL

Loading...