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": "2bb1c537-fe2a-44d5-b7a7-c52ff86f1caa",
"customer-id": "733c021f-0d48-4b6b-b8e4-c81b08acf0cc",
"msisdn": "sample string 3",
"suffix": "sample string 4",
"created-utc": "2026-06-12T09:24:27.9749847+00:00",
"expired-utc": "2026-06-12T09:24:27.9749847+00:00"
},
{
"id": "2bb1c537-fe2a-44d5-b7a7-c52ff86f1caa",
"customer-id": "733c021f-0d48-4b6b-b8e4-c81b08acf0cc",
"msisdn": "sample string 3",
"suffix": "sample string 4",
"created-utc": "2026-06-12T09:24:27.9749847+00:00",
"expired-utc": "2026-06-12T09:24:27.9749847+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-06-12T09:24:27.9749847+00:00</CreatedUtc>
<CustomerId>733c021f-0d48-4b6b-b8e4-c81b08acf0cc</CustomerId>
<ExpiredUtc>2026-06-12T09:24:27.9749847+00:00</ExpiredUtc>
<Id>2bb1c537-fe2a-44d5-b7a7-c52ff86f1caa</Id>
<Msisdn>sample string 3</Msisdn>
<Suffix>sample string 4</Suffix>
</PurchaseBlock>
<PurchaseBlock>
<CreatedUtc>2026-06-12T09:24:27.9749847+00:00</CreatedUtc>
<CustomerId>733c021f-0d48-4b6b-b8e4-c81b08acf0cc</CustomerId>
<ExpiredUtc>2026-06-12T09:24:27.9749847+00:00</ExpiredUtc>
<Id>2bb1c537-fe2a-44d5-b7a7-c52ff86f1caa</Id>
<Msisdn>sample string 3</Msisdn>
<Suffix>sample string 4</Suffix>
</PurchaseBlock>
</ArrayOfPurchaseBlock>