Create Profile Extension

post

/rest/api/v1.3/lists/{listName}/listExtensions

Request

Path Parameters
Body ()
Request Body
Root Schema : Profile Extension
Type: object
Title: Profile Extension
Show Source
Nested Schema : fields
Type: array
The Profile Extension Fields
Show Source
Nested Schema : profileExtension
Type: object
The Profile Extension Object
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Profile Extension
Type: object
Title: Profile Extension
Show Source
Nested Schema : fields
Type: array
The Profile Extension Fields
Show Source
Nested Schema : profileExtension
Type: object
The Profile Extension Object
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

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": []
	}

     
Back to Top