GET api/v1/packages?fromPost={fromPost}
Get listing of available packages.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fromPost | boolean |
Default value is False |
Body Parameters
PricingPackageBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Authentication | AuthenticationModel |
Required |
|
| Request | PricingPackageRequest |
Required |
Request Formats
application/json, text/json
Sample:
{
"Authentication": {
"Id": "170200123",
"Key": "467512342123"
},
"Request": {
"Email": "larry@newmedia.com - optional to determine if member, or not",
"PackageType": "All/AlaCarte/Bundle/Curated Collection/Developer/Membership/Saas/Software/Software Bundle",
"ProductType": "All/Render/Storage/Workstation",
"DiscountCode": "Test123"
}
}
application/xml, text/xml
Sample:
<PricingPackageBindingModel 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>
<DiscountCode>Test123</DiscountCode>
<Email>larry@newmedia.com - optional to determine if member, or not</Email>
<PackageType>All/AlaCarte/Bundle/Curated Collection/Developer/Membership/Saas/Software/Software Bundle</PackageType>
<ProductType>All/Render/Storage/Workstation</ProductType>
</Request>
</PricingPackageBindingModel>
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>