Postman collection for Salesforce Site API Examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "1d6f2231-7970-417e-b2bc-afbf7abe211a", | |
"name": "Salesforce Site APIs", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Site API UI Search", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/x-www-form-urlencoded", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "urlencoded", | |
"urlencoded": [ | |
{ | |
"key": "message", | |
"value": "{\"actions\":[{\"id\":\"5007;a\",\"descriptor\":\"serviceComponent://ui.search.components.forcesearch.scopedresultsdataprovider.ScopedResultsDataProviderController/ACTION$getLookupItems\",\"callingDescriptor\":\"UNKNOWN\",\"params\":{\"scope\":\"Contact\",\"term\":\"ja*\",\"pageSize\":20,\"currentPage\":1,\"sortBy\":\"\",\"enableRowActions\":false,\"source\":\"\",\"field\":\"\",\"recordId\":\"\",\"additionalFields\":[],\"dependentFieldBindings\":{},\"useADS\":false}}]}", | |
"type": "text" | |
}, | |
{ | |
"key": "aura.context", | |
"value": "{\"mode\":\"PROD\",\"fwuid\":\"QPQi8lbYE8YujG6og6Dqgw\",\"app\":\"siteforce:communityApp\",\"loaded\":{\"APPLICATION@markup://siteforce:communityApp\":\"Zj1VcUXqZfCDWZ-Q5LxXcA\"},\"dn\":[],\"globals\":{},\"uad\":false}", | |
"type": "text" | |
}, | |
{ | |
"key": "aura.pageURI", | |
"value": "/s", | |
"type": "text" | |
}, | |
{ | |
"key": "aura.token", | |
"value": "eyJub25jZSI6IjNYMlJvblJqOTNoRzVwV3MwaDA1NVhfQ1RhZFl3NmNMTVBMWVE1NkhjTEFcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDR4MDAwMDAwR3lYWVwiLFwidlwiOlwiMDJHNHgwMDAwMDAwWXFYXCIsXCJhXCI6XCJjYWltYW5zaWduZXJcIn0iLCJjcml0IjpbImlhdCJdLCJpYXQiOjE2NjE1NjAxMTc4ODcsImV4cCI6MH0=..OMM0uO-GhVqgK6KP2CSecbFBwzlz623a7G0MV8IngT0=", | |
"type": "text" | |
} | |
] | |
}, | |
"url": { | |
"raw": "https://df22-demo.my.site.com/s/sfsites/aura?", | |
"protocol": "https", | |
"host": [ | |
"df22-demo", | |
"my", | |
"site", | |
"com" | |
], | |
"path": [ | |
"s", | |
"sfsites", | |
"aura" | |
], | |
"query": [ | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
}, | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
}, | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
}, | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Site API UI Controller Method", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/x-www-form-urlencoded", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "urlencoded", | |
"urlencoded": [ | |
{ | |
"key": "message", | |
"value": "{\"actions\":[{\"id\":\"150;a\",\"descriptor\":\"apex://UserController/ACTION$updateSiteUser\",\"callingDescriptor\":\"markup://c:UpdateSiteUser\",\"params\":{\"userId\":\"0054x000002XLSD\",\"fname\":\"john\",\"lname\":\"doe\",\"email\":\"john.doe@gmail.com\",\"accessLevel\":\"Standard\"}}]}", | |
"type": "text" | |
}, | |
{ | |
"key": "aura.context", | |
"value": "{\"mode\":\"PROD\",\"fwuid\":\"QPQi8lbYE8YujG6og6Dqgw\",\"app\":\"siteforce:communityApp\",\"loaded\":{\"APPLICATION@markup://siteforce:communityApp\":\"Zj1VcUXqZfCDWZ-Q5LxXcA\"},\"dn\":[],\"globals\":{},\"uad\":false}", | |
"type": "text" | |
}, | |
{ | |
"key": "aura.pageURI", | |
"value": "/s/userprofile", | |
"type": "text" | |
}, | |
{ | |
"key": "aura.token", | |
"value": "eyJub25jZSI6ImJxUXhMWmJpdmozOEVnTDgxVUMwb1Z6TUVLREx5OHBrQlFzQ0xDei1kMmtcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDR4MDAwMDAwR3lYWVwiLFwidlwiOlwiMDJHNHgwMDAwMDAwWXFYXCIsXCJhXCI6XCJjYWltYW5zaWduZXJcIn0iLCJjcml0IjpbImlhdCJdLCJpYXQiOjE2NjIwNzU1Mzc2MDcsImV4cCI6MH0=..36goiwvggFLP5bWZTYRGR6BQfna8SwVB14JFrOrnNQw=", | |
"type": "text" | |
} | |
] | |
}, | |
"url": { | |
"raw": "https://df22-demo.my.site.com/s/sfsites/aura?", | |
"protocol": "https", | |
"host": [ | |
"df22-demo", | |
"my", | |
"site", | |
"com" | |
], | |
"path": [ | |
"s", | |
"sfsites", | |
"aura" | |
], | |
"query": [ | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
}, | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
}, | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
}, | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment