Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 2675:3fc310ceb6d4 jobs
lua callbacks for jobs
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 11 Jun 2018 20:26:24 +0200 |
parents | e09021ddc00d |
children | 6801f99bbc2f |
comparison
equal
deleted
inserted
replaced
2674:373b44af938f | 2675:3fc310ceb6d4 |
---|---|
700 throw OrthancException(ErrorCode_NullPointer); | 700 throw OrthancException(ErrorCode_NullPointer); |
701 } | 701 } |
702 | 702 |
703 ServerContext& context = OrthancRestApi::GetContext(call); | 703 ServerContext& context = OrthancRestApi::GetContext(call); |
704 | 704 |
705 bool permissive = Toolbox::GetJsonBooleanField(request, "Permissive", true); | 705 bool permissive = Toolbox::GetJsonBooleanField(request, "Permissive", false); |
706 bool asynchronous = Toolbox::GetJsonBooleanField(request, "Asynchronous", false); | 706 bool asynchronous = Toolbox::GetJsonBooleanField(request, "Asynchronous", false); |
707 int priority = Toolbox::GetJsonIntegerField(request, "Priority", 0); | 707 int priority = Toolbox::GetJsonIntegerField(request, "Priority", 0); |
708 | 708 |
709 job->SetPermissive(permissive); | 709 job->SetPermissive(permissive); |
710 | 710 |