Forum Discussion

bongsakorn's avatar
7 years ago

No "to" field returned in some notes

Hello there,

I call the api 

https://api.lithium.com/community/v1/kebkuXXXXX/users/id/xxxxx/mailbox/notes/outbox

and response:

<response status="success">
    <notes>
        <note type="note" href="/notes/id/126748">
            <sent_time type="date_time">2018-10-12T04:51:28+00:00</sent_time>
            <from type="user" href="/users/id/163080">
                <login type="string">hazardp</login>
            </from>
            <recieved_time type="date_time">2018-10-12T08:31:29+00:00</recieved_time>
            <body type="string">Hello there,</body>
            <subject type="string">ABC </subject>
            <id type="int">126748</id>
        </note>
        <note type="note" href="/notes/id/125014">
            <sent_time type="date_time">2018-09-21T03:09:28+00:00</sent_time>
            <from type="user" href="/users/id/163080">
                <login type="string">hazardp</login>
            </from>
            <to type="user" href="/users/id/151864">
                <login type="string">Tester2</login>
            </to>
            <recieved_time type="date_time" null="true"/>
            <body type="string">&lt;P&gt;Hello World&amp;nbsp;&lt;/P&gt;</body>
            <subject type="string">test</subject>
            <id type="int">125014</id>
        </note>
    </notes>
</response>

the response in some notes no "to" field.  What wrong is it?

5 Replies