Expandir |
---|
Informações |
---|
icon | false |
---|
title | Configuração |
---|
| Máscara de Url: http://{domínio}:{porta}/api/framework/v1/jobscheduler/{jobid} |
Informações |
---|
icon | false |
---|
title | Exemplo de Entrada |
---|
| Expandir |
---|
title | Ver resultado JSON... |
---|
| Bloco de código |
---|
language | js |
---|
firstline | 1 |
---|
title | Resultado (JSON) |
---|
linenumbers | true |
---|
| {
"firstExecution": "2018-12-06 15:30:00",
"processID": "GlbCopyPermisUsrProc",
"user": "mestre",
"recurrent": true,
"daily": {
"hour": 0,
"minute": 1
},
"executionParameter": {
"SourceUsuario": "mestre",
"RemoveOldPermissions": false,
"CopyToAllApplications": true,
"CodSistema": "G",
"NewUser": {
"Usuario": null,
"Nome": null,
"Senha": null,
"Email": null,
"codAcesso": null,
"UsuariodeRede": null
},
"Initialized": true,
"PrimaryKeyList": [
[
"Fabio.nunes"
]
],
"PrimaryKeyNames": [
"CODUSUARIO"
],
"PrimaryKeyTableName": "GUSUARIO",
"OnlineMode": false,
"SyncExecution": false,
"HideProgressDialog": false,
"SaveParamsExecution": false,
"CodUsuario": "mestre",
"Context": {
"$id": "1",
"_params": {
"$EXERCICIOFISCAL": 2,
"$CODLOCPRT": 12,
"$CODTIPOCURSO": -1,
"$EDUTIPOUSR": "-1",
"$CODUNIDADEBIB": -1,
"$CODCOLIGADA": 1,
"$RHTIPOUSR": "-1",
"$CODIGOEXTERNO": "-1",
"$CODSISTEMA": "G",
"$CODUSUARIOSERVICO": "",
"$CODUSUARIO": "mestre",
"$IDPRJ": -1,
"$CHAPAFUNCIONARIO": "-1",
"$CODFILIAL": 1
},
"Environment": 1
},
"UserName": "mestre",
"ConnectionId": null,
"ConnectionString": null,
"DriverType": null,
"Ip": "10.31.4.57",
"HostName": "BHD050100279",
"JobServerHostName": "BHD050100279",
"ActionName": "GlbActionProcCopyPermisUsr",
"MasterActionName": "GlbUsuarioAction",
"ActionModule": "G",
"JobID": {
"ID": 1,
"ExecID": 1,
"IsPriorityJob": false,
"Children": []
},
"ShowReExecuteButton": true,
"ExecutionId": "2b72d443-e6f6-4693-bd83-318f67585a79",
"ProcessName": "Cópia de Permissões de Usuários",
"ServerName": "GlbCopyPermisUsrProc",
"ServiceInterface": null,
"Scheduler": 1,
"UseJobMonitor": true,
"ScheduleDateTime": "2018-12-06T10:39:57.5233678-02:00",
"CanSendMail": false,
"CanWaitSchedule": false,
"SendMail": false,
"FriendlyLogs": null,
"SuccessMessage": "Processo executado com sucesso",
"FailureMessage": "Falha na execução do processo",
"SaveLogInDatabase": true,
"StatusMessage": null,
"WaitSchedule": false,
"IsolateProcess": false,
"DisableIsolateProcess": false,
"NetworkUser": "fabio.nunes",
"CustomData": null,
"CanParallelize": true,
"ShouldParallelize": false,
"QuantityOfSplits": 0,
"MinimumQuantityOfPrimaryKeysPerProcess": 1,
"MaximumQuantityOfPrimaryKeysPerProcess": 1000,
"NotifyFluig": false,
"NotifyEmail": false,
"NotifyEmailList": null
}
} |
|
|
Informações |
---|
icon | false |
---|
title | Exemplo de Resultado Positivo |
---|
| Expandir |
---|
title | Ver resultado JSON... |
---|
| Bloco de código |
---|
language | js |
---|
firstline | 1 |
---|
title | Resultado (JSON) |
---|
linenumbers | true |
---|
| {
"jobScheduleID": "2",
"status": "active",
"lastModified": "2018-12-06T15:29:47",
"processID": "GlbCopyPermisUsrProc",
"firstExecution": "2018-12-06T15:30:00",
"user": "mestre",
"recurrent": true,
"executionParameter": {
"SourceUsuario": "mestre",
"RemoveOldPermissions": false,
"CopyToAllApplications": true,
"CodSistema": "G",
"NewUser": {
"Usuario": null,
"Nome": null,
"Senha": null,
"Email": null,
"codAcesso": null,
"UsuariodeRede": null
},
"Initialized": true,
"PrimaryKeyList": [
[
"Fabio.nunes"
]
],
"PrimaryKeyNames": [
"CODUSUARIO"
],
"PrimaryKeyTableName": "GUSUARIO",
"OnlineMode": false,
"SyncExecution": false,
"HideProgressDialog": false,
"SaveParamsExecution": false,
"CodUsuario": "mestre",
"Context": {
"$id": "1",
"_params": {
"$EXERCICIOFISCAL": 2,
"$CODLOCPRT": 12,
"$CODTIPOCURSO": -1,
"$EDUTIPOUSR": "-1",
"$CODUNIDADEBIB": -1,
"$CODCOLIGADA": 1,
"$RHTIPOUSR": "-1",
"$CODIGOEXTERNO": "-1",
"$CODSISTEMA": "G",
"$CODUSUARIOSERVICO": "",
"$CODUSUARIO": "mestre",
"$IDPRJ": -1,
"$CHAPAFUNCIONARIO": "-1",
"$CODFILIAL": 1
},
"Environment": 1
},
"UserName": "mestre",
"ConnectionId": null,
"ConnectionString": null,
"DriverType": null,
"Ip": "10.31.4.57",
"HostName": "BHD050100279",
"JobServerHostName": "BHD050100279",
"ActionName": "GlbActionProcCopyPermisUsr",
"MasterActionName": "GlbUsuarioAction",
"ActionModule": "G",
"JobID": {
"ID": 2,
"ExecID": 1,
"IsPriorityJob": false,
"Children": []
},
"ShowReExecuteButton": true,
"ExecutionId": "2b72d443-e6f6-4693-bd83-318f67585a79",
"ProcessName": "Cópia de Permissões de Usuários",
"ServerName": "GlbCopyPermisUsrProc",
"ServiceInterface": null,
"Scheduler": 1,
"UseJobMonitor": true,
"ScheduleDateTime": "2018-12-06T10:39:57.5233678-02:00",
"CanSendMail": false,
"CanWaitSchedule": false,
"SendMail": false,
"FriendlyLogs": null,
"SuccessMessage": "Processo executado com sucesso",
"FailureMessage": "Falha na execução do processo",
"SaveLogInDatabase": true,
"StatusMessage": null,
"WaitSchedule": false,
"IsolateProcess": false,
"DisableIsolateProcess": false,
"NetworkUser": "",
"CustomData": null,
"CanParallelize": true,
"ShouldParallelize": false,
"QuantityOfSplits": 0,
"MinimumQuantityOfPrimaryKeysPerProcess": 1,
"MaximumQuantityOfPrimaryKeysPerProcess": 1000,
"NotifyFluig": false,
"NotifyEmail": false,
"NotifyEmailList": null
},
"daily": {
"hour": 0,
"minute": 1
}
} |
|
|
Informações |
---|
icon | false |
---|
title | Exemplo de Resultado Negativo |
---|
| Expandir |
---|
title | Ver resultado JSON... |
---|
| Bloco de código |
---|
language | js |
---|
firstline | 1 |
---|
title | Resultado (JSON) |
---|
linenumbers | true |
---|
| {
"Code": "FE016",
"Message": "O Job 10 não foi encontrado na base de dados!",
"DetailMessage": "",
"HelpUrl": "http://tdn.totvs.com/x/e0F0GQ",
"Details": null
} |
|
|
|
|