POST api/Login/UpdateNotificationToken
Request Information
URI Parameters
None.
Body Parameters
UpdateNotificationTokenRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PassengerId | integer |
None. |
|
| NotificationToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PassengerId": 1,
"NotificationToken": "sample string 2"
}
application/xml, text/xml
Sample:
<UpdateNotificationTokenRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"> <NotificationToken>sample string 2</NotificationToken> <PassengerId>1</PassengerId> </UpdateNotificationTokenRequestModel>
multipart/form-data
Sample:
<UpdateNotificationTokenRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><NotificationToken>sample string 2</NotificationToken><PassengerId>1</PassengerId></UpdateNotificationTokenRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfUpdateNotificationTokenResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | UpdateNotificationTokenResponseModel |
None. |
|
| IsSuccess | boolean |
None. |
|
| ExceptionMsg | string |
None. |
|
| lastLoginDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"IsSuccess": true,
"ExceptionMsg": "sample string 2",
"lastLoginDate": "2026-11-12T23:17:32.2188112+03:00"
}
application/xml, text/xml
Sample:
<BaseModelOfUpdateNotificationTokenResponseModel4YG3OKg5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"> <ExceptionMsg>sample string 2</ExceptionMsg> <IsSuccess>true</IsSuccess> <lastLoginDate>2026-11-12T23:17:32.2188112+03:00</lastLoginDate> <Data /> </BaseModelOfUpdateNotificationTokenResponseModel4YG3OKg5>
multipart/form-data
Sample:
<BaseModelOfUpdateNotificationTokenResponseModel4YG3OKg5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><ExceptionMsg>sample string 2</ExceptionMsg><IsSuccess>true</IsSuccess><lastLoginDate>2026-11-12T23:17:32.2188112+03:00</lastLoginDate><Data /></BaseModelOfUpdateNotificationTokenResponseModel4YG3OKg5>