How to get supportcase message history Netsuite API
Hi,
We are looking to make use of the Netsuite REST API to collect information surrounding support tickets.
After performing GET request on the following path:
/record/v1/supportcase/{supportcaseNumber}
This returns almost all of the supportcase information we are looking for except the message history.
An “incomingMessage” field is provided in the JSON response however this only returns the most recent client response to the support ticket.
We would like to get the entire message history for supportcases – I could not see any way to retrieve this information using the API.
If someone could point me in the right direction that would be much appreciated.
Thanks,
Kind regards,
Laurence
Hi,
I suspect you’ll need to use /record/vi/message and filter the results in there by the related support case.
Let me know if you need some further help.
Thanks,
Chris
Hi thanks for the response Chris.
I did have a look at the /record/v1/message endpoint and it seems that not all of the supportcase messages can be retrieved from there (there are no message at all for some supportcases – although the expected supportcases can be clearly found at /record/v1/supportcase).
I am wondering whether this has something to do with permissions when the API access token was set up?
Or perhaps a filter can be applied to filter by company?
Thanks in advance,
Laurence