POST api/servizi/subscribe

Request Information

URI Parameters

None.

Body Parameters

AddServiceSubscriptionDTO
NameDescriptionTypeAdditional information
DeviceToken

string

None.

DeviceType

integer

None.

Reminder

integer

None.

Tipo

integer

None.

IDServizi

Collection of integer

None.

IDCliente

integer

None.

IDVia

integer

None.

IDZona

integer

None.

NodeId

integer

None.

NodeType

integer

None.

IDEnte

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceToken": "sample string 1",
  "DeviceType": 1,
  "Reminder": 1,
  "Tipo": 1,
  "IDServizi": [
    1,
    2
  ],
  "IDCliente": 1,
  "IDVia": 1,
  "IDZona": 1,
  "NodeId": 1,
  "NodeType": 1,
  "IDEnte": 1
}

application/xml, text/xml

Sample:
<AddServiceSubscriptionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Differenziati.WebServices.Models">
  <DeviceToken>sample string 1</DeviceToken>
  <DeviceType>1</DeviceType>
  <IDCliente>1</IDCliente>
  <IDEnte>1</IDEnte>
  <IDServizi xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </IDServizi>
  <IDVia>1</IDVia>
  <IDZona>1</IDZona>
  <NodeId>1</NodeId>
  <NodeType>1</NodeType>
  <Reminder>1</Reminder>
  <Tipo>1</Tipo>
</AddServiceSubscriptionDTO>

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.