ChangeSet

WebApiClient. ChangeSet

new ChangeSet(parametersopt)

Source:
See:

Change sets are containers for requests inside batch requests.
All requests inside a change set fail or succeed together.
No GET requests are allowed inside change sets.

Parameters:
Name Type Attributes Description
parameters Object <optional>
Properties
Name Type Attributes Description
name String <optional>

The name of the change set (should be unique for this batch). Auto generated if ommitted

requests Array.<Request> <optional>

Array of POST requests for this change set. No get requests are allowed inside change sets. Initialized as empty array if ommitted

Members

name

Source:
Properties:
Name Type Description
name String

Name of the change set

requests

Source:
Properties:
Name Type Description
requests Array.<Request>

Requests included in the change set. Only non GET requests are allowed.

Methods

stringify() → {String}

Source:

Converts current change set into a string representation for including in the batch body

This:
  • {ChangeSet}
Returns:
Type
String