POST api/supportOnline/add

Request Information

URI Parameters

None.

Body Parameters

SupportOnlineViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Department

string

None.

Description

string

None.

Skype

string

None.

Mobile

string

None.

Email

string

None.

Zalo

string

None.

Facebook

string

None.

Status

boolean

None.

Address

string

None.

Logo

string

None.

DisplayOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Department": "sample string 3",
  "Description": "sample string 4",
  "Skype": "sample string 5",
  "Mobile": "sample string 6",
  "Email": "sample string 7",
  "Zalo": "sample string 8",
  "Facebook": "sample string 9",
  "Status": true,
  "Address": "sample string 11",
  "Logo": "sample string 12",
  "DisplayOrder": 1
}

application/xml, text/xml

Sample:
<SupportOnlineViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeduShop.Web.Models">
  <Address>sample string 11</Address>
  <Department>sample string 3</Department>
  <Description>sample string 4</Description>
  <DisplayOrder>1</DisplayOrder>
  <Email>sample string 7</Email>
  <Facebook>sample string 9</Facebook>
  <ID>1</ID>
  <Logo>sample string 12</Logo>
  <Mobile>sample string 6</Mobile>
  <Name>sample string 2</Name>
  <Skype>sample string 5</Skype>
  <Status>true</Status>
  <Zalo>sample string 8</Zalo>
</SupportOnlineViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.