Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inputs (Array[] to update)

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuidThe BrickId (unique id) of the message.YesNew method in 2.24
ReceiverGuidThe receiver of the message. 

SubjectstringThe subject of the message.

BodystringThe body of the message.

EventDateDateTimeA date associated with the message.

IsHTMLboolIf the body of the message contains html this should be set to true.

IsReadboolIf the message is read by the customer.

IsPublicboolIf the message is public.

IsPromotedboolIf the message is promoted i.e. shown on the account overview when the user logs in.

PrioritystringWhich priority the message should have. Allowed values are: "High", "Medium", "Low".

StatusstringWhich status the message should have. Allowed values are: "Created", "InProgress", "Done", "Closed".

Outputs

NameTypeDescriptionAvailable from version
EntitiesArrayAll message in the request is returned along with each message BrickId and array of Errors per message

Code examples

Code Block
languagexml
titleXML Example - Update Message Status
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:tns="http://tempuri.org/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/">
    <soap:Body>
        <UpdateMessages xmlns="http://tempuri.org/">
            <req>
                <Credentials>
                    <UserName>[Username]</UserName>
                    <Password>[Password]</Password>
                </Credentials>
                <identify>[IdentityIdentifier]</identify>
                <Entities>
                    <UpdateMessage>
                        <BrickId>
                            [Guid Id of the message]
                        </BrickId>
                        <IsRead>true</IsRead>
                    </UpdateMessage>
                </Entities>
                <Fields>
                    <BrickId>true</BrickId>
                    <IsRead>true</IsRead>
                </Fields>
            </req>
        </UpdateMessages>
    </soap:Body>
</soap:Envelope>

...