POST api/NotificationType
Request Information
URI Parameters
None.
Body Parameters
NotificationTypeBindingModelName | Description | Type | Additional information |
---|---|---|---|
Name | NotificationTypeName |
None. |
|
Info | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": 0, "Info": "sample string 1" }
application/xml, text/xml
Sample:
<NotificationTypeBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Info>sample string 1</Info> <Name>None</Name> </NotificationTypeBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NotificationTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Info | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Info": "sample string 2" }
application/xml, text/xml
Sample:
<NotificationTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Info>sample string 2</Info> <Name>sample string 1</Name> </NotificationTypeViewModel>