OPTIONS api/UserAccount/UpdateSubscriber
Request Information
URI Parameters
None.
Body Parameters
NotificationSubscriberCommandName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
AccountId | string |
None. |
|
AddressId | string |
None. |
|
NotificationType | string |
None. |
|
Active | boolean |
None. |
|
NextStop | boolean |
None. |
|
RA | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "AccountId": "sample string 2", "AddressId": "sample string 3", "NotificationType": "sample string 4", "Active": true, "NextStop": true, "RA": true }
application/xml, text/xml
Sample:
<NotificationSubscriberCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Services.ServiceCommands"> <AccountId>sample string 2</AccountId> <Active>true</Active> <AddressId>sample string 3</AddressId> <Email>sample string 1</Email> <NextStop>true</NextStop> <NotificationType>sample string 4</NotificationType> <RA>true</RA> </NotificationSubscriberCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResponseName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ErrorMessages | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "ErrorMessages": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<UpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Entities"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorMessages> <Success>true</Success> </UpdateResponse>