TAG LINE
SMALL TITLE

Extension / Attribute / List Item

(API Version v4)


What can you do with ExtensionAttributeListItem?


Properties

Property Details
identity
READ-ONLY
"identity": 0
Type: Number
This is the unique numeric identifier for the ExtensionAttributeListItem
extensionAttributeId
"extensionAttributeId": 5
Type: Number
Unique identifier for the associated ExtensionAttribute object.
extensionAttributeName
"extensionAttributeName": "Sample Name"
Type: String
The name of the object associated with the extensionAttributeId property.
value
"value": "Hello World"
Type: String
sortOrder
"sortOrder": 22
Type: Number


End Points

GETapi/v4/Extension/Attribute/ListItem/
Retrieve all of the ExtensionAttributeListItem objects.
Retrieve all of the ExtensionAttributeListItem objects.
GET api/v4/Extension/Attribute/ListItem/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "extensionAttributeId": 21,
            "extensionAttributeName": "Sample Text Data",
            "value": "Sample Text Data",
            "sortOrder": 21
        }
    ]
}
GETapi/v4/Extension/Attribute/ListItem/Paged
Retrieve all of the ExtensionAttributeListItem objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the ExtensionAttributeListItem objects in a paged fashion.
GET api/v4/Extension/Attribute/ListItem/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "extensionAttributeId": 3,
                "extensionAttributeName": "Sample Text Data",
                "value": "Sample Text Data",
                "sortOrder": 26
            }
        ]
    }
}
GETapi/v4/Extension/Attribute/ListItem/{id}
Retrieve an instance of the ExtensionAttributeListItem object by its ID.
{id}Unique identifier for the ExtensionAttributeListItem object.
Retrieve an instance of the ExtensionAttributeListItem object by its ID.
GET api/v4/Extension/Attribute/ListItem/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "extensionAttributeId": 22,
        "extensionAttributeName": "Sample Text Data",
        "value": "Sample Text Data",
        "sortOrder": 0
    }
}
POSTapi/v4/Extension/Attribute/ListItem/Search
Retreive a list of ExtensionAttributeListItem objects based on search criteria. Search end points allow for retrieving results based on search criteria. Search criteria is sent as the payload of the POST.
Retreive a list of ExtensionAttributeListItem objects based on search criteria.
POST api/v4/Extension/Attribute/ListItem/Search

{
    "query": {
        "top": 20,
        "search": [
            {
                "name": "MyFieldName",
                "operator": "startsWith",
                "value": "a"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "itemCount": 1,
    "items": [
        {
            "identity": 1,
            "extensionAttributeId": 25,
            "extensionAttributeName": "Sample Text Data",
            "value": "Sample Text Data",
            "sortOrder": 21
        }
    ]
}