Professional Documents
Culture Documents
Add URL Attachment v1
Add URL Attachment v1
POST
/jderest/file/addurl
Add a URL type media object for the given structure and key.
Request
Supported Media Types
application/json
Header Parameters
jde-AIS-Auth(optional): string
jde-AIS-Auth-Device(optional): string
Body (MediaObjectAddUrlRequest)
Request object for add URL media object service.
Type: object
Request object for add URL media object service.
deviceName(optional): string
environment(optional): string
formName: string
jasserver(optional): string
moKey: array
moStructure: string
password(optional): string
psToken(optional): string
role(optional): string
token(optional): string
urlText: string
username(optional): string
version: stringBack to Top
Response
Supported Media Types
application/json
200 Response
Successful Execution
Body (MediaObjectAddUrlResponse)
Type: object
Response object for Media Object add url service.
saveURL(optional): string
sequence(optional): integer(int32)
urlText(optional): string
400 Response
Bad Request - Invalid JSON Input
403 Response
Authorization Failure
415 Response
Invalid Content-Type Header - Must use application/json
444 Response
Invalid Token
Body (ServiceErrorResponse)
Type: object
Error Response
errorText(optional): string
exception(optional): string
message(optional): string
timeStamp(optional): string
type(optional): string
userDefinedErrorText(optional): string
500 Response
Server Failed to Process Request
Body (ServiceErrorResponse)
Type: object
Error Response
errorText(optional): string
exception(optional): string
message(optional): string
timeStamp(optional): string
type(optional): string
userDefinedErrorText(optional): stringBack to Top
Examples
Example Request
The following shows an example of a media object request to add a URL attachment.
The token value is from a prior call to the token request service to establish a
session.
Example Response
{
"saveURL": "http://www.testurl.com",
"urlText": "http://www.testurl.com",
"sequence": 2
}