developer_guide:call_reference:subscriptionrequest

This is an old revision of the document!


SubscriptionRequest Call Reference

SubscriptionRequest will generate a new Subscription in the SB system.

View:

SubscriptionRequest

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 version="1.0" encoding="utf-8"?>
    <SubscriptionRequest>
	<Username>string</Username>
        <Token>string</Token>	
    </SubscriptionRequest>

Elements

Name Type Occurrence Meaning
SubscriptionRequest container required Parent Element
Username string required Merchant API username (this is not your SubscriptionBridge login id)
Token string required Your application's security token. view also: How to create a token

SubscriptionResponse

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.

XML

<?xml version="1.0" encoding="utf-8"?>
    <SubscriptionResponse>	
        <Status>string</Status>
	<Timestamp>timestamp</Timestamp>
        <Guid>string</Guid>
    </SubscriptionResponse>

Elements

Name Type Occurrence Meaning
SubscriptionResponse container required Parent Element
Status string always Success, Error, or Warning
Timestamp string always All responses return the official SB time stamp in UTC/GMT
Guid string always This is the identifier for the subscription and should be referenced in future management requests
developer_guide/call_reference/subscriptionrequest.1262757894.txt.gz · Last modified: 2010/01/04 23:00 (external edit)