POST ios/pushswisspark
Request Information
URI Parameters
None.
Body Parameters
ListaPush| Name | Description | Type | Additional information |
|---|---|---|---|
| condominio | string |
None. |
|
| nomeRemetente | string |
None. |
|
| Pushes | Collection of Push |
None. |
Request Formats
application/json, text/json
Sample:
{
"condominio": "sample string 1",
"nomeRemetente": "sample string 2",
"Pushes": [
{
"token": "sample string 1",
"mensagem": "sample string 2",
"key1": "sample string 3",
"key2": "sample string 4",
"key3": "sample string 5",
"key4": "sample string 6",
"som": "sample string 7",
"pushType": 8
},
{
"token": "sample string 1",
"mensagem": "sample string 2",
"key1": "sample string 3",
"key2": "sample string 4",
"key3": "sample string 5",
"key4": "sample string 6",
"som": "sample string 7",
"pushType": 8
}
]
}
application/xml, text/xml
Sample:
<ListaPush xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvillePush.Models">
<Pushes>
<Push>
<key1>sample string 3</key1>
<key2>sample string 4</key2>
<key3>sample string 5</key3>
<key4>sample string 6</key4>
<mensagem>sample string 2</mensagem>
<pushType>8</pushType>
<som>sample string 7</som>
<token>sample string 1</token>
</Push>
<Push>
<key1>sample string 3</key1>
<key2>sample string 4</key2>
<key3>sample string 5</key3>
<key4>sample string 6</key4>
<mensagem>sample string 2</mensagem>
<pushType>8</pushType>
<som>sample string 7</som>
<token>sample string 1</token>
</Push>
</Pushes>
<condominio>sample string 1</condominio>
<nomeRemetente>sample string 2</nomeRemetente>
</ListaPush>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RetornoPush| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| enviado | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"token": "sample string 1",
"enviado": true
},
{
"token": "sample string 1",
"enviado": true
}
]
application/xml, text/xml
Sample:
<ArrayOfRetornoPush xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvillePush.Models">
<RetornoPush>
<enviado>true</enviado>
<token>sample string 1</token>
</RetornoPush>
<RetornoPush>
<enviado>true</enviado>
<token>sample string 1</token>
</RetornoPush>
</ArrayOfRetornoPush>