Response wrapped in IResult
Example
const mandantoryObject: IAuditRecord = {
type: AuditRecordType.ALARM,
time: '2018-05-02T10:08:00Z',
severity: Severity.MAJOR,
source: {id: 1}
};
(async () => {
const {data, res} = await auditService.create(mandantoryObject);
})();
Response wrapped in IResult
Example
const auditId: number = 1;
(async () => {
const {data, res} = await auditService.detail(auditId);
})();
Response wrapped in IResultList
Generated using TypeDoc