POST User/UpdateFcmToken

Request Information

URI Parameters

None.

Body Parameters

UserFcmToken
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginModelDTO.UserFcmToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreLayer.DTOs">
  <Token>sample string 2</Token>
  <UserID>1</UserID>
</LoginModelDTO.UserFcmToken>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserFcmToken'.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <Message>sample string 2</Message>
  <Success>true</Success>
</GeneralResponse>