SetMessageStatus

 

SetMessageStatus

This method is used to change the status of a message for a specified publisher.
Please note that once a message is set to "deleted" its status cannot be canged any more.

To access live data, please use this WSDL file:
https://api.affili.net/V2.0/PublisherInbox.svc?wsdl
To access demo data, please use this WSDL file:
https://developer-api.affili.net/V2.0/PublisherInbox.svc?wsdl


Operation test

With this form, you can try out this web service. We already filled it out with a sample request which will return data. Feel free to fill in different parameter values - our test data reference gives you an overview of our sample data.

FieldTypeValues
PublisherId *int 
MessageId *int 
MailMessageStatusenum

XML response

Short paramter definitions
PublisherId (int):
Id of the publisher whose account is being used.
MessageId (int):
Id of the message which should be updated.
MailMessageStatus (enum):
This parameter defines the status of the message which should be set. Possible values are: None, Read, Unread, Deleted

Complete code examples

PHP

 (request)

.NET

 (request)

Copyright © 2008, affilinet GmbH