Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Accessing Messages via SuiteTalk
I am trying to access the messages in the account with a bare MessageSearch request yet it returns nothing. Is there some sort of permission that needs to be granted? When I log in to my development account I can see that there are messages associated with customers, yet the API doesn't return them. Here is a sample request that I've sent.
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Header> <tokenPassport xmlns="urn:messages_2016_2.platform.webservices.netsuite.com"> <account xmlns="urn:core_2016_2.platform.webservices.netsuite.com">TSTDRV1633049</account> <consumerKey xmlns="urn:core_2016_2.platform.webservices.netsuite.com">****************************************************************</consumerKey> <token xmlns="urn:core_2016_2.platform.webservices.netsuite.com">****************************************************************</token> <nonce xmlns="urn:core_2016_2.platform.webservices.netsuite.com">987359813</nonce> <timestamp xmlns="urn:core_2016_2.platform.webservices.netsuite.com">1487606457</timestamp> <signature algorithm="HMAC-SHA1" xmlns="urn:core_2016_2.platform.webservices.netsuite.com">****************************</signature> </tokenPassport> </soap:Header> <soap:Body> <search xmlns="urn:messages_2016_2.platform.webservices.netsuite.com"> <searchRecord xsi:type="q1:MessageSearch" xmlns:q1="urn:communication_2016_2.general.webservices.netsuite.com"> <q1:basic/> </searchRecord> </search> </soap:Body> </soap:Envelope>
Tagged:
0