# Table of contents:
# Introduction
GetMetadata is one of the SOAP actions the RSI provides.
Gets the mail data for the user.
# Client/Request
The template used in this action is described on the RSI main page.
# GetMetadataThis element has only one attribute:
xmlns: This is always set tohttp://www.hotmail.msn.com/ws/2004/09/oim/rsi.
# Server/Response
The template used in this action is described on the RSI main page.
# GetMetadataResponseThis element has only one attribute:
xmlns: This is always set tohttp://www.hotmail.msn.com/ws/2004/09/oim/rsi.
This element has two children:
<E>: Described below.<Q>: Described below.
This element may also contain one or more <M> elements.
This element has four children:
<I>: The number of messages in your inbox.<IU>: The number of unread messages in your inbox.<O>: The number of messages in your other folders.<OU>: The number of unread messages in your inbox.
This element has two children:
<QTM>: Unknown.<QNM>: Unknown.
This element has nine children:
<T>: Type:11: This message is an offline message.12: Unknown.13: Unknown. Seems to be related to network IDs?
<RT>: Received time. This is in the ISO 8601 format with 3 sub-second digits.<E>: The user handle that sent this message.<I>: The message ID.<N>: The display name of the user handle that belongs to<E>. May be encoded by RFC2047.<F>: The folder that this message belongs to. Usually.!!OIMor00000000-0000-0000-0000-000000000009.<SZ>: The full size of the message, including it's headers.<RS>: Read state. An unread message has0. A read message has1.<S>: Subscribed. Only observed to be6or7.
# Examples
# Client/Request
POST /rsi/rsi.asmx HTTP/1.1
SOAPAction: http://www.hotmail.msn.com/ws/2004/09/oim/rsi/GetMetadata
Cache-Control: no-cache
Content-Type: text/xml; charset=utf-8
Content-Length: 487
<?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:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Header>
<PassportCookie xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi">
<t>ticket</t>
<p>profile</p>
</PassportCookie>
</soap:Header>
<soap:Body>
<GetMetadata xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi" />
</soap:Body>
</soap:Envelope>
# Server/Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: ?
<?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:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Body>
<GetMetadataResponse xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi">
<MD>
<E>
<I>0</I>
<IU>0</IU>
<O>0</O>
<OU>0</OU>
</E>
<Q>
<QTM>409600</QTM>
<QNM>204800</QNM>
</Q>
<M>
<T>11</T>
<S>7</S>
<RT>2026-07-24T09:26:29.720Z</RT>
<RS>0</RS>
<SZ>320</SZ>
<E>example@hotmail.com</E>
<I>MSG1784881639.24</I>
<F>00000000-0000-0000-0000-000000000009</F>
<N>example@hotmail.com</N>
</M>
</MD>
</GetMetadataResponse>
</soap:Body>
</soap:Envelope>