POST marketing-campaigns/image-templates

Upload campaign template as a pdf document or an image.

Request

URL ( requires authentication )

https://api.crexi.com/marketing-campaigns/image-templates

Body Parameters

parameters

Base64Content

string

Required

Filename

string

Required

Example

JSON

{
  "Base64Content": "{base 64 encoded file}",
  "Filename": "file.pdf"
}

Response

Details

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

Data fields

ImageFileId

globally unique identifier

OriginalFileId

globally unique identifier

Example

JSON

{
  "ImageFileId": "06266de7-6af1-403f-a459-565870e8d801",
  "OriginalFileId": "c5cc9a78-2b77-483d-bc87-a1526b5f3f5b"
}