POST api/Banner
Request Information
URI Parameters
None.
Body Parameters
banner_class| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| id_saler | integer |
None. |
|
| id_saler_branch | integer |
None. |
|
| id_server | integer |
None. |
|
| id_server_inventory_category | integer |
None. |
|
| id_server_inventory_category_click | integer |
None. |
|
| id_server_inventory_click | integer |
None. |
|
| id_inventory_click | integer |
None. |
|
| id_inventory_category_click | integer |
None. |
|
| id_inventory_category | integer |
None. |
|
| category_show | string |
None. |
|
| category_click | string |
None. |
|
| inventory_click | string |
None. |
|
| imageSource | string |
None. |
|
| tags | string |
None. |
|
| name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"id_saler": 2,
"id_saler_branch": 3,
"id_server": 4,
"id_server_inventory_category": 5,
"id_server_inventory_category_click": 6,
"id_server_inventory_click": 7,
"id_inventory_click": 8,
"id_inventory_category_click": 9,
"id_inventory_category": 10,
"category_show": "sample string 11",
"category_click": "sample string 12",
"inventory_click": "sample string 13",
"imageSource": "sample string 14",
"tags": "sample string 15",
"name": "sample string 16"
}
application/xml, text/xml
Sample:
<banner_class xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSalesServer.Models"> <category_click>sample string 12</category_click> <category_show>sample string 11</category_show> <id>1</id> <id_inventory_category>10</id_inventory_category> <id_inventory_category_click>9</id_inventory_category_click> <id_inventory_click>8</id_inventory_click> <id_saler>2</id_saler> <id_saler_branch>3</id_saler_branch> <id_server>4</id_server> <id_server_inventory_category>5</id_server_inventory_category> <id_server_inventory_category_click>6</id_server_inventory_category_click> <id_server_inventory_click>7</id_server_inventory_click> <imageSource>sample string 14</imageSource> <inventory_click>sample string 13</inventory_click> <name>sample string 16</name> <tags>sample string 15</tags> </banner_class>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |