New answers tagged api
0
votes
How can I upload/change user's profile image programatically or via API?
ChatterUsers class no longer supports setting photos. Currently this functionality is available under UserProfiles class.
ConnectApi.Photo photo = ConnectApi.UserProfiles.setPhoto(communityId, userId, ...
0
votes
An invalid security token was provided - How to get support
private T CallSoapRequest<T>(Func<T> func)
{
if (useOAuth)
{
using (new OperationContextScope(exactTargetClient.InnerChannel))
{
// Add oAuth ...
0
votes
An invalid security token was provided - How to get support
Using a token in a SOAP call can be done like this:
POST /Service.asmx HTTP/1.1
Host: YOURTENANTHERE.soap.marketingcloudapis.com
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/...
3
votes
Accepted
this.template.querySelector(...).handleUpdateCase().then is not a function
@api
handleUpdateCase() {
return {
ticketId: this.ticketId,
message: this.message
};
}
You didn't return a Promise or use async, so then isn't a function of the return value. ...
2
votes
Accepted
'Bad Request' error while sending Soap API to update the query activity
Your QueryText property contains characters that are part of XML markup. You can either HTML encode your query or place it inside a CDATA section:
<?xml version="1.0" encoding="UTF-8&...
0
votes
400 Bad request for concurrent 10 sessions hitting REST API from Informatica
There is a concurrent API limit for long-running REST requests in SF as documented here.
Apart from this, I hope you are reusing the access token returned from oauth until that token is invalid, ...
0
votes
How to deserialize this to get only the value 3.2
As the Value is an array and it does not have any JSON Object you can access the value on the JSON by parsing it and get the value by checking as parsedJSON.value[0]==3.2
1
vote
Accepted
LWC - How to send the recordId to the controller
To access the record id you need to add the component to a Lightning record page.
You need to also import the @api like below:
import { LightningElement, api } from 'lwc';
Please note that
"...
2
votes
Automated bulk refresh of filtered DEs - API or data filters?
I've done this with Filter and Query Activities -- iterating through a list of Stores and upserting a Filter or Query for each and then executing it.
I did it with WSProxy (SOAP API) in a single ...
0
votes
How exactly does Salesforce calculate the number of API requests for the last 24 hours?
Since Salesforce is a multi-tenant environment thus there are API limits enforced. We have 3 types of API limits:
Concurrent API Request Limits
API Timeout Limits
Total API Request Allocations
The ...
Top 50 recent answers are included
Related Tags
api × 2265marketing-cloud × 491
apex × 403
rest-api × 346
soap-api × 185
rest × 142
integration × 119
soap × 97
php × 74
soql × 68
visualforce × 64
ampscript × 61
oauth2 × 60
json × 58
c# × 58
ssjs × 50
webservices × 49
callout × 45
trigger × 42
email × 42
metadata × 41
metadata-api × 40
javascript × 39
authentication × 39
bulk-api × 39