API Flashcards

1
Q

What authentication method does Marketing Cloud use?

A

OAuth 2.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What two parameters should you pass for Authentication?

A

Client Secret
Client ID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What tasks does the REST API interact with?

A

Contact Builder
Content Builder
GroupConnect
Journey Builder
MobileConnect and MobilePush

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the REST API use for its Request and Response bodies?

A

JSON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the timeout values for API calls?

A

120 seconds for non-tracking operations
300 seconds for tracking and data retrieval

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the SOAP API use for its Request and Response bodies?

A

XML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What tasks does the SOAP API interact with?

A

Automations
Content Creation (classic, not content builder)
Subscribers and Lists
Tracking
Triggered Sends

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the seven SOAP methods?

A

Configure (Used to configure an account)
Create (Used to create individual or batches of objects)
Delete (Used to delete individual or batches of objects)
Describe
Execute
Extract
GetSystemStatus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The SOAP API has 263 API objects that we can interact with, name 4 common ones?

A

Data Extension
Triggered Sends
Automations
ClickEvent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the three Data Extension objects?

A

DataExtention (the actual data extension)
DataExtensionField (a field or attribute)
DataExtentionObject (a row in the data extension)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What three objects need to be defined for a triggered send?

A

TriggeredSend
TriggeredSendDefinition
Subscribers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a ClickEvent object?

A

An object that contains time, date, URL ID and URL information about a click on a link in an email.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a Automation object?

A

Used to interact with an automation in Automation Studio. AutomationActivity is used to define activities in an automation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the REST API endpoint for Content Builder?

A

/asset/v1/content/assets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the REST API endpoint for Contact Builder?

A

/contacts/v1/contacts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the REST API endpoint for Journey Builder?

A

/interaction/v1/interactions

17
Q

What is the REST API endpoint for Triggered Sends?

A

/messaging/v1/messageDefinitionSends

18
Q

What is the REST API endpoint for Transactional Sends?

A

/messaging/v1/emailmm

19
Q

What is the REST API endpoint for Create Assets?

A

/asset/v1/content/assets
Requires JSON that contains information like asset type, name and content. Creates an asset with the information in Content Builder

20
Q

What is the REST API endpoint for Create Folder?

A

/asset/v1/content/categories
Requires a JSON that contains information to create a folder in a specified location

21
Q

What is the REST API endpoint for Update/Delete Assets?

A

/asset/v1/content/assets/{id}
Requires a JSON that contains information to delete or update an existing asset, identified using the asset ID in the URL

22
Q

What is the REST API endpoint for Create Contact?

A

/contacts/v1/contacts
Requires a JSON that contains information like contact key, contact ID and attributes.
Creates a contact with the information

23
Q

What is the REST API endpoint for Delete Contact?

A

/contacts/v1/contacts/actions/delete?type=keys/ids
Requires a JSON that contains contact keys or ids of the contacts to be deleted

24
Q

What is the REST API endpoint to fire an entry into a Journey?

A

/interaction/v1/events
Requires a JSON containing the ContactKey and EventDefinitionKey to fire the event that enters the Contact into a Journey

25
Q

What is the REST API endpoint to send a triggered email?

A

/messaging/v1/messageDefinitionSends/{triggeredSendDefinitionId]/send
Sends an email from a Triggered Send Definition. Note that this triggeredSendDefinitionId must be set up first before making this call, otherwise it won’t work

26
Q

What is the REST API endpoint to get the delivery details of a triggered send?

A

/messaging/v1/messageDefinitionSends/key:{key}/deliveryRecords
Gets the delivery details of an email sent from a triggered send