PUT api/Account/ApnsId?confirm={confirm}

Sets the Apple Push Notification Service (APNS) id for the user/device

Request Information

URI Parameters

NameDescriptionTypeAdditional information
confirm

If true, a confirmation push notification will be sent containing a list of registered tags

boolean

Required

Body Parameters

Primitive
NameDescriptionTypeAdditional information
value

value result

string

Required

Request Formats

application/json, text/json

Sample:
{
  "value": "sample string 1"
}

application/xml, text/xml

Sample:
<Primitive xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.API.Models">
  <value>sample string 1</value>
</Primitive>

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MultipartMediaTypeFormatter' to write type 'Primitive'.

Response Information

Resource Description

PrimitiveOfBoolean
NameDescriptionTypeAdditional information
value

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "value": true
}

application/xml, text/xml

Sample:
<PrimitiveOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.API.Models">
  <value>true</value>
</PrimitiveOfboolean>