Get all service request message attachments using advanced query
post
/api/boss/data/objects/ora/cxServiceCore/srMgmt/v1/serviceRequests/{serviceRequests_id}/messages/{serviceRequests-messages_id}/$attachments/$query
Request
Path Parameters
-
serviceRequests-messages_id(required): string
This path parameter maps to the following field defined in the Service Requests/Messages REST resource:
- id: The unique identifier associated with the service request message.
-
serviceRequests_id(required): string
This path parameter maps to the following field defined in the Service Requests REST resource:
- number: The unique number that's used to identify a service request. You can edit the service request number to a format that's best suitable to your organizational requirements.
Supported Media Types
- application/json
Nested Schema : schema
Type:
Show Source
object-
accessors: object
accessors
Maps accessor names to query objects specific to corresponding accessors. Query object for each accessor supports query capabilities similar to the base.
-
fields: array
fields
Restricts the resource fields. Only the specified fields and mandatory system fields are returned.
-
subTypes: object
subTypes
Maps discriminator values (as defined in subtypes) to query objects specific to corresponding subtypes. Subtype-specific query objects support a subset(fields,accessors,filter) of the query capabilities when compared to the base.
Nested Schema : type
Type:
Show Source
object-
collection: object
collection
Defines query criteria that can be applied on a resource collection.
Nested Schema : accessors
Type:
objectMaps accessor names to query objects specific to corresponding accessors. Query object for each accessor supports query capabilities similar to the base.
Nested Schema : fields
Type:
arrayRestricts the resource fields. Only the specified fields and mandatory system fields are returned.
Show Source
Nested Schema : subTypes
Type:
objectMaps discriminator values (as defined in subtypes) to query objects specific to corresponding subtypes. Subtype-specific query objects support a subset(fields,accessors,filter) of the query capabilities when compared to the base.
Nested Schema : collection
Type:
objectDefines query criteria that can be applied on a resource collection.
Show Source
-
filter: string
The resource collection will be queried using the specified filter condition.
-
limit: integer
Restricts the number of resource items returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resource items.
-
offset: integer
Defines the starting position of the resource collection. If offset exceeds the resource count then no resource items are returned.
-
privilege: string
Represents the privilege or action required to check for while serving a request to access a resource.
-
sortBy: array
sortBy
Orders a resource collection based on the specified fields.
Nested Schema : sortBy
Type:
arrayOrders a resource collection based on the specified fields.
Show Source
Nested Schema : type
Type:
objectObject with single entry. Key must be name of field based on which sorting will happen. Value must be either asc or desc to decide the sort order.
Response
Default Response
An array of items response
Nested Schema : oraCxServiceCoreSrMgmt.MessageAttachment_item
Match All
Message attachment contains information about files or documents attached to messages associated with a service request.
Show Source
-
allOf
oraCxServiceCoreSrMgmt.MessageAttachment_item-fields
-
object
Service Request Message Attachment
Title:
Service Request Message AttachmentMessage attachment contains information about files or documents attached to messages associated with a service request.
Nested Schema : oraCxServiceCoreSrMgmt.MessageAttachment_item-fields-allOf[0]
Type:
Show Source
objectNested Schema : oraCommonAppsInfraAttachments.Attachment_abstract-item
Type:
Show Source
object-
createdBy: string
Read Only:
true -
document:
document
-
id: string
(big-integer)
Read Only:
true -
timeCreated: string
(date-time)
Read Only:
true -
timeUpdated: string
(date-time)
Read Only:
true -
updatedBy: string
Read Only:
true
Nested Schema : oraCxServiceCoreSrMgmt.MessageAttachment_item-fields-allOf[2]
Type:
Show Source
object-
createdBy: string
Title:
Created ByThe user who created the record. -
id: string
Title:
Attachment IDThe unique identifier of the attachment. -
timeCreated: string
Title:
Created OnThe date and time when the record was created. -
timeUpdated: string
Title:
Last Updated DateThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByThe user who last updated the record.
Nested Schema : Service Request Message Attachment
Type:
objectTitle:
Service Request Message AttachmentMessage attachment contains information about files or documents attached to messages associated with a service request.
Nested Schema : document
Match All
The name of the accessor used to retrieve the document.
Show Source
-
allOf
oraCommonAppsInfraAttachments.Document_item-fields
-
object
__busObj_context
-
object
Document Accessor
Title:
Document AccessorThe name of the accessor used to retrieve the document.
Nested Schema : oraCommonAppsInfraAttachments.Document_abstract-item
Type:
Show Source
object-
$sourceLang: string
Read Only:
true -
chunkingDirectives: object
chunkingDirectives
-
contentEndpoint: string
Read Only:
true -
createdBy: string
Read Only:
true -
description: string
-
downloadParameters: object
downloadParameters
-
fileName: string
-
id: string
(big-integer)
Read Only:
true -
latestDocument:
latestDocument
-
managedEndpointKey: string
-
managedPath: string
-
managedUrl: string
Read Only:
true -
mediaType: string
-
name: string
-
securityGroup: string
Read Only:
true -
size: string
(big-integer)
-
timeCreated: string
(date-time)
Read Only:
true -
timeUpdated: string
(date-time)
Read Only:
true -
title: string
-
type:
type
-
updatedBy: string
Read Only:
true -
uploadParameters: object
uploadParameters
-
url: string
-
version: string
Nested Schema : oraCommonAppsInfraAttachments.Document_item-fields-allOf[1]
Type:
Show Source
object-
chunkingDirectives: object
Document
Title:
DocumentDirectives for customers uploading chunked files. -
contentEndpoint: string
Title:
Server EndpointEndpoint for the content server. -
createdBy: string
Title:
Created ByThe user who created the record. -
description: string
Title:
DescriptionThe description of the document. -
downloadParameters: object
Download Parameters
Title:
Download ParametersUsed to get the parameters required to download a file type document. -
fileName: string
Title:
File NameThe file name of a file type document. -
id: string
Title:
Document IDThe unique identifier of the document. -
managedEndpointKey: string
Title:
Endpoint KeyThe endpoint key from topology manager. -
managedPath: string
Title:
PathThe relative path of the managed URL. -
managedUrl: string
Title:
Managed URLThe URL that's a combination of the managed endpoint and path. -
mediaType: string
Title:
Media TypeThe media type of a file type document. -
name: string
Title:
NameThe name that identifies a file type of the stored document. -
securityGroup: string
Title:
Security GroupUsed to get the group where the file type documents are organized. -
size: string
Title:
SizeThe size of a file type document. -
timeCreated: string
Title:
Created OnThe date and time when the record was created. -
timeUpdated: string
Title:
Last Updated DateThe date and time when the record was last updated. -
title: string
Title:
TitleThe title of the document. -
type: string
Title:
TypeThe type of document. -
updatedBy: string
Title:
Last Updated ByThe user who last updated the record. -
uploadParameters: object
Upload Parameters
Title:
Upload ParametersUsed to get the parameters required to upload a file type document. -
url: string
Title:
URLThe URL of a web page type document. -
version: string
Title:
VersionThe version of a file type document.
Nested Schema : Document Accessor
Type:
objectTitle:
Document AccessorThe name of the accessor used to retrieve the document.
Nested Schema : latestDocument
Match All
The latest version of the attached document.
Show Source
-
allOf
oraCommonAppsInfraAttachments.Document_item-fields
-
object
__busObj_context
-
object
Latest Document
Title:
Latest DocumentThe latest version of the attached document.
Nested Schema : chunkCount
Match All
The required number of chunked files to be uploaded to the content server.
Show Source
-
string(big-integer)
-
string
Title:
DocumentThe required number of chunked files to be uploaded to the content server.
Nested Schema : chunkSize
Match All
The required size of each chunked file to be uploaded to the content server.
Show Source
-
string(big-integer)
-
string
Title:
DocumentThe required size of each chunked file to be uploaded to the content server.
Nested Schema : prefix
Match All
The prefix used in the file names of the chunked files.
Show Source
Nested Schema : Latest Document
Type:
objectTitle:
Latest DocumentThe latest version of the attached document.
Nested Schema : Document
Type:
objectTitle:
DocumentDirectives for customers uploading chunked files.
Nested Schema : Download Parameters
Type:
objectTitle:
Download ParametersUsed to get the parameters required to download a file type document.
Nested Schema : Upload Parameters
Type:
objectTitle:
Upload ParametersUsed to get the parameters required to upload a file type document.