GET marketing-campaigns

Gets paged list of marketing campaigns generated by the current user.

Request

URL ( requires authentication )

https://api.crexi.com/marketing-campaigns?count={count}&offset={offset}&type={type}&term={term}

Parameters

count

integer

Pagination parameter

Optional

Default value is 50

offset

integer

Pagination parameter

Optional

Default value is 0

term

string

Optional

type

string

Optional

Possible values are: 'Sent', 'Scheduled', 'Draft'

Response

Details

Returns an HTTP 200 OK and if operation was successful. Returns 400 Bad Request and an error message otherwise.

Data fields

Data

Collection of MarketingCampaignData

TotalCount

integer

Example

JSON

{
  "Data": [
    {
      "AssetLinksClicked": 14,
      "Clicked": 10,
      "CreatedOn": "2019-04-10T12:19:56.9913317Z",
      "Creator": {
        "Email": "john@gmail.com",
        "FirstName": "John",
        "Id": 12345,
        "IndustryRoles": [
          "Lender",
          "Third Party Service"
        ],
        "LastName": "Backer",
        "Phone": "+17905123456",
        "ThumbnailUrl": "http://qwerty.qwe/user/12345/tn.jpg"
      },
      "DDLinksClicked": 7,
      "Delivered": 2,
      "EmailListNeedsCleanUp": false,
      "EmailLists": [
        {
          "Id": 1,
          "Name": "Recipients Sample List"
        }
      ],
      "Id": 1,
      "IsDraft": true,
      "IsScheduled": true,
      "MDLinksClicked": 4,
      "NumberOfAssets": 5,
      "NumberOfCampaigns": 0,
      "Opened": 0,
      "Requested": 0,
      "ScheduledFor": "2019-04-05T12:19:56.9913317Z",
      "Sent": 3,
      "SentOn": "2019-04-05T12:19:56.9913317Z",
      "Subject": "Subject",
      "UserCanDownloadReport": true
    }
  ],
  "TotalCount": 1
}