Class WebhookResult
Result of calling a webhook
Carrier object for WebhookResult. Services for the WebhookResult Carrier is available from the IWebhookAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class WebhookResult : Carrier
Constructors
WebhookResult()
Default constructor
Declaration
public WebhookResult()
See Also
Properties
Message
Headers and body of response from webhook
Declaration
public virtual string Message { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Success
Was call to webhook successful? (200 OK)
Declaration
public virtual bool Success { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |