Home > Agendize Scheduling

Scheduling buttons


Resource representation

{ "id": {string}, "name": {string}, "companyId": {string} }
Parameter name Value Description
id string Identifier of the scheduling button. Read-only
name string Name of the scheduling button.
companyId string Scheduling company's identifiers.

Delete

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

DELETE https://api.agendize.com/api/2.1/scheduling/buttons/{buttonId}

Parameters

Parameter name Value Description
Path parameters
buttonId string Click-to-Call button identifier.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.


Get

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

GET https://api.agendize.com/api/2.1/scheduling/buttons/{buttonId}

Parameters

Parameter name Value Description
Path parameters
buttonId string Call identifier.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Scheduling button resource in the response body.


List

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

GET https://api.agendize.com/api/2.1/scheduling/buttons

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:


Insert

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

POST https://api.agendize.com/api/2.1/scheduling/buttons

Request body

In the request body, supply a Scheduling button resource with the following properties:

Parameter name Value Description
Required Properties
name string Name of the scheduling button.
companyId string Scheduling company's identifiers.

Response

If successful, this method returns a Scheduling button resource in the response body.


Update

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

PUT https://api.agendize.com/api/2.1/scheduling/buttons/{buttonId}

Parameters

Parameter name Value Description
Path parameters
buttonId string Scheduling button identifier.

Request body

In the request body, supply a Scheduling button resource with the following properties:

Parameter name Value Description
Optional Properties
name string Name of the scheduling button.
companyId string Scheduling company's identifiers.

Response

If successful, this method returns a Scheduling button resource in the response body.


Watch

Watch for changes to Resource resources.

Authentication is required to execute this request. Please refer to Authentication for more.

The watch send an Resource resource in the request body

Request

HTTP Request

POST https://api.agendize.com/api/2.1/scheduling/buttons/watch

Request body

{ "address": {string}, "basicAuth": { "username": {string}, "password": {string} }, "httpRequestHeader": { (name): {string} } }
Required Properties
address string The address where notifications are delivered for this watch.
Optional Properties
basicAuth string Credentials parameters for HTTP Basic authentication on the destination watch address. Only if you use this authentication method.
basicAuth.username string Username.
basicAuth.password string Password.
httpRequestHeader string Custom header parameters to send with the http request on the destination watch address.
httpRequestHeader.name string header parameter name.

Response

If successful, this method returns an of Watch resource in the response body.

Watch event supported

  • Button added in dashboard. In this case, the watch request add the following header propert in http request:
    X-Agendize-objectEvent: added
  • Button modified in dashboard. In this case, the watch request add the following header propert in http request:
    X-Agendize-objectEvent: updated
  • Button delete in dashboard. In this case, the watch request add the following header propert in http request:
    X-Agendize-objectEvent: deleted