TAG LINE
SMALL TITLE

Account / SharePlan / Participation

(API Version v4)


A listing of Services that are participating in a specified Share Plan for an Account.


What can you do with AccountSharePlanParticipation?


Properties

Property Details
identity
READ-ONLY
"identity": 13
Type: Number
This is the unique numeric identifier for the AccountSharePlanParticipation
accountSharePlanId
"accountSharePlanId": 7
Type: Number
Unique identifier for the associated AccountSharePlan object.
accountSharePlanName
"accountSharePlanName": "Sample Name"
Type: String
The name of the object associated with the accountSharePlanId property.
serviceId
"serviceId": 1
Type: Number
Unique identifier for the associated Service object.
serviceName
"serviceName": "Sample Name"
Type: String
The name of the object associated with the serviceId property.
packageId
"packageId": 2
Type: Number
Unique identifier for the associated Package object.
packageName
"packageName": "Sample Name"
Type: String
The name of the object associated with the packageId property.


End Points

GETapi/v4/Account/SharePlan/Participation/
Retrieve all of the AccountSharePlanParticipation objects.
Retrieve all of the AccountSharePlanParticipation objects.
GET api/v4/Account/SharePlan/Participation/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountSharePlanId": 16,
            "accountSharePlanName": "Sample Text Data",
            "serviceId": 15,
            "serviceName": "Sample Text Data",
            "packageId": 6,
            "packageName": "Sample Text Data"
        }
    ]
}
GETapi/v4/Account/SharePlan/Participation/Paged
Retrieve all of the AccountSharePlanParticipation 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 AccountSharePlanParticipation objects in a paged fashion.
GET api/v4/Account/SharePlan/Participation/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,
                "accountSharePlanId": 5,
                "accountSharePlanName": "Sample Text Data",
                "serviceId": 23,
                "serviceName": "Sample Text Data",
                "packageId": 5,
                "packageName": "Sample Text Data"
            }
        ]
    }
}
GETapi/v4/Account/SharePlan/Participation/{id}
Retrieve an instance of the AccountSharePlanParticipation object by its ID.
{id}Unique identifier for the AccountSharePlanParticipation object.
Retrieve an instance of the AccountSharePlanParticipation object by its ID.
GET api/v4/Account/SharePlan/Participation/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountSharePlanId": 12,
        "accountSharePlanName": "Sample Text Data",
        "serviceId": 21,
        "serviceName": "Sample Text Data",
        "packageId": 6,
        "packageName": "Sample Text Data"
    }
}
POSTapi/v4/Account/SharePlan/Participation/Search
Retreive a list of AccountSharePlanParticipation 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 AccountSharePlanParticipation objects based on search criteria.
POST api/v4/Account/SharePlan/Participation/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,
            "accountSharePlanId": 5,
            "accountSharePlanName": "Sample Text Data",
            "serviceId": 6,
            "serviceName": "Sample Text Data",
            "packageId": 0,
            "packageName": "Sample Text Data"
        }
    ]
}