TAG LINE
TAG LINE
SMALL TITLE

Account / Package / Status Type

(API Version v8)


This object represents user definable statuses for account packages that are based on a main base type that has meaning.


What can you do with AccountPackageStatusType?


Properties

Property Details
identity
READ-ONLY
"identity": 26
Type: Number
This is the unique numeric identifier for the AccountPackageStatusType
ownerId
READ-ONLY
"ownerId": 5
Type: Number
Unique identifier for the associated Owner object.
ownerName
READ-ONLY
"ownerName": "Sample Name"
Type: String
The name of the object associated with the ownerId property.
name
"name": "Hello World"
Type: String
The name given to the status type.
preventChanges
"preventChanges": true
Type: Boolean
If true, then the Account Package moves into a Read-only state.
baseBillingStatusTypeId
"baseBillingStatusTypeId": 19
Type: Number
Unique identifier for the associated BaseBillingStatusType object.
baseBillingStatusTypeName
"baseBillingStatusTypeName": "Sample Name"
Type: String
The name of the object associated with the baseBillingStatusTypeId property.


End Points

DELETEAccount/Package/StatusType/{id}
Delete an instance of the AccountPackageStatusType object. Upon successful delete, this API will return a record of all of the related 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 AccountPackageStatusType object.
Delete an instance of the AccountPackageStatusType object.
DELETE Account/Package/StatusType/{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": "accountPackageStatusType"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETAccount/Package/StatusType/
Retrieve all of the AccountPackageStatusType objects.
Retrieve all of the AccountPackageStatusType objects.
GET Account/Package/StatusType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 8,
            "ownerName": "Sample Text Data",
            "name": "Sample Text Data",
            "preventChanges": true,
            "baseBillingStatusTypeId": 24,
            "baseBillingStatusTypeName": "Sample Text Data"
        }
    ]
}
GETAccount/Package/StatusType/Paged
Retrieve all of the AccountPackageStatusType 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 AccountPackageStatusType objects in a paged fashion.
GET Account/Package/StatusType/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,
                "ownerId": 6,
                "ownerName": "Sample Text Data",
                "name": "Sample Text Data",
                "preventChanges": true,
                "baseBillingStatusTypeId": 14,
                "baseBillingStatusTypeName": "Sample Text Data"
            }
        ]
    }
}
GETAccount/Package/StatusType/{id}
Retrieve an instance of the AccountPackageStatusType object by its ID.
{id}Unique identifier for the AccountPackageStatusType object.
Retrieve an instance of the AccountPackageStatusType object by its ID.
GET Account/Package/StatusType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 25,
        "ownerName": "Sample Text Data",
        "name": "Sample Text Data",
        "preventChanges": true,
        "baseBillingStatusTypeId": 8,
        "baseBillingStatusTypeName": "Sample Text Data"
    }
}
POSTAccount/Package/StatusType/
Create a new instance of the AccountPackageStatusType object.
Create a new instance of the AccountPackageStatusType object.
POST Account/Package/StatusType/

{
    "name": "Sample Text Data",
    "preventChanges": true,
    "baseBillingStatusTypeId": 27
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 9,
                "ownerName": "Sample Text Data",
                "name": "Sample Text Data",
                "preventChanges": true,
                "baseBillingStatusTypeId": 26,
                "baseBillingStatusTypeName": "Sample Text Data"
            }
        ]
    }
}
PUTAccount/Package/StatusType/{id}
Update an existing instance of the AccountPackageStatusType object.
Update an existing instance of the AccountPackageStatusType object.
PUT Account/Package/StatusType/{id}

{
    "identity": 1,
    "name": "Sample Text Data",
    "preventChanges": true,
    "baseBillingStatusTypeId": 17
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 10,
                "ownerName": "Sample Text Data",
                "name": "Sample Text Data",
                "preventChanges": true,
                "baseBillingStatusTypeId": 27,
                "baseBillingStatusTypeName": "Sample Text Data"
            }
        ]
    }
}