TAG LINE
SMALL TITLE

Package / Service / Price Plan

(API Version v4)


Represents the linking of pricing for a Service assigned to a Package.


What can you do with PackageServicePricePlan?


Properties

Property Details
identity
READ-ONLY
"identity": 19
Type: Number
This is the unique numeric identifier for the PackageServicePricePlan
packageServiceId
"packageServiceId": 24
Type: Number
Unique identifier for the associated PackageService object.
packageServiceName
"packageServiceName": "Sample Name"
Type: String
The name of the object associated with the packageServiceId property.
packageFrequencyId
"packageFrequencyId": 7
Type: Number
Unique identifier for the associated PackageFrequency object.
packageFrequencyName
"packageFrequencyName": "Sample Name"
Type: String
The name of the object associated with the packageFrequencyId property.
packageCurrencyId
"packageCurrencyId": 25
Type: Number
Unique identifier for the associated PackageCurrency object.
packageCurrencyName
"packageCurrencyName": "Sample Name"
Type: String
The name of the object associated with the packageCurrencyId property.
accountPricePlanId
"accountPricePlanId": 25
Type: Number
Unique identifier for the associated AccountPricePlan object.
accountPricePlanName
"accountPricePlanName": "Sample Name"
Type: String
The name of the object associated with the accountPricePlanId property.
accountProductCodeId
"accountProductCodeId": 3
Type: Number
Unique identifier for the associated AccountProductCode object.
accountProductCodeName
"accountProductCodeName": "Sample Name"
Type: String
The name of the object associated with the accountProductCodeId property.


Patch Types

The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.

PATCH operations can be used as a standard API call or nested within the envelope of a DataFlow. Below you will find the child objects that can be updated as part of PATCH operations for the PackageServicePricePlan object.

Standard PATCH objects:

DataFlow PATCH objects:


End Points

DELETEapi/v4/Package/Service/PricePlan/{id}
Delete an instance of the PackageServicePricePlan object. Upon successful delete, this API will return a record of all of the reelated objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the PackageServicePricePlan object.
Delete an instance of the PackageServicePricePlan object.
DELETE api/v4/Package/Service/PricePlan/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "packageServicePricePlan"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETapi/v4/Package/Service/PricePlan/
Retrieve all of the PackageServicePricePlan objects.
Retrieve all of the PackageServicePricePlan objects.
GET api/v4/Package/Service/PricePlan/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "packageServiceId": 19,
            "packageServiceName": "Sample Text Data",
            "packageFrequencyId": 9,
            "packageFrequencyName": "Sample Text Data",
            "packageCurrencyId": 10,
            "packageCurrencyName": "Sample Text Data",
            "accountPricePlanId": 11,
            "accountPricePlanName": "Sample Text Data",
            "accountProductCodeId": 22,
            "accountProductCodeName": "Sample Text Data"
        }
    ]
}
GETapi/v4/Package/Service/PricePlan/AvailableFor/Account/{id}/AccountProductCode/{accountProductCodeId}
Retrieve the PackageServicePricePlan that is available for the specified Account and AccountProductCode.
{id}Unique identifier for the Account object.
{accountProductCodeId}Unique identifier for the AccountProductCode object.
Retrieve the PackageServicePricePlan that is available for the specified Account and AccountProductCode.
GET api/v4/Package/Service/PricePlan/AvailableFor/Account/{id}/AccountProductCode/{accountProductCodeId}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "bc7b30cb-cb26-44f3-9a52-819adadb8721",
    "instance": {
        "identity": 2069,
        "packageServiceId": 1,
        "packageFrequencyId": 45,
        "packageFrequencyName": "DSL Package - 1 Month",
        "packageCurrencyId": 3,
        "isCountOnFirstUsage": false,
        "packageId": 1,
        "packageName": "DSL Package",
        "serviceId": 1,
        "serviceName": "Extreme DSL Service",
        "packageFrequencyPackageCurrencyIsActive": true,
        "currencyId": 1,
        "currencyName": "United States Dollar",
        "currencyCode": "USD",
        "statusTierTypeId": 1,
        "statusTierTypeName": "Not Tiered"
    }
}
GETapi/v4/Package/Service/PricePlan/Paged
Retrieve all of the PackageServicePricePlan 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 PackageServicePricePlan objects in a paged fashion.
GET api/v4/Package/Service/PricePlan/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,
                "packageServiceId": 14,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 4,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 27,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 21,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 11,
                "accountProductCodeName": "Sample Text Data"
            }
        ]
    }
}
GETapi/v4/Package/Service/PricePlan/Paged/Detail
Retrieve all of the PackageServicePricePlan objects in a paged fashion with all object details. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve all of the PackageServicePricePlan objects in a paged fashion with all object details.
GET api/v4/Package/Service/PricePlan/Paged/Detail
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,
                "packageServiceId": 17,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 14,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 15,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 13,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 21,
                "accountProductCodeName": "Sample Text Data",
                "details": {
                    "sampleSingleObject": {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    },
                    "sampleMultipleObjects": {
                        "totalCount": 1,
                        "items": [
                            {
                                "identity": 2,
                                "property1": "Sample Text",
                                "property2": "2021-04-26T15:25:29.117Z",
                                "property3": 2
                            }
                        ]
                    }
                }
            }
        ]
    }
}
GETapi/v4/Package/Service/PricePlan/{id}
Retrieve an instance of the PackageServicePricePlan object by its ID.
{id}Unique identifier for the PackageServicePricePlan object.
Retrieve an instance of the PackageServicePricePlan object by its ID.
GET api/v4/Package/Service/PricePlan/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "packageServiceId": 4,
        "packageServiceName": "Sample Text Data",
        "packageFrequencyId": 24,
        "packageFrequencyName": "Sample Text Data",
        "packageCurrencyId": 12,
        "packageCurrencyName": "Sample Text Data",
        "accountPricePlanId": 3,
        "accountPricePlanName": "Sample Text Data",
        "accountProductCodeId": 8,
        "accountProductCodeName": "Sample Text Data"
    }
}
GETapi/v4/Package/Service/PricePlan/{id}/Detail
Retrieve deep detail of the PackageServicePricePlan object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the PackageServicePricePlan object.
Retrieve deep detail of the PackageServicePricePlan object by its ID.
GET api/v4/Package/Service/PricePlan/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "packageServiceId": 5,
        "packageServiceName": "Sample Text Data",
        "packageFrequencyId": 2,
        "packageFrequencyName": "Sample Text Data",
        "packageCurrencyId": 21,
        "packageCurrencyName": "Sample Text Data",
        "accountPricePlanId": 21,
        "accountPricePlanName": "Sample Text Data",
        "accountProductCodeId": 23,
        "accountProductCodeName": "Sample Text Data",
        "details": {
            "sampleSingleObject": {
                "identity": 2,
                "property1": "Sample Text",
                "property2": "2021-04-26T15:25:29.117Z",
                "property3": 2
            },
            "sampleMultipleObjects": {
                "totalCount": 1,
                "items": [
                    {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    }
                ]
            }
        }
    }
}
PATCHapi/v4/Package/Service/PricePlan/{id}
Update or Add the PackageServicePricePlan object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the PackageServicePricePlan object.
Update or Add the PackageServicePricePlan object and optionally make changes to any child objects.
PATCH api/v4/Package/Service/PricePlan/{id}

{
    "details": {},
    "packageServicePricePlans": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "packageServiceId": 10,
                "packageFrequencyId": 23,
                "packageCurrencyId": 10,
                "accountPricePlanId": 24,
                "accountProductCodeId": 8
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "packageServicePricePlan",
                "instance": {
                    "identity": 1,
                    "packageServiceId": 25,
                    "packageServiceName": "Sample Text Data",
                    "packageFrequencyId": 21,
                    "packageFrequencyName": "Sample Text Data",
                    "packageCurrencyId": 3,
                    "packageCurrencyName": "Sample Text Data",
                    "accountPricePlanId": 7,
                    "accountPricePlanName": "Sample Text Data",
                    "accountProductCodeId": 19,
                    "accountProductCodeName": "Sample Text Data"
                }
            }
        ]
    }
}
POSTapi/v4/Package/Service/PricePlan/
Create a new instance of the PackageServicePricePlan object.
Create a new instance of the PackageServicePricePlan object.
POST api/v4/Package/Service/PricePlan/

{
    "packageServiceId": 8,
    "packageFrequencyId": 14,
    "packageCurrencyId": 19,
    "accountPricePlanId": 13,
    "accountProductCodeId": 10
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "packageServiceId": 23,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 14,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 27,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 4,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 22,
                "accountProductCodeName": "Sample Text Data"
            }
        ]
    }
}
POSTapi/v4/Package/Service/PricePlan/Search
Retreive a list of PackageServicePricePlan 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 PackageServicePricePlan objects based on search criteria.
POST api/v4/Package/Service/PricePlan/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,
            "packageServiceId": 2,
            "packageServiceName": "Sample Text Data",
            "packageFrequencyId": 3,
            "packageFrequencyName": "Sample Text Data",
            "packageCurrencyId": 0,
            "packageCurrencyName": "Sample Text Data",
            "accountPricePlanId": 7,
            "accountPricePlanName": "Sample Text Data",
            "accountProductCodeId": 12,
            "accountProductCodeName": "Sample Text Data"
        }
    ]
}
PUTapi/v4/Package/Service/PricePlan/{id}
Update an existing instance of the PackageServicePricePlan object.
Update an existing instance of the PackageServicePricePlan object.
PUT api/v4/Package/Service/PricePlan/{id}

{
    "identity": 1,
    "packageServiceId": 1,
    "packageFrequencyId": 26,
    "packageCurrencyId": 24,
    "accountPricePlanId": 12,
    "accountProductCodeId": 19
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "packageServiceId": 9,
                "packageServiceName": "Sample Text Data",
                "packageFrequencyId": 10,
                "packageFrequencyName": "Sample Text Data",
                "packageCurrencyId": 26,
                "packageCurrencyName": "Sample Text Data",
                "accountPricePlanId": 4,
                "accountPricePlanName": "Sample Text Data",
                "accountProductCodeId": 1,
                "accountProductCodeName": "Sample Text Data"
            }
        ]
    }
}