GET api/v1/packages/purchased
Get details on specific purchases by specific people
Request Information
URI Parameters
None.
Body Parameters
PackagesPurchasedBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Authentication | AuthenticationModel |
Required |
|
| Request | PackagesPurchasedRequest |
Required |
Request Formats
application/json, text/json
Sample:
{
"Authentication": {
"Id": "170200123",
"Key": "467512342123"
},
"Request": {
"Email": "larry@newmedia.com",
"Sku": "MP001",
"RequestType": "0 - Count, 1 - Get All Purchases, 2 - Get Last Purchase, 3 - Get First Purchase"
}
}
application/xml, text/xml
Sample:
<PackagesPurchasedBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Payments.Api.Models">
<Authentication>
<Id>170200123</Id>
<Key>467512342123</Key>
</Authentication>
<Request>
<Email>larry@newmedia.com</Email>
<RequestType>0 - Count, 1 - Get All Purchases, 2 - Get Last Purchase, 3 - Get First Purchase</RequestType>
<Sku>MP001</Sku>
</Request>
</PackagesPurchasedBindingModel>
Response Information
Resource Description
PricingPackagesOutgoingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | MessageModel |
None. |
|
| Response | IPricingPackageResponseModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": {
"Code": "sample string 1",
"Description": "sample string 2"
},
"Response": null
}
application/xml, text/xml
Sample:
<PricingPackagesOutgoingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Payments.Api.Models">
<Message>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
</Message>
<Response i:nil="true" />
</PricingPackagesOutgoingModel>