GET api/CustomerPurchaseBlockCollection/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PurchaseBlock| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| Msisdn | string |
None. |
|
| Suffix | string |
None. |
|
| CreatedUtc | date |
None. |
|
| ExpiredUtc | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "09bfbf85-69a1-4d50-a9a3-174cd500d422",
"customer-id": "bb23e0ea-5a7e-4dc3-8944-1207ff94bbba",
"msisdn": "sample string 3",
"suffix": "sample string 4",
"created-utc": "2026-07-30T03:15:18.6387884+00:00",
"expired-utc": "2026-07-30T03:15:18.6387884+00:00"
},
{
"id": "09bfbf85-69a1-4d50-a9a3-174cd500d422",
"customer-id": "bb23e0ea-5a7e-4dc3-8944-1207ff94bbba",
"msisdn": "sample string 3",
"suffix": "sample string 4",
"created-utc": "2026-07-30T03:15:18.6387884+00:00",
"expired-utc": "2026-07-30T03:15:18.6387884+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfPurchaseBlock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caprica.Models">
<PurchaseBlock>
<CreatedUtc>2026-07-30T03:15:18.6387884+00:00</CreatedUtc>
<CustomerId>bb23e0ea-5a7e-4dc3-8944-1207ff94bbba</CustomerId>
<ExpiredUtc>2026-07-30T03:15:18.6387884+00:00</ExpiredUtc>
<Id>09bfbf85-69a1-4d50-a9a3-174cd500d422</Id>
<Msisdn>sample string 3</Msisdn>
<Suffix>sample string 4</Suffix>
</PurchaseBlock>
<PurchaseBlock>
<CreatedUtc>2026-07-30T03:15:18.6387884+00:00</CreatedUtc>
<CustomerId>bb23e0ea-5a7e-4dc3-8944-1207ff94bbba</CustomerId>
<ExpiredUtc>2026-07-30T03:15:18.6387884+00:00</ExpiredUtc>
<Id>09bfbf85-69a1-4d50-a9a3-174cd500d422</Id>
<Msisdn>sample string 3</Msisdn>
<Suffix>sample string 4</Suffix>
</PurchaseBlock>
</ArrayOfPurchaseBlock>