Warning: API Version 1 is deprecated. Please use API Version 2.
Api Documentation

Files

Retrieves a single base64 encoded file.
Creates a new specified image and places it in the right context.
Json
XML
POST https://api.bundeling.com/V1/files

Parameters

Body

NameDescriptionTypeNillableRequired
typeThe type of image being created
Accepted values: user_profile, customer_logo, event_picture, club_logo, bulletinboard_picture
stringfalsetrue
idThe id of the object the image will be appended tointfalsetrue
filenameThe name of the filestringfalsetrue
contentThe base64 encoded imagestringfalsetrue

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "type": "event_picture",
    "id": 12,
    "filename": "event12image.jpg",
    "content": "o5jibgJpYFoiJtw4oij453094uE534lkjseofj..."
}

Example response

{
    "id": "23oihj23ioerfjkWTzEo5tj4oi5jto4i5jt6yazRaTYIOJ",
    "type": "event_picture",
    "status": "Created successfuly"
}