File tree Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -14,24 +14,22 @@ Run any valid GraphQL statement via the /graphql [API](https://developer.salesfo
1414
1515- Runs a mutation to create an Account, with an ` example.txt ` file, containing
1616
17- ``` text
18- mutation AccountExample {
19- uiapi {
20- AccountCreate(input : {
21- Account: {
22- Name: "Trailblazer Express"
23- }
24- }) {
25- Record {
26- Id
27- Name {
28- value
17+ mutation AccountExample{
18+ uiapi {
19+ AccountCreate(input: {
20+ Account : {
21+ Name: "Trailblazer Express"
22+ }
23+ }) {
24+ Record {
25+ Id
26+ Name {
27+ value
28+ }
2929 }
3030 }
3131 }
3232 }
33- }
34- ```
3533
3634<%= config.bin %> <%= command.id %> --body example.txt
3735
Original file line number Diff line number Diff line change @@ -22,12 +22,10 @@ Make an authenticated HTTP request to Salesforce REST API and print the response
2222
2323- or with a file 'info.json' containing
2424
25- ``` json
26- {
27- "Name" : " Demo" ,
28- "ShippingCity" : " Boise"
29- }
30- ```
25+ {
26+ "Name": "Demo",
27+ "ShippingCity": "Boise"
28+ }
3129
3230<%= config.bin %> <%= command.id %> 'sobjects/account' --body info.json --method POST
3331
You can’t perform that action at this time.
0 commit comments