Use Case for Retrieving Journal Entries Created After a Date
To retrieve journal entries created after a date, enter the created date in the request body.
{{REST_SERVICES}}/record/v1/journalentry/?q=createddate AFTER "2/14/23"
Following is a sample response:
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/?q=createddate+AFTER+%222%2F14%2F23%22"
}
],
"count": 7,
"hasMore": false,
"items": [
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/1415"
}
],
"id": "1415"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/1416"
}
],
"id": "1416"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/1516"
}
],
"id": "1516"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/1417"
}
],
"id": "1417"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/1517"
}
],
"id": "1517"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/1518"
}
],
"id": "1518"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/1618"
}
],
"id": "1618"
}
],
"offset": 0,
"totalResults": 7
}