Ingest file(s) into the system
put
/s1-intake-svc/rest/v1.0/inbox/upload
Oracle Safety One Intake REST API enables you to ingest documents automatically from third-party systems and applications. You can set various parameters in the call that specify how the documents are handled.
Request
Query Parameters
-
multicase(required): integer(int32)
For multiple documents where each one is intended to represent a separate potential case, set this to 1. Else, set it to 0 or undefined.
-
primarydocname(required): string
For multiple documents intended for a single potential case, provide the primary (main) AE document name in this parameter. This parameter is used for OCR extraction or AI Prediction on the document without manual intervention.
-
siteabbr(required): string
Provide the originating site (region) of the document that is to be associated with the intake record or case. The site must be available in Argus Safety > Argus Console > Code Lists > Flexible Data Re-categorization > Flexible Re-categorization > SITE_ABRV.
-
sourcename(required): string
Provide the source name of your API endpoint as configured in Argus Safety > Argus Console > Code Lists > Flexible Data Re-categorization > Flexible Re-categorization > INTAKE_SOURCE.
-
triagerequired(required): integer(int32)
For documents that require manual validation, set to 1.
Supported Media Types
- multipart/form-data
Root Schema : schema
Type:
Show Source
object
-
bodyParts: array
bodyParts
-
contentDisposition: object
ContentDisposition
-
entity: object
entity
-
headers: object
headers
Additional Properties Allowed: additionalProperties
-
mediaType: object
MediaType
-
messageBodyWorkers: object
MessageBodyWorkers
-
parameterizedHeaders: object
parameterizedHeaders
Additional Properties Allowed: additionalProperties
-
parent: object
schema
-
providers: object
Providers
Nested Schema : entity
Type:
object
Nested Schema : MediaType
Type:
Show Source
object
-
parameters: object
parameters
Additional Properties Allowed: additionalProperties
-
subtype: string
-
type: string
-
wildcardSubtype: boolean
-
wildcardType: boolean
Nested Schema : MessageBodyWorkers
Type:
object
Nested Schema : parameterizedHeaders
Type:
object
Additional Properties Allowed
Show Source
Show Source
Nested Schema : Providers
Type:
object
Nested Schema : BodyPart
Type:
Show Source
object
-
contentDisposition: object
ContentDisposition
-
entity: object
entity
-
headers: object
headers
Additional Properties Allowed: additionalProperties
-
mediaType: object
MediaType
-
messageBodyWorkers: object
MessageBodyWorkers
-
parameterizedHeaders: object
parameterizedHeaders
Additional Properties Allowed: additionalProperties
-
parent: object
schema
-
providers: object
Providers
Nested Schema : entity
Type:
object
Nested Schema : parameterizedHeaders
Type:
object
Additional Properties Allowed
Show Source
Show Source
Nested Schema : ParameterizedHeader
Type:
Show Source
object
-
parameters: object
parameters
Additional Properties Allowed: additionalProperties
-
value: string
Response
Supported Media Types
- application/json
200 Response
Success
400 Response
Bad request
Root Schema : ErrorResponseData
Type:
object
Response object for error
Show Source
-
details: object
details
Error Details
-
errorCode: string
Error CodeExample:
Exception
-
errorMessage: string
Error MessageExample:
Please see the server log for details
Nested Schema : details
Type:
object
Error Details
401 Response
Unauthorized user
404 Response
Not found
Root Schema : ErrorResponseData
Type:
object
Response object for error
Show Source
-
details: object
details
Error Details
-
errorCode: string
Error CodeExample:
Exception
-
errorMessage: string
Error MessageExample:
Please see the server log for details
Nested Schema : details
Type:
object
Error Details
500 Response
Internal Server Error
Root Schema : ErrorResponseData
Type:
object
Response object for error
Show Source
-
details: object
details
Error Details
-
errorCode: string
Error CodeExample:
Exception
-
errorMessage: string
Error MessageExample:
Please see the server log for details
Nested Schema : details
Type:
object
Error Details