POST api/Notifications/DeleteMobileTokens

Request Information

URI Parameters

None.

Body Parameters

MobileTokens
NameDescriptionTypeAdditional information
Id

integer

None.

Token

string

None.

UserProfileId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Token": "sample string 2",
  "UserProfileId": 3
}

application/xml, text/xml

Sample:
<MobileTokens xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_Notifications">
  <Id>1</Id>
  <Token>sample string 2</Token>
  <UserProfileId>3</UserProfileId>
</MobileTokens>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TransactionDetails
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

SuccessMessage

string

None.

ErrorMessage

string

None.

NewID

integer

None.

FileUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "SuccessMessage": "sample string 2",
  "ErrorMessage": "sample string 3",
  "NewID": 4,
  "FileUrl": "sample string 5"
}

application/xml, text/xml

Sample:
<TransactionDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_COMMON">
  <ErrorMessage>sample string 3</ErrorMessage>
  <FileUrl>sample string 5</FileUrl>
  <IsSuccessful>true</IsSuccessful>
  <NewID>4</NewID>
  <SuccessMessage>sample string 2</SuccessMessage>
</TransactionDetails>