- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Notification - Mark as Read
Developing
POST
https://test-api.ucuzyolu.com/notifications/markasread
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
id
integer
required
Example
{
"id": 1
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.ucuzyolu.com/notifications/markasread' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1
}'
Responses
🟢200OK
application/json
Body
data
object
required
id
integer
required
title
string
required
content
string
required
url
string
required
meta
null
required
createdAt
string
required
readStatus
boolean
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"id": 1,
"title": "Test",
"content": "content",
"url": "https://google.com",
"meta": null,
"createdAt": "2024-11-24T15:50:55.000000Z",
"readStatus": true
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-24 16:39:23