Returns a list of your notes. The notes are returned by creation date chronologically, with the oldest created note appearing first.
Parameters
MediaId
optional
MediaId
optionalA partner account's Id.
StartDate
optional
StartDate
optionalOnly retrieve notes created after this date. See ISO 8601.
EndDate
optional
EndDate
optionalOnly retrieve notes created before this date. See ISO 8601.
Returns
Returns an array of notes up to a limit dictated by @pagesize
. Each entry in the array is a separate note. If no notes meet the criteria, the resulting array will be empty. This request should never return an error.
Example Request
curl 'https://api.impact.com/Advertisers/<AccountSID>/Campaigns/1000/Notes' \
-X GET \
-u '<AccountSID>:<AuthToken>' \
-H 'Accept: application/json' \
-d 'MediaId=1000' \
-d 'StartDate=2020-06-01T00:00:00-7:00' \
-d 'EndDate=2020-06-30T00:00:00-7:00'
-G
Example Response
{
"@page": "1",
...
"Notes": [
{
"Id": "123456",
"MediaId": "10000",
"MediaName": "Acme Partner",
"Creator": "Wile E. Coyote",
"CreationDate": "2020-06-08T14:01:16-07:00",
"ModificationDate": "2020-06-08T14:01:16-07:00",
"Content": "MEEP MEEP",
"Type": "NONE",
"Attachments": [],
"Uri": "/Advertisers/<AccountSID>/Campaigns/1000/Notes/123456"
},
...
]
}