Copy service request attachments
post
/crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/assetServiceRequests/action/copySRAttachments
This method lets you copy the service request attachments.
Request
Path Parameters
-
AssetId(required): integer(int64)
The unique identifier of the asset.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object
-
attachedDocumentIdList: array
attachedDocumentIdList
The list of document identifiers representing the attachments to copy.
-
srId: number
The unique identifier of the service request.
Nested Schema : attachedDocumentIdList
Type:
array
The list of document identifiers representing the attachments to copy.
Show Source
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object
-
result(required): array
result
The list of document identifiers that were successfully copied.
Nested Schema : result
Type:
array
The list of document identifiers that were successfully copied.
Show Source