POST
http://appapi.sunhouse.com.vn/api/Firebase/CreateNotifyFirebase?loginCode={loginCode}

Tạo thông báo sử dụng firebase

Yêu cầu

URI Parameters

NameDescriptionTypeAdditional information
loginCode

string

Required

Body Parameters

Firebase_ViewModel
NameDescriptionTypeAdditional information
Title

string

None.

Content

string

None.

FollowUsers

string

None.

click_action

string

None.

appId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Content": "sample string 2",
  "FollowUsers": "sample string 3",
  "click_action": "sample string 4",
  "appId": "sample string 5"
}

application/xml, text/xml

Sample:
<Firebase_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.Mobile.API.Model">
  <Content>sample string 2</Content>
  <FollowUsers>sample string 3</FollowUsers>
  <Title>sample string 1</Title>
  <appId>sample string 5</appId>
  <click_action>sample string 4</click_action>
</Firebase_ViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Firebase_ViewModel'.

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.