mirror of
https://github.com/sasjs/core.git
synced 2026-01-07 09:30:06 +00:00
4
all.sas
4
all.sas
@@ -9943,7 +9943,7 @@ libname &libref1 JSON fileref=&fname1;
|
|||||||
|
|
||||||
data _null_;
|
data _null_;
|
||||||
set &libref1..links;
|
set &libref1..links;
|
||||||
if rel='members' then call symputx('membercheck',quote(trim(href)),'l');
|
if rel='members' then call symputx('membercheck',quote("&base_uri"!!trim(href)),'l');
|
||||||
else if rel='self' then call symputx('parentFolderUri',href,'l');
|
else if rel='self' then call symputx('parentFolderUri',href,'l');
|
||||||
run;
|
run;
|
||||||
data _null_;
|
data _null_;
|
||||||
@@ -10409,7 +10409,7 @@ proc http method='POST'
|
|||||||
in=&fname3
|
in=&fname3
|
||||||
out=&fname4
|
out=&fname4
|
||||||
&oauth_bearer
|
&oauth_bearer
|
||||||
url="/jobDefinitions/definitions?parentFolderUri=&parentFolderUri";
|
url="&base_uri/jobDefinitions/definitions?parentFolderUri=&parentFolderUri";
|
||||||
headers 'Content-Type'='application/vnd.sas.job.definition+json'
|
headers 'Content-Type'='application/vnd.sas.job.definition+json'
|
||||||
%if &grant_type=authorization_code %then %do;
|
%if &grant_type=authorization_code %then %do;
|
||||||
"Authorization"="Bearer &&&access_token_var"
|
"Authorization"="Bearer &&&access_token_var"
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ libname &libref1 JSON fileref=&fname1;
|
|||||||
|
|
||||||
data _null_;
|
data _null_;
|
||||||
set &libref1..links;
|
set &libref1..links;
|
||||||
if rel='members' then call symputx('membercheck',quote(trim(href)),'l');
|
if rel='members' then call symputx('membercheck',quote("&base_uri"!!trim(href)),'l');
|
||||||
else if rel='self' then call symputx('parentFolderUri',href,'l');
|
else if rel='self' then call symputx('parentFolderUri',href,'l');
|
||||||
run;
|
run;
|
||||||
data _null_;
|
data _null_;
|
||||||
@@ -609,7 +609,7 @@ proc http method='POST'
|
|||||||
in=&fname3
|
in=&fname3
|
||||||
out=&fname4
|
out=&fname4
|
||||||
&oauth_bearer
|
&oauth_bearer
|
||||||
url="/jobDefinitions/definitions?parentFolderUri=&parentFolderUri";
|
url="&base_uri/jobDefinitions/definitions?parentFolderUri=&parentFolderUri";
|
||||||
headers 'Content-Type'='application/vnd.sas.job.definition+json'
|
headers 'Content-Type'='application/vnd.sas.job.definition+json'
|
||||||
%if &grant_type=authorization_code %then %do;
|
%if &grant_type=authorization_code %then %do;
|
||||||
"Authorization"="Bearer &&&access_token_var"
|
"Authorization"="Bearer &&&access_token_var"
|
||||||
|
|||||||
Reference in New Issue
Block a user