GET api/v1/account/notificationMethods
[TC2.2+] Provides list of Notification Methods Equivalent SOAP API : GetNotificationMethods
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
NotificationMethodResults
NotificationMethodResults| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationMethods | Collection of NotificationMethod |
None. |
|
| ResultCode | integer |
None. |
|
| ResultData | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"NotificationMethods": [
{
"NotificationMethodID": 1,
"NotificationMethodName": "sample string 2"
},
{
"NotificationMethodID": 1,
"NotificationMethodName": "sample string 2"
}
],
"ResultCode": 1,
"ResultData": "sample string 2"
}
application/xml, text/xml
Sample:
<NotificationMethodResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2API.Resource.Models.ResultData">
<ResultCode xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">1</ResultCode>
<ResultData xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">sample string 2</ResultData>
<NotificationMethods xmlns:d2p1="http://schemas.datacontract.org/2004/07/TC2Domain.UserConfiguration">
<d2p1:NotificationMethod>
<d2p1:NotificationMethodID>1</d2p1:NotificationMethodID>
<d2p1:NotificationMethodName>sample string 2</d2p1:NotificationMethodName>
</d2p1:NotificationMethod>
<d2p1:NotificationMethod>
<d2p1:NotificationMethodID>1</d2p1:NotificationMethodID>
<d2p1:NotificationMethodName>sample string 2</d2p1:NotificationMethodName>
</d2p1:NotificationMethod>
</NotificationMethods>
</NotificationMethodResults>