POST api/NotificationDetails
Request Information
URI Parameters
None.
Body Parameters
NotificationDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationDetailId | integer |
None. |
|
| MessageType | integer |
None. |
|
| Title | string |
None. |
|
| TextMessage | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"NotificationDetailId": 1,
"MessageType": 2,
"Title": "sample string 3",
"TextMessage": "sample string 4",
"CreatedDate": "2025-12-11T15:27:51.6240119+05:30",
"CreatedBy": 1,
"UpdatedDate": "2025-12-11T15:27:51.6240119+05:30",
"UpdatedBy": 1
}
application/xml, text/xml
Sample:
<NotificationDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess"> <CreatedBy>1</CreatedBy> <CreatedDate>2025-12-11T15:27:51.6240119+05:30</CreatedDate> <MessageType>2</MessageType> <NotificationDetailId>1</NotificationDetailId> <TextMessage>sample string 4</TextMessage> <Title>sample string 3</Title> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-12-11T15:27:51.6240119+05:30</UpdatedDate> </NotificationDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NotificationDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationDetailId | integer |
None. |
|
| MessageType | integer |
None. |
|
| Title | string |
None. |
|
| TextMessage | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"NotificationDetailId": 1,
"MessageType": 2,
"Title": "sample string 3",
"TextMessage": "sample string 4",
"CreatedDate": "2025-12-11T15:27:51.6240119+05:30",
"CreatedBy": 1,
"UpdatedDate": "2025-12-11T15:27:51.6240119+05:30",
"UpdatedBy": 1
}
application/xml, text/xml
Sample:
<NotificationDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess"> <CreatedBy>1</CreatedBy> <CreatedDate>2025-12-11T15:27:51.6240119+05:30</CreatedDate> <MessageType>2</MessageType> <NotificationDetailId>1</NotificationDetailId> <TextMessage>sample string 4</TextMessage> <Title>sample string 3</Title> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-12-11T15:27:51.6240119+05:30</UpdatedDate> </NotificationDetail>