Back

Module: webhook
WebHook management

+ Method: webhook/valid_actions - Get list of valid webhook actions

Endpoint URL: https://api.icount.co.il/api/v3.php/webhook/valid_actions

Params

NameTypeOptionalDefaultDescriptionNotes
sidstringYes Session ID
cidstringYes Company identifier
userstringYes Username
passstringYes Password

Output

NameTypeOptionalDefaultDescriptionNotes
statusboolNo Operation status
reasonstringYes Error code
error_descriptionstringYes Short error descripion
error_detailsarray(string)Yes Detailed error messages list
actionsobjectNo List of valid actions (action=>description)

Notes

  • #auth: Either sid OR cid+user+pass must be provided for authentication

+ Type: iCountWebHook - WebHook information

Properties

NameTypeOptionalDefaultDescription
webhook_idintNo WebHook ID
actionstringNo WebHook action
urlstringNo WebHook URL
methodstringNo WebHook sending method {GET|POST|JSON|XML}