Professional Documents
Culture Documents
Update Text Attachment
Update Text Attachment
POST
/jderest/file/updatetext
Request
Supported Media Types
application/json
Header Parameters
jde-AIS-Auth(optional): string
jde-AIS-Auth-Device(optional): string
Body (MediaObjectUpdateTextRequest)
Request to update the first text media object with the input text.
Type: object
Request to update the first text media object with the input text.
appendText(optional): boolean
deviceName(optional): string
environment(optional): string
formName: string
inputText: string
jasserver(optional): string
moKey: array
moStructure: string
password(optional): string
psToken(optional): string
role(optional): string
token(optional): string
username(optional): string
version: stringBack to Top
Response
Supported Media Types
application/json
200 Response
Successful Execution
Body (MediaObjectUpdateTextResponse)
Type: object
Response to service request to update media object text.
updateTextStatus(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 update a text media
object. This service updates (or creates) the first text media object based on the
key. You may indicate if the new text should append or overwrite the existing text.
The token passed in this example was received from a separate token request.
Example Response
{
"updateTextStatus": "Success"
}