POST api/Account/get_banner_data

Request Information

URI Parameters

None.

Body Parameters

banner_request
NameDescriptionTypeAdditional information
token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1"
}

application/xml, text/xml

Sample:
<banner_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <token>sample string 1</token>
</banner_request>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

banner_response
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

banner_images

Collection of banner_images

None.

banner_videos

Collection of banner_video

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "banner_images": [
    {
      "image": "sample string 1",
      "order": 2
    },
    {
      "image": "sample string 1",
      "order": 2
    }
  ],
  "banner_videos": [
    {
      "video_url": "sample string 1",
      "order": 2
    },
    {
      "video_url": "sample string 1",
      "order": 2
    }
  ]
}

application/xml, text/xml

Sample:
<banner_response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <banner_images>
    <banner_images>
      <image>sample string 1</image>
      <order>2</order>
    </banner_images>
    <banner_images>
      <image>sample string 1</image>
      <order>2</order>
    </banner_images>
  </banner_images>
  <banner_videos>
    <banner_video>
      <order>2</order>
      <video_url>sample string 1</video_url>
    </banner_video>
    <banner_video>
      <order>2</order>
      <video_url>sample string 1</video_url>
    </banner_video>
  </banner_videos>
  <message>sample string 2</message>
  <success>true</success>
</banner_response>