Using Dashboard API to Manage Banners

Banner

  • GET api/v9/banner

    Gets all banners in the system

  • GET api/v9/banner/{id}

    Gets a single banner by its id

    Parameters

    • id: Id of a banner (FromUri)

  • GET api/v9/banner/{guid}

    Gets a single banner by its guid

    Parameters

    • guid: Id of a banner (FromUri)

  • GET api/v9/banner/{id}/campaign

    Gets all campaigns that the banner is associated with

    Parameters

    • id: Id of a banner (FromUri)

  • GET api/v9/banner/{guid}/campaign

    Gets all campaigns that the banner is associated with

    Parameters

    • guid: Id of a banner (FromUri)

  • POST api/v9/banner

    Adds a banner to the system

    Parameters

    • banner: A banner entity (FromBody)

  • PUT api/v9/banner/{id}

    Updates a banner

    Parameters

    • id: Id of a banner to update (FromUri)

    • banner: A banner entity with updated properties (FromBody)

  • PUT api/v9/banner/{guid}

    Updates a banner

    Parameters

    • guid: Id of a banner to update (FromUri)

    • banner: A banner entity with updated properties (FromBody)

  • DELETE api/v9/banner/{id}

    Deletes a banner

    Parameters

    • id: Id of a banner to delete (FromUri)

  • DELETE api/v9/banner/{guid}

    Deletes a banner

    Parameters

    • guid: Id of a banner to delete (FromUri)

Banner Zone

  • GET api/v9/bannerzone

    Gets all available banner zones