edit: field Shortcode dan expire duration
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
@pydicomApiKey=2f0ff447b2c3aeef2004e83a750ded97e29ba8c0ccc70053d5e26f5d715e42ff
|
||||
|
||||
### Test the PYDICOM upload endpoint
|
||||
POST {{baseUrl}}/uploaded_dicom
|
||||
POST {{baseUrl}}/uploaded-dicom
|
||||
X-PYDICOM-API-KEY: {{pydicomApiKey}}
|
||||
Content-Type: application/json
|
||||
|
||||
@@ -35,4 +35,28 @@ Content-Type: application/json
|
||||
# "full_url": "http://localhost:3333/short-auth?short=LDYZX",
|
||||
# "expires_at": "2025-05-18T02:04:46Z",
|
||||
# "is_existing": true
|
||||
# }
|
||||
# }
|
||||
|
||||
POST {{baseUrl}}/uploaded_dicom
|
||||
X-PYDICOM-API-KEY: {{pydicomApiKey}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"email": "randomuser@example.com",
|
||||
"password": "securepassword456",
|
||||
"name": "John Doe",
|
||||
"role": "patient",
|
||||
"patient": {
|
||||
"patient_id": "MR00000789",
|
||||
"patient_name": "John Doe",
|
||||
"date_of_birth": "1990-07-15"
|
||||
},
|
||||
"studies": [
|
||||
{
|
||||
"study_instance_uid": "1.2.826.0.1.3680043.9.1234.1.202507151234.01",
|
||||
"accession_number": "CR.150720.1234.01",
|
||||
"study_date": "2025-07-15",
|
||||
"study_description": "CT Scan"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user