Create Profile Extension
post
/rest/api/v1.3/lists/{listName}/listExtensions
Request
Path Parameters
-
listName: string
List Name
Request Body
Root Schema : Profile Extension
Type:
object
Title:
Show Source
Profile Extension
-
fields:
array fields
The Profile Extension Fields
-
profileExtension:
object profileExtension
The Profile Extension Object
Nested Schema : profileExtension
Type:
object
The Profile Extension Object
Show Source
-
folderName:
string
The name of the folder in which the Profile Extension exists
-
objectName:
string
The name of the Profile Extension
Nested Schema : items
Type:
Show Source
object
-
fieldName(optional):
string
The Profile Extension Field Name
-
fieldType(optional):
string
The Profile Extension Field Type
Response
Supported Media Types
- application/json
Default Response
Root Schema : Profile Extension
Type:
object
Title:
Show Source
Profile Extension
-
fields:
array fields
The Profile Extension Fields
-
profileExtension:
object profileExtension
The Profile Extension Object
Nested Schema : profileExtension
Type:
object
The Profile Extension Object
Show Source
-
folderName:
string
The name of the folder in which the Profile Extension exists
-
objectName:
string
The name of the Profile Extension
Nested Schema : items
Type:
Show Source
object
-
fieldName(optional):
string
The Profile Extension Field Name
-
fieldType(optional):
string
The Profile Extension Field Type
Examples
A new profile extension table can be created for a given profile list by providing the schema of the profile extension table.
NOTE: When creating a new profile extension table, the supported field types are:
- STR500
- STR4000
- INTEGER
- NUMBER
- TIMESTAMP
FIELDS | DESCRIPTION |
---|---|
Authorization | <AUTH_TOKEN> |
Content-Type | application/json |
Sample Request Body:
{ "profileExtension": { "objectName": "ws_rest_petx", "folderName": "WS_REST_SAMPLE" }, "fields": [ { "fieldName": "edu", "fieldType": "STR500" } ] }
Sample Response: Success
True
Sample Response: Failure
{ "type": "", "title": "Folder not found", "errorCode": "FOLDER_NOT_FOUND", "detail": "WS_REST_SAMPLESS Folder Not Found", "errorDetails": [] }