ユーザ ーが作成した署名リクエストを取得します。sign_files
やparent_folder
が削除された場合、署名リクエストはリストで返されません。
1000
1000
返す項目の1ページあたりの最大数。
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii
結果が返される開始位置のマーカー。マーカーベースのページ割りを使用している場合に使用されます。
これを使用するには、usemarker
をtrue
に設定する必要があります。
署名リクエストのコレクションを返します。
予期しないクライアントエラー。
curl -i -X GET "https://api.box.com/2.0/sign_requests" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.signRequests.getSignRequests();
client.sign_requests.get_sign_requests()
await client.SignRequests.GetSignRequestsAsync();
Iterable<BoxSignRequest.Info> signRequests = BoxSignRequest.getAll(api);
for (BoxSignRequest.Info signRequestInfo : signRequests) {
// Do something with each `signRequestInfo`.
}
sign_requests = client.get_sign_requests()
for sign_request in sign_requests:
print(f'(Sign Request ID: {sign_request.id})')
BoxCollectionMarkerBased<BoxSignRequest> signRequests = await client.SignRequestsManager.GetSignRequestsAsync();
const result = await client.signRequests.getAll();
console.log(`There are ${result.count} sign requests`);
let iterator = client.signRequests.list()
iterator.next { results in
switch results {
case let .success(page):
for signRequest in page.entries {
print("Sign request \(signRequest.id)")
}
case let .failure(error):
print(error)
}
}
{
"entries": [
{
"are_reminders_enabled": true,
"are_text_signatures_enabled": true,
"days_valid": 2,
"declined_redirect_url": "https://declined-redirect.com",
"email_message": "Hello! Please sign the document below",
"email_subject": "Sign Request from Acme",
"external_id": "123",
"external_system_name": "Box",
"is_document_preparation_needed": true,
"name": "name",
"prefill_tags": [
{
"checkbox_value": true,
"date_value": "2021-04-26",
"document_tag_id": "1234",
"text_value": "text"
}
],
"redirect_url": "https://www.example.com",
"template_id": "123075213-af2c8822-3ef2-4952-8557-52d69c2fe9cb",
"auto_expire_at": "2021-04-26T08:12:13.982Z",
"id": "12345",
"parent_folder": {
"etag": "1",
"id": "12345",
"type": "folder",
"name": "Contracts",
"sequence_id": "3"
},
"prepare_url": "https://prepareurl.com",
"sign_files": {
"files": [
{
"etag": "1",
"id": "12345",
"type": "file",
"file_version": {
"id": "12345",
"type": "file_version",
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc"
},
"name": "Contract.pdf",
"sequence_id": "3",
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37"
}
],
"is_ready_for_download": true
},
"signature_color": "blue",
"signers": [
{
"declined_redirect_url": "https://declined-example.com",
"email": "example@gmail.com",
"embed_url_external_user_id": "1234",
"is_in_person": true,
"login_required": true,
"order": 2,
"password": "SecretPassword123",
"redirect_url": "https://example.com",
"role": "signer",
"signer_group_id": "cd4ff89-8fc1-42cf-8b29-1890dedd26d7",
"suppress_notifications": false,
"embed_url": "https://example.com",
"has_viewed_document": true,
"iframeable_embed_url": "https://app.box.com/embed/sign/document/gfhr4222-a331-494b-808b-79bc7f3992a3/f14d7098-a331-494b-808b-79bc7f3992a4",
"inputs": [
{
"checkbox_value": true,
"date_value": "2021-04-26",
"document_tag_id": "1234",
"text_value": "text",
"content_type": "signature",
"page_index": 4,
"read_only": true,
"type": "text"
}
],
"signer_decision": {
"additional_info": "Requesting changes before signing.",
"finalized_at": "2021-04-26T08:12:13.982Z",
"type": "signed"
}
}
],
"signing_log": {
"etag": "1",
"id": "12345",
"type": "file",
"file_version": {
"id": "12345",
"type": "file_version",
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc"
},
"name": "Contract.pdf",
"sequence_id": "3",
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37"
},
"source_files": [
{
"etag": "1",
"id": "12345",
"type": "file"
}
],
"status": "converting",
"type": "sign-request"
}
],
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}