Skip to content

Commit 501b80e

Browse files
changed lay out and added pm project to folder static/files
1 parent e702834 commit 501b80e

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

docs/documents/example-document-upload.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ description: "Step-by-step guide and Postman example for uploading documents in
44
keywords: ["Document Upload", "DRC", "ZGW", "OneGround", "File Parts", "Bestandsdelen", "Postman", "API"]
55
---
66

7-
Attached is an example [Postman project](./examplepm.json) with a sequence for document upload in parts (bestandsdelen).
7+
<div class="text--center" style={{margin: '2rem 0'}}>
8+
<a href="/files/examplepm.json" class="button button--primary button--lg" download>
9+
Download Postman Project
10+
</a>
11+
</div>
812

9-
Please pay attention to the following:
13+
Please pay attention to the following points when using the example project:
1014

11-
- the JWT should be generated using a Client ID and secret
12-
- the field bronorganisatie in the body of step 1 should contain the rsin of the organisation that owns the DRC (thus, the rsin of the customer)
13-
- the field "inhoud" in the body of step 1 should be null
14-
- the field "bestandsomvang" in the body of step 1 should match the number if bytes in your sample file in step 2
15-
- the response to step 1 contains a lock, and the url to the bestandsdelen
15+
- The JWT should be generated using a Client ID and secret. In OneGround, the token is best obtained [via IDP](../general/authentication.md), but it can also be self-generated.
16+
- The `bronorganisatie` field in the body of step 1 must contain the RSIN of the organization that owns the DRC (i.e., the customer's RSIN).
17+
- The `inhoud` field in the body of step 1 should be `null`.
18+
- The `bestandsomvang` field in the body of step 1 must match the size in bytes of your sample file used in step 2.
19+
- The response to step 1 contains a `lock` and the URL to the `bestandsdelen` endpoint.

0 commit comments

Comments
 (0)