Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalFlow authored Feb 9, 2024
1 parent 04a8e0a commit 3bdef25
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ For running from custom web resources, be sure that the GetGlobalContext functio
+ [Execute](#execute)
- [No parameter request](#no-parameter-request)
- [Parametrized request](#parametrized-request)
- [Component Types](#component-types)
+ [Send Batch](#send-batch)
- [How to create batch requests](#how-to-create-batch-requests)
- [Batch Responses](#batch-responses)
Expand Down Expand Up @@ -571,6 +572,12 @@ WebApiClient.Execute(request)
});
```

#### Component Types
Sometimes you need to pass a "Component Type" parameter, especially with metadata requests.
If you don't know the proper value, use this request to list all the available Component Types and their values in your org:

`await WebApiClient.Retrieve({ overriddenSetName: "GlobalOptionSetDefinitions(Name='componenttype')" })`

### Send Batch
There is support for sending multiple requests as a batch. Batch requests can contain retrieve requests and change sets. Change sets can contain requests themselves, however they must not contain other change sets.

Expand Down

0 comments on commit 3bdef25

Please sign in to comment.