Retrieve journal entries using direct web services
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- API implementation
To get the contents of a journal field, make a second soap request against the sys_journal_field table to pull the appropriate journal records back for the record in question.
The URL for the WSDL would be in the following format.
To retrieve the journal entries, you will first need to query the incident for its sys_id value, and then supply it as the element_id value in a getRecords call. To specify records only for the comments field, specify the value comments for the element field. For example, a SOAP request would look like the following:
Related Content
- Use forms to limit or extend the query response
On occasion, there is a need to limit the number of field values that a SOAP query returns.
- Return the display value for reference variables
When you query a record using a get or getRecords function, the instance returns all fields associated with that record. The fields are often reference fields that contain a sys_id for a record on another table.
- Clear values from a target instance
You can pass an empty value through a SOAP parameter to clear the respective value in the target instance.
- Retrieve choice fields using direct web services
To retrieve or set choice fields, use the choice Value, not the Label.
- Persist an HTTP session across all SOAP calls
In circumstances when a SOAP client makes many calls in a short amount of time, you may want to re-use a single HTTP session for all SOAP calls.
- SOAP direct web service API functions
The standard SOAP API is a set of small, globally defined functions that can be performed on a targeted resource.