Show / Hide Table of Contents

Class NSWebhookResult

Result of calling a webhook.

Syntax

Constructors

NSWebhookResult()

Initializes a new instance of the NSWebhookResult class.

Declaration
NSWebhookResult

Methods

GetMessage()

Result of calling a webhook.

Declaration
String GetMessage()
Returns
Type Description
String

Headers and body of response from webhook.

Examples
NSWebhookResult thing;
String message = thing.GetMessage();

GetSuccess()

Result of calling a webhook.

Declaration
Bool GetSuccess()
Returns
Type Description
Bool

Was call to webhook successful? (200 OK).

Examples
NSWebhookResult thing;
Bool success = thing.GetSuccess();

SetMessage(String)

Result of calling a webhook.

Declaration
Void SetMessage(String message)
Parameters
Type Name Description
String message

Headers and body of response from webhook.

Returns
Type Description
Void
Examples
NSWebhookResult thing;
String message;
thing.SetMessage(message);

SetSuccess(Bool)

Result of calling a webhook.

Declaration
Void SetSuccess(Bool success)
Parameters
Type Name Description
Bool success

Was call to webhook successful? (200 OK).

Returns
Type Description
Void
Examples
NSWebhookResult thing;
Bool success;
thing.SetSuccess(success);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top