GET api/v1/creditbundles?query.Type={query.Type}&query.onlyActive={query.onlyActive}&request.Limit={request.Limit}&request.Offset={request.Offset}&request.OrderBy={request.OrderBy}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | CreditBundleType |
None. |
|
| onlyActive | boolean |
None. |
|
| Limit | integer |
None. |
|
| Offset | integer |
None. |
|
| OrderBy | string |
None. |
Body Parameters
None.
Response Information
Resource Description
MultiResultResponseOfCreditBundleDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Meta | MetaMultiResult |
None. |
|
| Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{
"meta": {
"limit": 1,
"offset": 2,
"totalResults": 3
},
"notifications": [
{},
{}
],
"results": [
{
"amount": 1,
"leftAmount": 1,
"purchaDate": "2026-03-23T09:11:52.5139663+00:00",
"expirationDate": "2026-03-23T09:11:52.5139663+00:00",
"unitPrice": 2.1,
"type": 0,
"organizationCode": "sample string 3",
"name": "sample string 4",
"totalPrice": 1.1
},
{
"amount": 1,
"leftAmount": 1,
"purchaDate": "2026-03-23T09:11:52.5139663+00:00",
"expirationDate": "2026-03-23T09:11:52.5139663+00:00",
"unitPrice": 2.1,
"type": 0,
"organizationCode": "sample string 3",
"name": "sample string 4",
"totalPrice": 1.1
}
]
}
application/xml, text/xml
Sample:
<MultiResultResponseOfCreditBundleDtoaM_S85dVU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response">
<Meta>
<Limit>1</Limit>
<Offset>2</Offset>
<TotalResults>3</TotalResults>
</Meta>
<Notifications>
<Notification />
<Notification />
</Notifications>
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Dtos">
<d2p1:CreditBundleDto>
<d2p1:Amount>1</d2p1:Amount>
<d2p1:ExpirationDate>2026-03-23T09:11:52.5139663+00:00</d2p1:ExpirationDate>
<d2p1:LeftAmount>1</d2p1:LeftAmount>
<d2p1:Name>sample string 4</d2p1:Name>
<d2p1:OrganizationCode>sample string 3</d2p1:OrganizationCode>
<d2p1:PurchaDate>2026-03-23T09:11:52.5139663+00:00</d2p1:PurchaDate>
<d2p1:TotalPrice>1.1</d2p1:TotalPrice>
<d2p1:Type>Sms</d2p1:Type>
<d2p1:UnitPrice>2.1</d2p1:UnitPrice>
</d2p1:CreditBundleDto>
<d2p1:CreditBundleDto>
<d2p1:Amount>1</d2p1:Amount>
<d2p1:ExpirationDate>2026-03-23T09:11:52.5139663+00:00</d2p1:ExpirationDate>
<d2p1:LeftAmount>1</d2p1:LeftAmount>
<d2p1:Name>sample string 4</d2p1:Name>
<d2p1:OrganizationCode>sample string 3</d2p1:OrganizationCode>
<d2p1:PurchaDate>2026-03-23T09:11:52.5139663+00:00</d2p1:PurchaDate>
<d2p1:TotalPrice>1.1</d2p1:TotalPrice>
<d2p1:Type>Sms</d2p1:Type>
<d2p1:UnitPrice>2.1</d2p1:UnitPrice>
</d2p1:CreditBundleDto>
</Results>
</MultiResultResponseOfCreditBundleDtoaM_S85dVU>