developer_guide:call_reference:getpackagesrequest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
developer_guide:call_reference:getpackagesrequest [2010/01/13 09:01] mattdeveloper_guide:call_reference:getpackagesrequest [2012/02/25 23:39] (current) – [GetPackagesRequest] matt
Line 1: Line 1:
-====== GetPackagesRequest Call Reference ======+====== GetPackagesRequest ======
  
 +==== Overview ====
  
-GetPackagesRequest will return a list of all packages for any given store or language.+**GetPackagesRequest** will return a list of all packages for any given store or language.
  
  
-**View:**+**Learn More:**
  
   * [[:developer_guide:developer_guide#using-the-apis|Using the APIs]]     * [[:developer_guide:developer_guide#using-the-apis|Using the APIs]]  
Line 11: Line 12:
   * [[:developer_guide:developer_guide#error-codes|Error Codes]]    * [[:developer_guide:developer_guide#error-codes|Error Codes]] 
   * [[:developer_guide:developer_guide#troubleshooting|Troubleshooting]]    * [[:developer_guide:developer_guide#troubleshooting|Troubleshooting]] 
- 
  
 ===== GetPackagesRequest ===== ===== GetPackagesRequest =====
- 
- 
-==== Overview ==== 
- 
-The box below lists all fields that could be included in the call request. To learn more about an individual field or its type, scroll down to find it in the table below the box. 
- 
- 
  
 ==== XML ==== ==== XML ====
Line 43: Line 36:
  
 ^ Name ^ Type ^ Occurrence  ^ Meaning ^ ^ Name ^ Type ^ Occurrence  ^ Meaning ^
-| GetPackagesRequest | container | required | Parent Element | +**GetPackagesRequest** | container | required | Parent Element | 
-| Username | string | required | Merchant API username (this is not your SubscriptionBridge login id) | +| Username | string | required | Merchant API Username (Not your Merchant Center login) | 
-| Token | string | required | Your application's security tokenview alsoHow to create token +| Token| string | required | Hash of API Username and Password[[:developer_guide:developer_guide:LinkID|Creating Token]] 
-| LanguageCode | string | required | The language your package details will be displayed |+| LanguageCode | string | required | ISO Language Code (e.g. en-US). [[:developer_guide:developer_guide:Language_Code|Learn More]] |
  
  
  
 ===== GetPackagesResponse ===== ===== GetPackagesResponse =====
- 
- 
-==== Overview ==== 
- 
-The box below lists all fields that could be included in the call response. To learn more about an individual field or its type, scroll down to find it in the table below the box. 
- 
  
  
Line 72: Line 59:
                 <PackageName>string</PackageName>                 <PackageName>string</PackageName>
                 <Description>string</Description>                 <Description>string</Description>
-                <Price>double</Price> +                <Price>currency</Price> 
-                <TrialPrice>double</TrialPrice>+                <TrialPrice>currency</TrialPrice>
                 <TrialName>string</TrialName>                 <TrialName>string</TrialName>
                 <Disclaimer>string</Disclaimer>                 <Disclaimer>string</Disclaimer>
Line 87: Line 74:
  
 ^ Name ^ Type ^ Occurrence  ^ Meaning ^ ^ Name ^ Type ^ Occurrence  ^ Meaning ^
-| GetPackagesResponse | container | required | Parent Element |+**GetPackagesResponse** | container | required | Parent Element |
 | Ack | string | always | Success, Error, or Warning | | Ack | string | always | Success, Error, or Warning |
 | Timestamp | string | always | All responses return the official SB time stamp in UTC/GMT | | Timestamp | string | always | All responses return the official SB time stamp in UTC/GMT |
-| Packages | container | always | A container element that contains a list of repeating package elements | +**Packages** | container | always | A container element that contains a list of repeating package elements | 
-| Package | container | always | A container element that contains the package elements | +**Package** | container | always | A container element that contains the package elements | 
-| LinkID | string | always | The package LinkID | +Package/LinkID | string | always | The package LinkID | 
-| PackageName | string | always | The name of the package (e.g. XYZ Annual Magazine Subscription) | +Package/PackageName | string | always | The name of the package (e.g. XYZ Annual Magazine Subscription) | 
-| Price | double | always | The price of the package | +Package/Price | currency | always | The price of the package | 
-| TrialPrice | double | always | The trial price of the package | +Package/TrialPrice | currency | always | The trial price of the package | 
-| TrialName | string | always | The name of the trial (e.g. Try XYZ Magazine Free for 2 weeks) | +Package/TrialName | string | always | The name of the trial (e.g. Try XYZ Magazine Free for 2 weeks) | 
-| Disclaimer | string | always | A custom message that accompanies the pricing terms (e.g. Plus shipping, tax, and handling) | +Package/Disclaimer | string | always | A custom message that accompanies the pricing terms (e.g. Plus shipping, tax, and handling) | 
-| TrialDescription | string | always | A description of the trial. (e.g. You will receive 2 issues of XYZ Magazine completely free of charge. If you don't wish to continue, you can simply cancel your subscription before the end of the trial.) |+Package/TrialDescription | string | always | A description of the trial. (e.g. You will receive 2 issues of XYZ Magazine completely free of charge. If you don't wish to continue, you can simply cancel your subscription before the end of the trial.) |
developer_guide/call_reference/getpackagesrequest.1263391317.txt.gz · Last modified: 2010/01/12 23:00 (external edit)