_API JobHistoryRequest Response
Matthew Wren (Unlicensed)
Analytics
Web Service | Type | Description | Req? | Val? | ||||
|
|
|
| |||||
| A structure containing details of the success or failure of the API call. | |||||||
<type>?</type> | ReturnCodeType | The type of return code, indicating if the result is success, success with a warning, or failure. | ||||||
<code>?</code> | int | The Return Code number, representing the result of the API call. | ||||||
<errNote>?</errNote> | string | Optional note about any error(s). | ![]() | |||||
</result> | ||||||||
<auditStatus> | A optional structure describing the level of job history auditing that is currently enabled in ServiceScheduling.
| |||||||
<ganttAuditing>?</ganttAuditing> | AuditStatus | Indicates if job history auditing of changes made via ServiceGANTT is enabled or not enabled. | ||||||
<systemAuditing>?</systemAuditing> | AuditStatus | Indicates if job history auditing of changes made via the API and/or ServiceOptimizer system is enabled, not enabled, or partially enabled. | ||||||
<auditSetup> | An optional structure, which may be returned multiple times, providing further details on the level of API and/or ServiceOptimizer system job history auditing, when this is only partially enabled.
| |||||||
<auditName>?</auditName> | string | The name of the relevant
| ||||||
<auditStatusValue>?</auditStatusValue> | AuditStatus | Indicates if job history auditing via the relevant parameter defined by the auditName value in the auditUsage structure is enabled or not enabled. | ||||||
</auditSetup> | ||||||||
</auditStatus> | ||||||||
<transaction> | An optional structure, which may be returned multiple times, containing the details of the relevant job history records, given the API call input values.
| |||||||
<timestamp>?</timestamp> | timestamp | The date and time of the job history record. Times are in the time zone of the database server ( | ||||||
<sequence>?</sequence> | A sequence number, where multiple records are recorded for the same transaction. | |||||||
<transaction>?</transaction> | The job history transaction number. | |||||||
<action>?</action> | string(1-20) | Either:
| ||||||
<user>?</user> | string(1-50) | The username of the user who performed the change to the job, if relevant. | ||||||
<field> | An optional structure, which may be returned multiple times, containing the details of fields changed as part of the overall change to the job being described in the
| |||||||
<name>?</name> | The name of the job field that was changed as part of the transaction . | |||||||
<old_value>?</old_value> | The value of the field prior to the change. | |||||||
<new_value>?</new_value> | The new value of the field as set by the change performed. | |||||||
</field> | ||||||||
</transaction> | ||||||||
</sp:JobHistoryResponse> |