POST api/Room/PushMessageToStore

Request Information

URI Parameters

None.

Body Parameters

PushMessageModel
NameDescriptionTypeAdditional information
store_id

integer

None.

amount

decimal number

None.

Message

PushMessageBody

None.

Request Formats

application/json, text/json

Sample:
{
  "store_id": 1,
  "amount": 2.0,
  "Message": {
    "UserIDs": [
      "sample string 1",
      "sample string 2"
    ],
    "Member_id": 1,
    "isRead": true,
    "readBody": "sample string 3",
    "money": "sample string 4",
    "UserID": "sample string 5",
    "VipID": "sample string 6",
    "Type": "sample string 7",
    "Title": "sample string 8",
    "Body": "sample string 9",
    "MessageType": "sample string 10",
    "BillID": "sample string 11",
    "StoreName": "sample string 12"
  }
}

application/xml, text/xml

Sample:
<PushMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEBAPI.Controllers">
  <Message>
    <BillID>sample string 11</BillID>
    <Body>sample string 9</Body>
    <Member_id>1</Member_id>
    <MessageType>sample string 10</MessageType>
    <StoreName>sample string 12</StoreName>
    <Title>sample string 8</Title>
    <Type>sample string 7</Type>
    <UserID>sample string 5</UserID>
    <UserIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </UserIDs>
    <VipID>sample string 6</VipID>
    <isRead>true</isRead>
    <money>sample string 4</money>
    <readBody>sample string 3</readBody>
  </Message>
  <amount>2</amount>
  <store_id>1</store_id>
</PushMessageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>