Create a Folder

post

/rest/api/v1.3/folders

Creates a new folder in Oracle Responsys.

Request

Supported Media Types
Body ()
Request Body
Root Schema : Create Folder Request
Type: object
Title: Create Folder Request
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Create Folder Response
Type: object
Title: Create Folder Response
Show Source
Back to Top

Examples

Create a folder in your Responsys account.

FIELDS DESCRIPTION
Authorization <AUTH_TOKEN>

Sample Request:

Create a folder.

  /rest/api/v1.3/folders
	

Sample Request Body:

{
  "folderName": "FolderName"
}
	

Sample Response: Success

{
  "success": true,
  "folderId": 90087147,
  "errorMessage": null
}
	

Example Responses: Failures

Invalid folder name: Requests fail if the folder name specified is invalid. The folder name must consist of the characters A-Z a-z 0-9 space ! - = @ _ [ ] { }. The error resembles:

{
  "type": "",
  "title": "Invalid request parameters",
  "errorCode": "INVALID_PARAMETER",
  "detail": "Invalid Folder Name in the Request",
  "errorDetails": []
}
	

Folder already exists: Requests fail if the folder name specified already exists in Responsys. The error resembles:

{
  "type": "",
  "title": "Folder already exists",
  "errorCode": "FOLDER_ALREADY_EXISTS",
  "detail": "Folder [ Folder_Name ] already exists.",
  "errorDetails": []
}
	

Maximum length of folder name: Requests fail if the folder name specified exceeds 100 characters. The error resembles:

{
  "type": "",
  "title": "Invalid request parameters",
  "errorCode": "INVALID_PARAMETER",
  "detail": "Max Length of folderName allowed: 100",
  "errorDetails": []
}
	

Insufficient role: Requests fail if the user performing the request does not have the Folder Web Services Manager role. The error resembles:

{
  "type": "",
  "title": "Insufficient access",
  "errorCode": "INSUFFICIENT_ACCESS",
  "detail": "Insufficient privileges to invoke this API",
  "errorDetails": []
}
	
Back to Top