{"swagger":"2.0","info":{"version":"v1","title":"Otoscan Public API"},"host":"aus-devapi.earscanning.com","schemes":["https"],"paths":{"/api/Clinics/{clinicId}":{"get":{"tags":["Clinics"],"summary":"Returns clinic object.","operationId":"Clinics_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics":{"get":{"tags":["Clinics"],"summary":"Get clinics from clinicIds.","operationId":"Clinics_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"ids","in":"query","description":"Unique identifiers of clinic","required":true,"type":"array","items":{"type":"string","format":"uuid"},"collectionFormat":"multi"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Batches":{"get":{"tags":["Clinics : Batches"],"summary":"Get the batches for clinic","operationId":"Batch_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for the clinic","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["Clinics : Batches"],"summary":"Create batch for clinic","operationId":"Batch_Post","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"batch","in":"body","description":"Batch model","required":true,"schema":{"$ref":"#/definitions/Batch"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Batch"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Orders/{orderId}/Attachments/{attachmentId}":{"get":{"tags":["Clinics : Orders : Attachments"],"summary":"Get attachment linked to an order by Clinic","operationId":"ClinicAttachments_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for the Clinic","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for the Order","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","description":"Unique identifier for the Attachment","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Orders/{orderId}/Attachments":{"get":{"tags":["Clinics : Orders : Attachments"],"summary":"Get list of Attachments linked to Order for Clinic","operationId":"ClinicAttachments_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for the Clinic","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for the Order","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Orders/{orderId}/Attachments/{attachmentId}/Download":{"get":{"tags":["Clinics : Orders : Attachments"],"summary":"Download PDF version of the Attachment","operationId":"ClinicAttachments_Download","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for the Clinic","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for the Order","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","description":"Unique identifier for the Attachment","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients":{"get":{"tags":["Clinics : Patients"],"summary":"Get patients for the clinic.","operationId":"Patients_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["Clinics : Patients"],"summary":"Creates patient object.","operationId":"Patients_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patient","in":"body","description":"Patient object to be created","required":true,"schema":{"$ref":"#/definitions/Patient"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Patient"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}":{"get":{"tags":["Clinics : Patients"],"summary":"Returns patient object for the clinic.","operationId":"Patients_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["Clinics : Patients"],"summary":"Updates patient object.","operationId":"Patients_Put","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"patient","in":"body","description":"Patient object to be created","required":true,"schema":{"$ref":"#/definitions/Patient"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["Clinics : Patients"],"summary":"Deletes patient object.","operationId":"Patients_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":"No content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Orders/{orderId}/Attachments/{attachmentId}":{"get":{"tags":["Clinics : Patients : Orders : Attachments"],"summary":"Get attachment","operationId":"Attachments_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"Unique identifier for Patient","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for Order","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","description":"Unique identifier for Attachment","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["Clinics : Patients : Orders : Attachments"],"summary":"Remove attachment","operationId":"Attachments_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"Unique identifier for Patient","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for Order","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","description":"Unique identifier for Attachment","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Orders/{orderId}/Attachments":{"get":{"tags":["Clinics : Patients : Orders : Attachments"],"summary":"Get list of Order Form attachments","operationId":"Attachments_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"Unique identifier for Patient","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for Order","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["Clinics : Patients : Orders : Attachments"],"summary":"Create order form Attachment","operationId":"Attachments_Post","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"Unique identifier for Patient","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for Order","required":true,"type":"string","format":"uuid"},{"name":"attachment","in":"body","description":"Instance of Attachment","required":true,"schema":{"$ref":"#/definitions/OrderFormAttachment"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderFormAttachment"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Orders/{orderId}/Attachments/{attachmentId}/Download":{"get":{"tags":["Clinics : Patients : Orders : Attachments"],"summary":"Download the Attachment","operationId":"Attachments_Download","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"Unique identifier for Patient","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Unique identifier for Order","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","description":"Unique identifier for Attachment","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans":{"get":{"tags":["Clinics : Patients : Scans"],"summary":"Returns scans of patient.","operationId":"PatientScans_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["Clinics : Patients : Scans"],"summary":"Create scan.","operationId":"PatientScans_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scan","in":"body","description":"Scan to be updated","required":true,"schema":{"$ref":"#/definitions/Scan"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}":{"get":{"tags":["Clinics : Patients : Scans"],"summary":"Returns scan object of scan id.","operationId":"PatientScans_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"put":{"tags":["Clinics : Patients : Scans"],"summary":"Updates scan.","operationId":"PatientScans_Put","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"scan","in":"body","description":"Scan to be updated","required":true,"schema":{"$ref":"#/definitions/Scan"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["Clinics : Patients : Scans"],"summary":"Delete scan.","operationId":"PatientScans_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"scan","in":"body","description":"Scan to be deleted","required":true,"schema":{"$ref":"#/definitions/Scan"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}/ScanFile":{"get":{"tags":["Clinics : Patients : Scans"],"summary":"Returns Scan File (byte array).","operationId":"PatientScans_GetStlFile","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["Clinics : Patients : Scans"],"summary":"Upload Scan file (Byte array).","operationId":"PatientScans_UploadStlFile","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"scanFile","in":"body","description":"Scan File (Byte array)","required":true,"schema":{"format":"byte","type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}/Thumbnail":{"get":{"tags":["Clinics : Patients : Scans"],"summary":"Returns thumbnail (byte array) of the scan.","operationId":"PatientScans_GetThumbnail","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"post":{"tags":["Clinics : Patients : Scans"],"summary":"Upload Thumbnail file (Byte array).","operationId":"PatientScans_UploadThumbnailFile","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"thumbnail","in":"body","description":"Thumbnail (Byte array)","required":true,"schema":{"format":"byte","type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}/ScanFileWithHoles":{"post":{"tags":["Clinics : Patients : Scans"],"summary":"Upload Scan File With Holes(Byte array).","operationId":"PatientScans_UploadStlFileWithHoles","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"scanFile","in":"body","description":"Scan File With Holes (Byte array)","required":true,"schema":{"format":"byte","type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}/Debug":{"post":{"tags":["Clinics : Patients : Scans"],"summary":"Upload Debug File (Byte array).","operationId":"PatientScans_UploadDebugFile","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"debugFile","in":"body","description":"Debug File (Byte array)","required":true,"schema":{"format":"byte","type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}/DeepLearning":{"post":{"tags":["Clinics : Patients : Scans : DeepLearning"],"summary":"Upload DeepLearning File (Byte array).","operationId":"PatientScans_UploadDeepLearningFile","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"deepLearningFile","in":"body","description":"Deep Learning file (Byte array)","required":true,"schema":{"format":"byte","type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}/PointCloud":{"post":{"tags":["Clinics : Patients : Scans : PointCloud"],"summary":"Upload Scan file (Byte array) for point cloud.","operationId":"PatientScans_UploadPointCloud","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"scanFile","in":"body","description":"Scan File (Byte array)","required":true,"schema":{"format":"byte","type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Patients/{patientId}/Scans/{scanId}/RealTimeMesh":{"post":{"tags":["Clinics : Patients : Scans : RealTimeMesh"],"summary":"Upload Mesh file (Byte array).","operationId":"PatientScans_UploadRealTimeMesh","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"An unique identifier for the patient","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"An unique identifier for the scan","required":true,"type":"string","format":"uuid"},{"name":"scanFile","in":"body","description":"Scan File (Byte array)","required":true,"schema":{"format":"byte","type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Scans":{"get":{"tags":["Clinics : Scans"],"summary":"Returns Scan File (byte array).","operationId":"Scans_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"An unique identifier for the clinic","required":true,"type":"string","format":"uuid"},{"name":"ids","in":"query","description":"Collection of scan guid","required":true,"type":"array","items":{"type":"string","format":"uuid"},"collectionFormat":"multi"}],"responses":{"200":{"description":""}}}},"/api/Clinics/{clinicId}/Users":{"get":{"tags":["Clinics : Users"],"summary":"Get list of Clinic Users","operationId":"ClinicUsers_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Clinics/{clinicId}/Users/{userId}":{"get":{"tags":["Clinics : Users"],"summary":"Get User","operationId":"ClinicUsers_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"},{"name":"userId","in":"path","description":"Unique identifier for User","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}},"delete":{"tags":["Clinics : Users"],"summary":"Remove User from Clinic","operationId":"ClinicUsers_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"clinicId","in":"path","description":"Unique identifier for Clinic","required":true,"type":"string","format":"uuid"},{"name":"userId","in":"path","description":"Unique identifier for User","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Manufacturers/{manufacturerId}":{"get":{"tags":["Manufacturers"],"summary":"Get the information associated with the Manufacturer","operationId":"Manufacturers_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"Valid manufacturer identification number","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Manufacturer"}},"401":{"description":"Unauthorized"},"404":{"description":"Resource not found"},"500":{"description":"Internal Server Error"}}}},"/api/Manufacturers/{manufacturerId}/Addresses":{"get":{"tags":["Manufacturers : Addresses"],"summary":"Return the list of addresses associated with the manufacturer.","operationId":"Manufacturers_GetAddresses","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : Addresses"],"summary":"Add a new address to the manufacturer.","operationId":"Manufacturers_AddAddress","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"address","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Address"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Address"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Addresses/{addressId}":{"put":{"tags":["Manufacturers : Addresses"],"summary":"Update the address associated with the manufacturer.","operationId":"Manufacturers_UpdateAddress","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"addressId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"address","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Address"}}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Addresses"],"summary":"Remove an address from the manufacturer.","operationId":"Manufacturers_RemoveAddress","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"addressId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Clinics":{"get":{"tags":["Manufacturers : Clinics"],"summary":"Returns the Clinics associated with the manufacturer.","operationId":"ManufacturerClinics_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : Clinics"],"summary":"Adds a new Clinic relationship for the manufacturer.","operationId":"ManufacturerClinics_Post","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"relationship","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Relationship"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Clinic"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Clinics/{ClinicId}":{"get":{"tags":["Manufacturers : Clinics"],"summary":"Returns the Clinic associated with the manufacturer and ClinicId.","operationId":"ManufacturerClinics_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"ClinicId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Clinics"],"summary":"Removes the Clinic relationship for the manufacturer.","operationId":"ManufacturerClinics_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"ClinicId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Clinics/clinicUserName":{"get":{"tags":["Manufacturers : Clinics : clinicUserName"],"summary":"Returns the Clinics associated with the user and manufacturer.","operationId":"ManufacturerClinics_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"clinicUserName","in":"query","description":"","required":true,"type":"string"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Clinics/{clinicId}/Orders/{orderId}":{"get":{"tags":["Manufacturers : Clinics : Orders"],"summary":"Returns the Order associated with the manufacturer and clinic.","operationId":"ManufacturerClinicOrders_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"clinicId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Clinics/{clinicId}/Orders":{"get":{"tags":["Manufacturers : Clinics : Orders"],"summary":"Returns the Orders associated with the manufacturer and clinic.","operationId":"ManufacturerClinicOrders_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"clinicId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Clinics/{clinicId}/Orders/{orderId}/Download":{"get":{"tags":["Manufacturers : Clinics : Orders"],"summary":"Download Orders","operationId":"ManufacturerClinicOrders_Download","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"Manufacturer Id","required":true,"type":"string","format":"uuid"},{"name":"clinicId","in":"path","description":"Clinic Id","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"Order Id","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Emails":{"get":{"tags":["Manufacturers : Emails"],"summary":"Return the list of email addresses associated with the manufacturer.","operationId":"Manufacturers_GetEmails","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : Emails"],"summary":"Add a new email address to the manufacturer.","operationId":"Manufacturers_AddEmail","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"email","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Email"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Email"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Emails/{emailId}":{"put":{"tags":["Manufacturers : Emails"],"summary":"Update the email address associated with the manufacturer.","operationId":"Manufacturers_UpdateEmail","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"emailId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"email","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Email"}}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Emails"],"summary":"Remove an email address from the manufacturer.","operationId":"Manufacturers_RemoveEmail","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"emailId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Faxes":{"get":{"tags":["Manufacturers : Faxes"],"summary":"Return the list of fax numbers associated with the manufacturer.","operationId":"Manufacturers_GetFaxes","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : Faxes"],"summary":"Add a new fax number to the manufacturer.","operationId":"Manufacturers_AddFax","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"fax","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Fax"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Fax"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Faxes/{faxId}":{"put":{"tags":["Manufacturers : Faxes"],"summary":"Update the fax number associated with the manufacturer.","operationId":"Manufacturers_UpdateFax","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"faxId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"fax","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Fax"}}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Faxes"],"summary":"Remove a fax number from the manufacturer.","operationId":"Manufacturers_RemoveFax","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"faxId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/OrderForms":{"get":{"tags":["Manufacturers : OrderForms"],"summary":"Returns a collection of order forms for the specified manufacturer.","operationId":"OrderForms_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : OrderForms"],"summary":"Adds a new order form for the specified manufacturer.","operationId":"OrderForms_Post","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderForm","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/OrderForm"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderForm"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/OrderForms/{orderFormId}":{"get":{"tags":["Manufacturers : OrderForms"],"summary":"Returns a specific order form for the specified manufacturer.","operationId":"OrderForms_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderFormId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"put":{"tags":["Manufacturers : OrderForms"],"summary":"Updates an existing order form for the specified manufacturer.","operationId":"OrderForms_Put","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderFormId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderForm","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/OrderForm"}}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : OrderForms"],"summary":"Removes an existing order form for the specified manufacturer.","operationId":"OrderForms_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderFormId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}":{"get":{"tags":["Manufacturers : Orders"],"summary":"Get a specific order by its identification number.","operationId":"ManufacturerOrders_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"A valid manufacturer identification number.","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"A valid order identification number.","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders":{"get":{"tags":["Manufacturers : Orders"],"summary":"Get all orders","description":"This will take a long time.","operationId":"ManufacturerOrders_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"A valid manufacturer identification number.","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/Search":{"get":{"tags":["Manufacturers : Orders"],"summary":"Find orders sent to the manufacturer by a clinic using the provided filters","description":"It is recommended to use more than one filter unless searching for a single order to avoid long query time.","operationId":"ManufacturerOrders_Search","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"Valid manufacturer identification number","required":true,"type":"string","format":"uuid"},{"name":"statusId","in":"query","description":"Valid order status. Default is all. Valid values are 2 (Submitted), 3 (Downloaded), 4 (Completed), 5 (Rejected)","required":false,"type":"integer","format":"int32"},{"name":"productId","in":"query","description":"Valid product identification number","required":false,"type":"string","format":"uuid"},{"name":"clinicName","in":"query","description":"Name of a clinic that submitted orders to the manufacturer","required":false,"type":"string"},{"name":"orderNumber","in":"query","description":"Valid order number","required":false,"type":"string"},{"name":"numDays","in":"query","description":"Number of days to limit search. Default is all time.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"Success","schema":{"type":"array","items":{"$ref":"#/definitions/Order"}}},"400":{"description":"At least one filter is required."},"401":{"description":"Unauthorized."},"500":{"description":"Internal server error or issue."}}}},"/api/Manufacturers/{manufacturerId}/Orders/Download":{"get":{"tags":["Manufacturers : Orders"],"summary":"Download all orders in a single zip file for each valid order id in the list","description":"Highly recommend to request one order at a time to keep file size small and avoid excessive response time.","operationId":"ManufacturerOrders_Download","consumes":[],"produces":["application/octet-stream"],"parameters":[{"name":"manufacturerId","in":"path","description":"A valid manufacturer identification number","required":true,"type":"string","format":"uuid"},{"name":"orderIds","in":"query","description":"A valid order identification number.","required":true,"type":"array","items":{"type":"string","format":"uuid"},"collectionFormat":"multi"}],"responses":{"200":{"description":"Success","schema":{"format":"byte","type":"string"}},"400":{"description":"Bad Request - Must contain one or more GUID values"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Download":{"get":{"tags":["Manufacturers : Orders"],"summary":"Download order as a zip file","operationId":"ManufacturerOrders_Download","consumes":[],"produces":["application/octet-stream"],"parameters":[{"name":"manufacturerId","in":"path","description":"A valid Manufacturer Id","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"A valid Order Id","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success","schema":{"format":"byte","type":"string"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Attachments/{attachmentId}":{"get":{"tags":["Manufacturers : Orders : Attachments"],"summary":"Return a specific attachment for an order.","operationId":"ManufacturerAttachments_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Attachments":{"get":{"tags":["Manufacturers : Orders : Attachments"],"summary":"Returns a collection of attachments for an order.","operationId":"ManufacturerAttachments_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Attachments/{attachmentId}/Download":{"get":{"tags":["Manufacturers : Orders : Attachments"],"summary":"Downloads a specific attachment for an order.","operationId":"ManufacturerAttachments_Download","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Audiograms/{audiogramId}":{"get":{"tags":["Manufacturers : Orders : Audiograms"],"summary":"Returns a specific audiogram for the given manufacturer and order.","operationId":"ManufacturerOrderAudiograms_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"audiogramId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Audiograms":{"get":{"tags":["Manufacturers : Orders : Audiograms"],"summary":"Returns a collection of audiograms for the given manufacturer and order.","operationId":"ManufacturerOrderAudiograms_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Patient/{patientId}":{"get":{"tags":["Manufacturers : Orders : Patient"],"summary":"Get the patient information for a specific order.","operationId":"ManufacturerOrders_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"A valid manufacturer identification number.","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"A valid order identification number.","required":true,"type":"string","format":"uuid"},{"name":"patientId","in":"path","description":"A valid patient identification number.","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Scans/{scanId}":{"get":{"tags":["Manufacturers : Orders : Scans"],"summary":"Get the information for a specific scan associated with an order.","operationId":"ManufacturerOrderScans_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"A valid manufacturer identification number.","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"A valid order identification number.","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"A valid scan identification number.","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Scan"}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Scans":{"get":{"tags":["Manufacturers : Orders : Scans"],"summary":"Returns a collection of scans for a specific order that is being managed in the Clinic Portal.","operationId":"ManufacturerOrderScans_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Scans/{scanId}/Annotations/{annotationId}":{"get":{"tags":["Manufacturers : Orders : Scans : Annotations"],"summary":"Returns a specific annotation for a scan in an order for a manufacturer.","operationId":"ManufacturerAnnotations_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"annotationId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/Manufacturers/{manufacturerId}/Orders/{orderId}/Scans/{scanId}/Annotations":{"get":{"tags":["Manufacturers : Orders : Scans : Annotations"],"summary":"Returns all annotations for a scan in an order for a manufacturer.","operationId":"ManufacturerAnnotations_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"scanId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/Manufacturers/{manufacturerId}/Phones":{"get":{"tags":["Manufacturers : Phones"],"summary":"Return the list of phone numbers associated with the manufacturer.","operationId":"Manufacturers_GetPhones","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : Phones"],"summary":"Add a new phone number to the manufacturer.","operationId":"Manufacturers_AddPhone","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"phone","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Phone"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Phone"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Phones/{phoneId}":{"put":{"tags":["Manufacturers : Phones"],"summary":"Update the phone number associated with the manufacturer.","operationId":"Manufacturers_UpdatePhones","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"phoneId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"phone","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Phone"}}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Phones"],"summary":"Remove a phone number from the manufacturer.","operationId":"Manufacturers_RemovePhone","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"phoneId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Products":{"get":{"tags":["Manufacturers : Products"],"summary":"Returns a collection of products for the specified manufacturer.","operationId":"Products_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : Products"],"summary":"Adds a new product for the specified manufacturer.","operationId":"Products_Post","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"product","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Product"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Product"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Products/{productId}":{"get":{"tags":["Manufacturers : Products"],"summary":"Returns a specific product for the specified manufacturer.","operationId":"Products_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"put":{"tags":["Manufacturers : Products"],"summary":"Updates an existing product for the specified manufacturer.","operationId":"Products_Put","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"product","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/Product"}}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Products"],"summary":"Removes a product for the specified manufacturer.","operationId":"Products_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Products/Add/{productId}":{"put":{"tags":["Manufacturers : Products : Add"],"summary":"Adds a product to the specified manufacturer.","operationId":"Products_Add","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/Manufacturers/{manufacturerId}/Products/Default":{"get":{"tags":["Manufacturers : Products : Default"],"summary":"Returns a collection of default products.","operationId":"Products_GetDefault","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/Manufacturers/{manufacturerId}/Products/{productId}/OrderForms":{"get":{"tags":["Manufacturers : Products : OrderForms"],"summary":"Returns all order forms for a manufacturer","operationId":"ManufacturerProductOrderForms_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":""}}},"post":{"tags":["Manufacturers : Products : OrderForms"],"summary":"Returns all order forms for a product","operationId":"ManufacturerProductOrderForms_Post","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderForm","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/OrderForm"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderForm"}},"201":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Products/{productId}/OrderForms/{orderFormId}":{"get":{"tags":["Manufacturers : Products : OrderForms"],"summary":"Returns a specific order form for a manufacturer","operationId":"ManufacturerProductOrderForms_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderFormId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":""}}},"put":{"tags":["Manufacturers : Products : OrderForms"],"summary":"Updates an existing order form for a manufacturer","operationId":"ManufacturerProductOrderForms_Put","consumes":["application/json","text/json","application/x-www-form-urlencoded"],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderFormId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderForm","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/OrderForm"}},{"name":"productId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Products : OrderForms"],"summary":"Removes an order form from a product","operationId":"ManufacturerProductOrderForms_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"orderFormId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Products/Remove/{productId}":{"put":{"tags":["Manufacturers : Products : Remove"],"summary":"Removes a product from the specified manufacturer.","operationId":"Products_Remove","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"productId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/Manufacturers/{manufacturerId}/Reports/UserOverview":{"get":{"tags":["Manufacturers : Reports"],"summary":"Returns a collection of user overview report items for the specified manufacturer.","operationId":"ManufacturerReports_GetUserOverview","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Reports/UserLog":{"get":{"tags":["Manufacturers : Reports"],"summary":"Returns a collection of user log report items for the specified manufacturer within the given date range.","operationId":"ManufacturerReports_GetUserLog","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"startDate","in":"query","description":"","required":true,"type":"string","format":"date-time"},{"name":"endDate","in":"query","description":"","required":true,"type":"string","format":"date-time"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Reports/UserOverview/Download":{"get":{"tags":["Manufacturers : Reports"],"summary":"Downloads the user overview report for the specified manufacturer as a CSV file.","operationId":"ManufacturerReports_DownloadUserOverview","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Reports/UserLog/Download":{"get":{"tags":["Manufacturers : Reports"],"summary":"Downloads the user log report for the specified manufacturer within the given date range as a CSV file.","operationId":"ManufacturerReports_DownloadUserLog","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"startDate","in":"query","description":"","required":true,"type":"string","format":"date-time"},{"name":"endDate","in":"query","description":"","required":true,"type":"string","format":"date-time"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Users":{"get":{"tags":["Manufacturers : Users"],"summary":"Returns a collection of users for the specified manufacturer.","description":"User must be a Manufacturer Administrator to access this endpoint","operationId":"ManufacturerUsers_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}}},"/api/Manufacturers/{manufacturerId}/Users/{userId}":{"get":{"tags":["Manufacturers : Users"],"summary":"Returns a specific user for the specified manufacturer.","description":"User must be a Manufacturer Administrator to access this endpoint","operationId":"ManufacturerUsers_Get","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"userId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":""}}},"delete":{"tags":["Manufacturers : Users"],"summary":"Removes a user from the specified manufacturer.","operationId":"ManufacturerUsers_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"manufacturerId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"userId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"204":{"description":""}}}},"/api/Public/Users/Login":{"post":{"tags":["Public : Users"],"summary":"Return users profile and cookie required to authorize use of the API endpoints accessible to the user.\r\n\r\nThis sets a cookie that is used to authenticate the user for subsequent requests.\r\n\r\nThis only supports database users meant for automation use of the API.","operationId":"Users_Login","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"credentials","in":"body","description":"JSON object that includes required Username and Password attributes","required":true,"schema":{"$ref":"#/definitions/Credentials"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Account Locked out"},"409":{"description":"Account Disabled"},"500":{"description":"Internal Server Error"}}}},"/api/Public/Users/{userId}/ChangeTo/{entityId}":{"post":{"tags":["Public : Users : ChangeTo"],"summary":"Switch session by logging into a different entity for the user","operationId":"Users_ChangeEntity","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"userId","in":"path","description":"An unique identifier for the user","required":true,"type":"string","format":"uuid"},{"name":"entityId","in":"path","description":"An unique identifier for the entity","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}}}},"/api/Public/Users/SSOUserExist":{"get":{"tags":["Public : Users : SSOUserExist"],"summary":"Return Http Status Code 200 if user exists, 404 if not found.","description":"User must be active","operationId":"Users_IsSSOUserExist","consumes":[],"produces":["application/json"],"parameters":[{"name":"userName","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}}}},"/api/Reference/Countries":{"get":{"tags":["Reference"],"summary":"Return list of countries","operationId":"Reference_GetCountries","consumes":[],"produces":["application/json","text/json"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}}}},"/api/Reference/States":{"get":{"tags":["Reference"],"summary":"Return a list of States","operationId":"Reference_GetStates","consumes":[],"produces":["application/json","text/json"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}}},"definitions":{"Clinic":{"required":["Name","ErpId","Id"],"type":"object","properties":{"IsEmrEnabled":{"type":"boolean"},"IsIntegrationEnabled":{"type":"boolean"},"SurveyUrl":{"type":"string"},"IsDeepLearningDataCapture":{"type":"boolean"},"IsBatchUploadEnabled":{"type":"boolean"},"IsBatchReminderEnabled":{"type":"boolean"},"PatientIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ManufacturerIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ScannerIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"MachineIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"IsSetAsClosedLoop":{"type":"boolean"},"ClosedLoopManufacturerId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"PatientFieldMaskingSetting":{"type":"string"},"Name":{"type":"string"},"Code":{"format":"int32","type":"integer"},"ErpId":{"type":"string"},"Status":{"format":"int32","enum":[0,1],"type":"integer"},"IsTestEntity":{"type":"boolean"},"Addresses":{"type":"array","items":{"$ref":"#/definitions/Address"}},"Phones":{"type":"array","items":{"$ref":"#/definitions/Phone"}},"Faxes":{"type":"array","items":{"$ref":"#/definitions/Fax"}},"Emails":{"type":"array","items":{"$ref":"#/definitions/Email"}},"Language":{"$ref":"#/definitions/Language"},"PrimaryAdministrator":{"$ref":"#/definitions/User"},"Relationships":{"type":"array","items":{"$ref":"#/definitions/Relationship"}},"Integrations":{"type":"array","items":{"$ref":"#/definitions/Integration"}},"PrimaryAdministratorId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"AddressIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"PhoneIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"FaxIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"EmailIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"UserIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"OrderIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ScanIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"IntegrationIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Address":{"required":["Id"],"type":"object","properties":{"StreetAddress1":{"type":"string"},"StreetAddress2":{"type":"string"},"City":{"type":"string"},"State":{"$ref":"#/definitions/State"},"Country":{"$ref":"#/definitions/Country"},"PostalCode":{"type":"string"},"TimeZone":{"type":"string"},"AddressType":{"format":"int32","enum":[0,1,2],"type":"integer"},"CreatedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ModifiedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Phone":{"required":["Number","PhoneType","Id"],"type":"object","properties":{"Number":{"type":"string"},"Extension":{"type":"string"},"PhoneType":{"format":"int32","enum":[0,1,2],"type":"integer"},"Ordinal":{"format":"int32","type":"integer"},"CreatedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ModifiedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Fax":{"required":["Number","FaxType","Id"],"type":"object","properties":{"Number":{"type":"string"},"FaxType":{"format":"int32","enum":[0,1],"type":"integer"},"Ordinal":{"format":"int32","type":"integer"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Email":{"required":["Address","EmailType","Id"],"type":"object","properties":{"Address":{"type":"string"},"EmailType":{"format":"int32","enum":[0,1],"type":"integer"},"Ordinal":{"format":"int32","type":"integer"},"CreatedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ModifiedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Language":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"IsActive":{"type":"boolean"}}},"User":{"required":["Username","FirstName","LastName","Id"],"type":"object","properties":{"Username":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"VerificationKey":{"type":"string"},"Password":{"type":"string"},"HashedPassword":{"type":"string"},"OfflinePassword":{"type":"string"},"OfflineHashedPassword":{"type":"string"},"OfflineFailedLoginCount":{"format":"int32","type":"integer"},"VerificationKeySent":{"format":"date-time","type":"string"},"LastLogin":{"format":"date-time","type":"string"},"PasswordChanged":{"format":"date-time","type":"string"},"LastFailedLogin":{"format":"date-time","type":"string"},"FailedLoginCount":{"format":"int32","type":"integer"},"IsVerified":{"type":"boolean"},"Emails":{"type":"array","items":{"$ref":"#/definitions/Email"}},"Roles":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/definitions/Role"}}},"Claims":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/definitions/Claim"}}},"Countries":{"type":"array","items":{"$ref":"#/definitions/Country"}},"EntityIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"EntityItems":{"type":"array","items":{"$ref":"#/definitions/EntityItem"}},"RoleIds":{"type":"object","additionalProperties":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"ClaimIds":{"type":"object","additionalProperties":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"CountryIds":{"type":"array","items":{"format":"int32","type":"integer"}},"ExternalUserId":{"type":"string"},"AccessToken":{"type":"string"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Relationship":{"type":"object","properties":{"ClinicId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ManufacturerId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"AccountNumber":{"type":"string"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"},"IsSetAsClosedLoop":{"type":"boolean"}}},"Integration":{"required":["Id"],"type":"object","properties":{"EntityId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ExternalSystemId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ExternalSystem":{"$ref":"#/definitions/ExternalSystem"},"Configuration":{"type":"object","additionalProperties":{"$ref":"#/definitions/ConfigurationItem"}},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"State":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"CountryId":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"}}},"Country":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"PortalUrl":{"type":"string"},"ApiUrl":{"type":"string"},"ConnectionKey":{"type":"string"},"StorageKey":{"type":"string"},"StateIds":{"type":"array","items":{"format":"int32","type":"integer"}}}},"Role":{"required":["Id"],"type":"object","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"IsActive":{"type":"boolean"},"EntityId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ClaimIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"Claims":{"type":"array","items":{"$ref":"#/definitions/Claim"}},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Claim":{"type":"object","properties":{"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Type":{"type":"string"},"Value":{"type":"string"}}},"EntityItem":{"required":["Id"],"type":"object","properties":{"TypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"IsActive":{"type":"boolean"},"IsEmrEnabled":{"type":"boolean"},"IsParentManufacturer":{"type":"boolean"},"IsBatchUploadEnabled":{"type":"boolean"},"IsBatchReminderEnabled":{"type":"boolean"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"ExternalSystem":{"required":["Id"],"type":"object","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"ConfigurationItem":{"type":"object","properties":{"EntityId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Value":{"type":"string"}}},"Batch":{"type":"object","properties":{"ClinicId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Name":{"type":"string"},"EnableBatchProcess":{"type":"boolean"},"IncludePatientInfo":{"type":"boolean"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Patient":{"required":["Id"],"type":"object","properties":{"RecordNumber":{"type":"string"},"ExternalIds":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"FirstName":{"type":"string"},"LastName":{"type":"string"},"MiddleInitial":{"type":"string"},"DateOfBirth":{"format":"date-time","type":"string"},"YearOfBirth":{"format":"int32","type":"integer"},"Gender":{"type":"string"},"Status":{"format":"int32","enum":[0,-2,-1],"type":"integer"},"DateLastActivity":{"format":"date-time","type":"string"},"BatchId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"HasConsent":{"type":"boolean"},"Addresses":{"type":"array","items":{"$ref":"#/definitions/Address"}},"Phones":{"type":"array","items":{"$ref":"#/definitions/Phone"}},"Emails":{"type":"array","items":{"$ref":"#/definitions/Email"}},"Orders":{"type":"array","items":{"$ref":"#/definitions/Order"}},"Scans":{"type":"array","items":{"$ref":"#/definitions/Scan"}},"OrderIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"AudiogramIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ScanIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"CreatedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ModifiedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Order":{"required":["HasConsent","IsRemake","PatientId","ClinicId","ManufacturerId","ClinicianId","ProductIds","Id"],"type":"object","properties":{"Code":{"format":"int32","type":"integer"},"Number":{"type":"string"},"ExternalIds":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"BatchId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Status":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"HasConsent":{"type":"boolean"},"IsRemake":{"type":"boolean"},"IncludePatientInfo":{"type":"boolean"},"OriginalOrderId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DueDate":{"format":"date-time","type":"string"},"ReferenceNumber":{"type":"string"},"DownloadUrl":{"type":"string"},"Patient":{"$ref":"#/definitions/Patient"},"Notes":{"type":"array","items":{"$ref":"#/definitions/Note"}},"Scans":{"type":"array","items":{"$ref":"#/definitions/Scan"}},"Audiograms":{"type":"array","items":{"$ref":"#/definitions/Audiogram"}},"Products":{"type":"array","items":{"$ref":"#/definitions/Product"}},"Attachments":{"type":"array","items":{"$ref":"#/definitions/OrderFormAttachment"}},"Events":{"type":"array","items":{"$ref":"#/definitions/OrderEvent"}},"PatientId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ClinicId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ManufacturerId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ClinicianId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"AudiogramIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ScanIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ProductIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"AttachmentIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ManufacturerName":{"type":"string"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Scan":{"required":["Ear","JawPosition","PatientId","ScannerId","ClinicId","ClinicianId","Id"],"type":"object","properties":{"ExternalIds":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"Ear":{"format":"int32","enum":[0,1,2],"type":"integer"},"JawPosition":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"DataFormat":{"type":"string"},"Comment":{"type":"string"},"Uri":{"type":"string"},"IsEditable":{"type":"boolean"},"Duration":{"format":"int32","type":"integer"},"Depth":{"format":"double","type":"number"},"AverageCrossSectionArea":{"format":"double","type":"number"},"FileLocation":{"type":"string"},"ThumbnailLocation":{"type":"string"},"Thumbnail":{"format":"byte","type":"string"},"StlFile":{"format":"byte","type":"string"},"StlFileWithHoles":{"format":"byte","type":"string"},"PointCloud":{"format":"byte","type":"string"},"PointCloudWithTips":{"format":"byte","type":"string"},"RealTimeMesh":{"format":"byte","type":"string"},"metadata":{"$ref":"#/definitions/Metadata"},"materials":{"type":"array","items":{"$ref":"#/definitions/Material"}},"vertices":{"type":"array","items":{"format":"float","type":"number"}},"normals":{"type":"array","items":{"format":"float","type":"number"}},"faces":{"type":"array","items":{"format":"int32","type":"integer"}},"uvs":{"type":"array","items":{"$ref":"#/definitions/UV"}},"Facets":{"type":"array","items":{"$ref":"#/definitions/Facet"}},"Annotations":{"type":"array","items":{"$ref":"#/definitions/Annotation"}},"Scanner":{"$ref":"#/definitions/Scanner"},"Machine":{"$ref":"#/definitions/Machine"},"PatientId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ScannerId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"MachineId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ClinicId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ClinicianId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"AnnotationIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"CreatedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ModifiedBy":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Note":{"required":["Id"],"type":"object","properties":{"Text":{"type":"string"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Audiogram":{"required":["Ear","Data","PatientId","ClinicianId","Id"],"type":"object","properties":{"Ear":{"format":"int32","enum":[0,1,2],"type":"integer"},"Uri":{"type":"string"},"Data":{"type":"string"},"PatientId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ClinicianId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Product":{"required":["Name","ProductType","Id"],"type":"object","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ProductType":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"OrderFormAttachment":{"required":["FileName","Id"],"type":"object","properties":{"FileName":{"type":"string"},"FileLocation":{"type":"string"},"IsAvailable":{"type":"boolean"},"OrderFormId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Data":{"format":"byte","type":"string"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"OrderEvent":{"required":["EventType"],"type":"object","properties":{"EventType":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,-1],"type":"integer"},"AdditionalInfo":{"type":"string"},"Timestamp":{"format":"date-time","type":"string"}}},"Metadata":{"type":"object","properties":{"colors":{"format":"int32","type":"integer"},"faces":{"format":"int32","type":"integer"},"formatVersion":{"format":"float","type":"number"},"materials":{"format":"int32","type":"integer"},"vertices":{"format":"int32","type":"integer"},"normals":{"format":"int32","type":"integer"}}},"Material":{"type":"object","properties":{"DbgColor":{"format":"int32","type":"integer"},"DbgIndex":{"format":"int32","type":"integer"},"DbgName":{"type":"string"},"colorDiffuse":{"type":"array","items":{"format":"int32","type":"integer"}}}},"UV":{"type":"object","properties":{"U":{"format":"float","type":"number"},"V":{"format":"float","type":"number"}}},"Facet":{"type":"object","properties":{"Vertex1":{"$ref":"#/definitions/Point3D"},"Vertex2":{"$ref":"#/definitions/Point3D"},"Vertex3":{"$ref":"#/definitions/Point3D"},"Normal":{"$ref":"#/definitions/Point3D"},"Color":{"$ref":"#/definitions/ColorRGB"},"HasColor":{"type":"boolean"}}},"Annotation":{"required":["Text","AnnotationType","ScanId","Id"],"type":"object","properties":{"Text":{"type":"string"},"AnnotationType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"Code":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11],"type":"integer"},"ThumbnailLocation":{"type":"string"},"Thumbnail":{"format":"byte","type":"string"},"IsAvailable":{"type":"boolean"},"ScanId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Scanner":{"required":["Id"],"type":"object","properties":{"Provider":{"type":"string"},"Model":{"type":"string"},"ScannerType":{"format":"int32","enum":[0,1],"type":"integer"},"Firmware":{"type":"string"},"SerialNumber":{"type":"string"},"CalibrationDate":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Machine":{"required":["Id"],"type":"object","properties":{"Name":{"type":"string"},"IpAddress":{"type":"string"},"ClinicId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"Point3D":{"type":"object","properties":{"X":{"format":"float","type":"number"},"Y":{"format":"float","type":"number"},"Z":{"format":"float","type":"number"}}},"ColorRGB":{"type":"object","properties":{"R":{"format":"int32","type":"integer"},"G":{"format":"int32","type":"integer"},"B":{"format":"int32","type":"integer"}}},"Manufacturer":{"required":["Name","ErpId","Id"],"type":"object","properties":{"PortalUrl":{"type":"string"},"IntegrationUrl":{"type":"string"},"StlPreference":{"format":"int32","enum":[0,1],"type":"integer"},"SendSubmitNotification":{"type":"boolean"},"ParentManufacturerId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"IsParentManufacturer":{"type":"boolean"},"Products":{"type":"array","items":{"$ref":"#/definitions/Product"}},"OrderForms":{"type":"array","items":{"$ref":"#/definitions/OrderForm"}},"ClinicIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"OrderFormIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ProductIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"Name":{"type":"string"},"Code":{"format":"int32","type":"integer"},"ErpId":{"type":"string"},"Status":{"format":"int32","enum":[0,1],"type":"integer"},"IsTestEntity":{"type":"boolean"},"Addresses":{"type":"array","items":{"$ref":"#/definitions/Address"}},"Phones":{"type":"array","items":{"$ref":"#/definitions/Phone"}},"Faxes":{"type":"array","items":{"$ref":"#/definitions/Fax"}},"Emails":{"type":"array","items":{"$ref":"#/definitions/Email"}},"Language":{"$ref":"#/definitions/Language"},"PrimaryAdministrator":{"$ref":"#/definitions/User"},"Relationships":{"type":"array","items":{"$ref":"#/definitions/Relationship"}},"Integrations":{"type":"array","items":{"$ref":"#/definitions/Integration"}},"PrimaryAdministratorId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"AddressIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"PhoneIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"FaxIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"EmailIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"UserIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"OrderIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ScanIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"IntegrationIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"OrderForm":{"required":["Name","LanguageId","ManufacturerIds","ProductIds","Id"],"type":"object","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Notes":{"type":"string"},"ActiveDate":{"format":"date-time","type":"string"},"InactiveDate":{"format":"date-time","type":"string"},"FileLocation":{"type":"string"},"Data":{"format":"byte","type":"string"},"IsAvailable":{"type":"boolean"},"Status":{"type":"string"},"PreviousVersionName":{"type":"string"},"Language":{"$ref":"#/definitions/Language"},"Products":{"type":"array","items":{"$ref":"#/definitions/Product"}},"PreviousVersionId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"LanguageId":{"format":"int32","type":"integer"},"ManufacturerIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ClinicIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"ProductIds":{"type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"Id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"DateCreated":{"format":"date-time","type":"string"},"DateModified":{"format":"date-time","type":"string"},"DateDeleted":{"format":"date-time","type":"string"}}},"UserOverviewReportItem":{"type":"object","properties":{"CustomerID":{"type":"string"},"CustomerName":{"type":"string"},"Username":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"Status":{"type":"string"},"CanAdministrate":{"type":"boolean"},"CanCreateScan":{"type":"boolean"},"CanViewReport":{"type":"boolean"},"CreatedDate":{"format":"date-time","type":"string"},"LastLogin":{"format":"date-time","type":"string"}}},"UserLogReportItem":{"type":"object","properties":{"CustomerID":{"type":"string"},"CustomerName":{"type":"string"},"Username":{"type":"string"},"Activity":{"type":"string"},"EventType":{"format":"int32","type":"integer"},"ActivityDate":{"format":"date-time","type":"string"}}},"Credentials":{"type":"object","properties":{"Username":{"type":"string"},"Password":{"type":"string"}}}}}