NetSuite Get Server Time

Overview

You can use this Snap to get the NetSuite server time in GMT, regardless of your time zone.



Prerequisites

  • Valid token ID, token secret, and account ID.
  • A valid account with the required permissions.

Snap views

Type Description Examples of upstream and downstream Snaps

Input

Document

  • Min: 0
  • Max: 1
  • Mapper
  • Copy

Does not require any specific input.

Output

Document

  • Min: 1
  • Max: 1
  • Union
  • Mapper
  • Copy

Returns the NetSuite server time using the getServerTime function.

Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label*

String
Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.
Request timeout (seconds)*

Integer
Specify the timeout for the web service call in seconds. 0 indicates no timeout.

Default value: 0

Example: 5

Maximum attempts*

Integer
Specify the maximum number of requests to attempt when a request fails.

Default value: 3

Example: 5

Retry interval (seconds)*

Integer
Specify the number of seconds to wait before you retry a failed request.

Default value: 2

Example: 5

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.

Troubleshooting

Error Cause Resolution
Invalid login attempt The specified credentials are incorrect. Retry with the correct credentials.

Examples

See Get NetSuite Server Time in GMT.