Retrieve Profile List Fields
/rest/api/v1.3/lists/{listName}/fields
Refer to the Oracle Responsys Help Center for more information about the profile list fields returned in the response.
Request
-
listName: string
List Name
Response
- application/json
Default Response
objectProfile List Fields Response Model-
fields:
array fields
The Profile List Fields
-
folderName:
string
The name of the folder in which the Profile List exists
-
name:
string
The name of the Profile List
object-
fieldName(optional):
string
The Profile List Field Name
-
fieldType(optional):
string
The Profile List Field Type
Examples
The following example shows how to retrieve profile list fields for a profile list.
| FIELDS | DESCRIPTION |
|---|---|
| Authorization | <AUTH_TOKEN> |
| Accept | application/json |
Sample Request URL
Retrieve all fields for the profile list named DemoProfileList:
/rest/api/v1.3/lists/DemoProfileList/fields
Sample Response: Success
{
"name": "DemoProfileList",
"folderName": "Responsys_Folder",
"fields": [
{
"fieldName": "RIID_",
"fieldType": "INTEGER"
},
{
"fieldName": "CREATED_SOURCE_IP_",
"fieldType": "STR255"
},
{
"fieldName": "CUSTOMER_ID_",
"fieldType": "STR255"
},
{
"fieldName": "EMAIL_ADDRESS_",
"fieldType": "STR500"
},
{
"fieldName": "EMAIL_DOMAIN_",
"fieldType": "STR255"
},
{
"fieldName": "EMAIL_ISP_",
"fieldType": "STR255"
},
{
"fieldName": "EMAIL_FORMAT_",
"fieldType": "CHAR"
},
{
"fieldName": "EMAIL_PERMISSION_STATUS_",
"fieldType": "CHAR"
},
{
"fieldName": "EMAIL_DELIVERABILITY_STATUS_",
"fieldType": "CHAR"
},
{
"fieldName": "EMAIL_PERMISSION_REASON_",
"fieldType": "STR255"
},
{
"fieldName": "EMAIL_MD5_HASH_",
"fieldType": "STR50"
},
{
"fieldName": "EMAIL_SHA256_HASH_",
"fieldType": "STR100"
},
{
"fieldName": "MOBILE_NUMBER_",
"fieldType": "STR50"
},
{
"fieldName": "MOBILE_COUNTRY_",
"fieldType": "STR25"
},
{
"fieldName": "MOBILE_PERMISSION_STATUS_",
"fieldType": "CHAR"
},
{
"fieldName": "MOBILE_DELIVERABILITY_STATUS_",
"fieldType": "CHAR"
},
{
"fieldName": "MOBILE_PERMISSION_REASON_",
"fieldType": "STR255"
},
{
"fieldName": "POSTAL_STREET_1_",
"fieldType": "STR255"
},
{
"fieldName": "POSTAL_STREET_2_",
"fieldType": "STR255"
},
{
"fieldName": "CITY_",
"fieldType": "STR50"
},
{
"fieldName": "STATE_",
"fieldType": "STR50"
},
{
"fieldName": "POSTAL_CODE_",
"fieldType": "STR25"
},
{
"fieldName": "COUNTRY_",
"fieldType": "STR50"
},
{
"fieldName": "POSTAL_PERMISSION_STATUS_",
"fieldType": "CHAR"
},
{
"fieldName": "POSTAL_DELIVERABILITY_STATUS_",
"fieldType": "CHAR"
},
{
"fieldName": "POSTAL_PERMISSION_REASON_",
"fieldType": "STR255"
},
{
"fieldName": "CREATED_DATE_",
"fieldType": "TIMESTAMP"
},
{
"fieldName": "MODIFIED_DATE_",
"fieldType": "TIMESTAMP"
}
]
}
Example Response Failures
404 Not Found Errors
List not found: Requests fail when the profile list name specified is not found in Responsys. The error resembles:
{
"type": "",
"title": "List not found",
"errorCode": "LIST_NOT_FOUND",
"detail": "invalidList List is not found",
"errorDetails": []
}
400 Bad Request Errors
Invalid list name length: Requests fail if the name of the profile list specified exceeds 100 characters. The error resembles:
{
"type": "",
"title": "Invalid request parameters",
"errorCode": "INVALID_PARAMETER",
"detail": "Max Length of listName allowed: 100",
"errorDetails": []
}
401 Unauthorized Errors
Insufficient access to the list: Requests fail if the user performing the request does not have access to the specified list. The list may belong to a different organization. The error resembles:
{
"type": "",
"title": "Insufficient access",
"errorCode": "INSUFFICIENT_ACCESS",
"detail": "User does not have access to the list",
"errorDetails": []
}
401 Unauthorized Errors
Insufficient privileges to API: Requests fail if the user performing the request does not have the List Web Services Manager role. This role is required to perform this request. The error resembles:
{
"type": "",
"title": "Insufficient access",
"errorCode": "INSUFFICIENT_ACCESS",
"detail": "Insufficient privileges to invoke this API",
"errorDetails": []
}