We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4826e3f + b6727dc commit 998b3d4Copy full SHA for 998b3d4
examples/Navigator/eg001ListAgreements.sh
@@ -16,6 +16,7 @@ ACCOUNT_ID=$(cat config/API_ACCOUNT_ID)
16
base_path="https://api-d.docusign.com/v1"
17
18
#ds-snippet-start:Navigator1Step2
19
+#apx-snippet-start:GetAgreementsList
20
declare -a Headers=('--header' "Authorization: Bearer ${ACCESS_TOKEN}" \
21
'--header' "Accept: application/json" \
22
'--header' "Content-Type: application/json")
@@ -27,6 +28,7 @@ response=$(mktemp /tmp/response-cw.XXXXXX)
27
28
Status=$(curl -w '%{http_code}' -i --ssl-no-revoke --request GET ${base_path}/accounts/${ACCOUNT_ID}/agreements \
29
"${Headers[@]}" \
30
--output ${response})
31
+#apx-snippet-end:GetAgreementsList
32
#ds-snippet-end:Navigator1Step3
33
34
if [[ "$Status" -gt "399" ]] ; then
0 commit comments