Listing subscriptions
post
/ccstore/v1/selfservice/subscription/search
Lists the subscription header information
Request
Supported Media Types
- application/json
Request payload to list subscription
Root Schema : subscriptionSearchRequest
Type:
Show Source
object-
limit:
integer
Number of records to return.
-
offset:
integer
Offset for pagination.
-
q:
object q
Query criteria for filtering results.
-
sort:
array sort
sorting attribute and direction of sort.
Example:
{
"q":{
"criteria":[
{
"op":"$eq",
"attribute":"Status",
"value":"ORA_ACTIVE"
}
]
},
"offset":0,
"limit":10,
"sort":[
{
"attribute":"EndDate",
"direction":"ascending"
}
]
}Nested Schema : items
Type:
Show Source
object-
attribute:
string
Attribute to filter Results(e.g Status).
-
op:
string
Comparison operator (e.g., $eq, $gt, $in, $lt).
-
value:
string
Attribute value to match.
Nested Schema : items
Type:
Show Source
object-
attribute:
string
Allowed Values:
[ "CreationDate", "LastUpdateDate" ]Attribute to sort the results. -
direction:
string
Allowed Values:
[ "ascending", "descending" ]Direction of sorting.
Response
Supported Media Types
- application/json
200 Response
Successful response
Root Schema : subscriptionSearchResponse
Type:
Show Source
object-
count:
integer
The number of resource instances returned in the current range.
-
hasMore:
boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items:
array items
The items in the collection.
-
limit:
integer
The actual paging size used by the server.
-
links:
array links
-
offset:
integer
The offset value used in the current page.
-
totalResults:
integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : items
Type:
Show Source
object-
_entity:
string
The entity name i.e Subscription
-
BillToAccountId:
string
The billing account Id identifier of the subscription
-
EndDate:
string(date)
The date when the subscriptions starts.
-
PrimaryPartyId:
string
The Primary partyId identifier of the subscription
-
ShortDescription:
string
The description for the subscription
-
StartDate:
string(date)
The date when the subscriptions starts.
-
Status:
string
Allowed Values:
[ "ORA_ACTIVE", "ORA_UNDER_AMENDMENT", "ORA_EXPIRED", "ORA_CANCELED" ]The current status of the subscription product. -
SubscriptionId:
string
The public unique identifier of the subscription.
-
SubscriptionNumber:
string
The public unique identifier of the subscription.
-
SubscriptionOwner:
string
The owner of the subscription
-
TotalContractValue:
string
The total contract value of the subscription
Nested Schema : Link
Type:
Show Source
object-
href:
string
The hyperlink reference
-
rel:
string
The relation of the link
Example Response (totalResults)
1056
Example Response (offset)
0
Example Response (count)
10
Example Response (hasMore)
true
Example Response (limit)
10
Example Response (links)
[
{
"rel":"self",
"href":"http://localhost:8080/ccstore/v1/selfservice/subscription/search"
},
{
"rel":"next",
"href":"http://localhost:8080/ccstore/v1/selfservice/subscription/search?offset=10&limit=10"
}
]
Example Response (items)
[
{
"StartDate":"2025-05-16T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100633967156",
"SubscriptionNumber":"CDRM_30233",
"TotalContractValue":"450",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-06-15T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-05-19T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634026183",
"SubscriptionNumber":"CDRM_31051",
"TotalContractValue":"0",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-06-18T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-05-20T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634018036",
"SubscriptionNumber":"CDRM_30250",
"TotalContractValue":"450",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-06-19T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-05-20T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634037270",
"SubscriptionNumber":"CDRM_31068",
"TotalContractValue":"0",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-06-19T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-05-26T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634151544",
"SubscriptionNumber":"CDRM_37049",
"TotalContractValue":"100",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-06-25T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-06-02T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634204312",
"SubscriptionNumber":"CDRM_40047",
"TotalContractValue":"1000",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-07-01T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-06-04T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634175364",
"SubscriptionNumber":"CDRM_38048",
"TotalContractValue":"0",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-07-03T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-06-04T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634181611",
"SubscriptionNumber":"CDRM_38049",
"TotalContractValue":"0",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-07-03T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-06-26T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634580922",
"SubscriptionNumber":"CDRM_46081",
"TotalContractValue":"300",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-07-15T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
},
{
"StartDate":"2025-06-21T00:00:00.000+0000",
"Status":"ORA_ACTIVE",
"SubscriptionId":"300100634542726",
"SubscriptionNumber":"CDRM_46063",
"TotalContractValue":"200",
"Status_localizedValue":"Active",
"BillToAccountId":1006,
"PrimaryPartyId":1006,
"EndDate":"2025-07-20T00:00:00.000+0000",
"SubscriptionOwner":"ABCPatric",
"_entity":"Subscription",
"ShortDescription":null
}
]
400 Response
Bad request
Root Schema : Error
Type:
Show Source
object-
message:
string
The error message
-
status:
string
The Error code
500 Response
Internal server error
Root Schema : Error
Type:
Show Source
object-
message:
string
The error message
-
status:
string
The Error code