PDF Export

Subscriptions

This page describes the subscriptions rest web services.

There are several services to read a subscription. You can select a subscription either by order number, by order attribute or by reference doc. All these services have common request parameters to select what subscription details are returned.

Examples

Get By Order Number

Get a subscription by order number.

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/getByOrderNumber-3.0.0
Fuba: /DSB/_ISM_E_SEL_VBELN

URL

GET: /rest/{client}/subscriptions/{orderNumber}

ParameterDescription
orderNumber subscription order number

Additional common parameters

Corresponding SOAP Service: getByOrderNumber.

Response

Get By Reference Doc

Get a subscription by the reference doc number.

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/getByReferenceDoc-3.0.0
Fuba: /DSB/_ISM_E_SEL_REFDO

URL

GET: /rest/{client}/subscriptions

ParameterDescription
refdocSubscription reference-doc number

Additional common parameters

Corresponding SOAP Service: getByReferenceDoc.

Response

Get By Order Attribute

Get subscriptions by an order attribute.

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/getByOrderAttribute-3.0.0
Fuba: /DSB/_ISM_E_SEL_MERKM

URL

GET: /rest/{client}/subscriptions/attributes

ParameterDescription
typeType of the attribute
valueValue of the attribute

Additional common parameters

Corresponding SOAP Service: getByOrderAttribute.

Response

Get Issues By Order Number

Get the future issues of a subscription until the given end date.

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/getIssuesByOrderNumber-2.0.0
Fuba: /DSB/_ISM_E_GET_VA_AUFTR

URL

GET: /rest/{client}/subscriptions/{orderNumber}/issues

ParameterDescription
orderNumber subscription order number
client client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
filter see below (mandatory)
date-from Start date Format YYYY-MM-DD (default ist today)
date-to End date Format YYYY-MM-DD (mandatory)
date-type Type of both date values:
1: On Sale Date
2: Issue Label Run Date (not yet implemented!)
3: Technical Issue Date (default)
entitlementType type of entitlement
filter comma seperated list of filters

Filters are sent as request parameter with a comma seperated list of key-value-pairs.

Example:

  &filter=filter1,filter2[key1=value1;key2=value2],filter2

List of available filters

FilterRule
AAll issues will be returned till the optional 'date-to'(mandatory)
EIf the subscription is a renewal(REN), it only returns, if X_IN_EXPIRY_PERIOD = true(X).
Otherwise if the subscription is a „normal“ one(ABO/ABOS), it only returns if X_IN_DELIVERY_PERIOD = true(X). Optional till the provided ‚date-to‘ value.(mandatory)
COnly the issues will be returned, that matches the “calculated” filter till the optional 'date-to'(mandatory)
POnly the issues will be returned, that matches the “pa” filter till the optional 'date-to' (mandatory)
NO_DOUBLE_ISSUE[DOUBLE_ISSUE=XX] Filter Double Issue - all Double Issues with DOUBLE_ISSUE=XX will not be displayed. Example: filter=NO_DOUBLE_ISSUE[DOUBLE_ISSUE=2](optional)

Corresponding SOAP Service: getIssuesByOrderNumber.

Response

Get Delivered Issues

Get the delivered issues of a subscription.

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/getDeliveredIssuesByOrderNumber-2.0.0
Fuba: /DSB/_ISM_E_GET_GELIEF_HEFTE

URL

GET: /rest/{client}/subscriptions/{orderNumber}/delivered-issues

ParameterDescription
orderNumber subscription order number
client client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
date-from Start date Format YYYY-MM-DD
date-type Type of the date value:
1: On Sale Date
2: Issue Label Run Date
3: Technical Issue Date (default)
show-grace-issues “Grace-issues”
entitlementType entitlement type

Corresponing SOAP Service: getDeliveredIssuesByOrderNumber.

Response

Get the payment details of a subscription.

Path mapping(intern): /net/dsb/avs3/PaymentDetails/getBySubscriptionOrderNumber-1.0.0
Fuba: /DSB/ISM_E_GET_ZAHLWEG

URL

GET: /rest/{client}/subscriptions/{orderNumber}/payment-details

ParameterDescription
orderNumber subscription order number
client client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
returnInvalidCC return invalid credi card data? (true/false= default)

Corresponding SOAP Service: PaymentDetails::getBySubscriptionOrderNumber.

Response

Cancel a subscription.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/cancel-1.0.0
Fuba: /DSB/_ISM_E_REN_CANCEL

URL

POST: /rest/{client}/subscriptions/{orderNumber}

Parameter Description
client client id
orderNumber subscription order number
sp service provider. (mandatory if the user account can use different service provider values)
cancel-reasonreason code of cancellation (mandatory)
cancel-type type of cancellation (mandatory): V (cancel at the end of the current period) or A (cancel immediately)
trigger-message if true, ccb Suite will send out cancellation ack email / letter (default: false)
refund if true, the remaining amount will be refunded automatically.

Corresponding SOAP Service: cancel.

Response

Replaces an issue.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/replaceIssue-2.0.0
Fuba: /DSB/ISM_E_BATCHSCHNITTSTELLE

URL

POST: /rest/{client}/subscriptions/{orderNumber}/replaceIssue

ParameterDescription
client client id
orderNumber subscription order number
sp service provider. (mandatory if the user account can use different service provider values)

Request

Response

Corresponding SOAP Service: replaceIssue.

Create a new subscription. This service is buffered. To transfer the subscription into the backend system an additional transfer job must be provided. Please request this job from your dsb account manager.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/createOrderBuffered-2.0.0
Fuba: /DSB/ISM_E_KAPSELABOANLAGE

URL

POST: /rest/{client}/subscriptions

ParameterDescription
client client id
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to use some sales orgas of the client)

Request Body

Response

Corresponding SOAP Service: createOrderBuffered.

Create or change an order attribute.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/createAttribute-2.0.0
Fuba: /DSB/ISM_E_BTC_AUFTR_MERKMAL

URL

POST: /rest/{client}/subscriptions/{orderNumber}/attributes

ParameterDescription
client client id
sp service provider. (mandatory if the user account can use different service provider values)
orderNumber subscription order number
type attribute type
value attribute value

Corresponding SOAP Service: createAttribute.

Response

Set complementary issues of a subscription.

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/complementaryIssues-1.0.0
SAP REST: /DO_COMP_ISSUES

URL

POST: /rest/{client}/subscriptions/{orderNumber}

ParameterDescription
client client id
sp service provider. (mandatory if the user account can use different service provider values)
orderNumbersubscription order number
compIssues number of complementary issues (either compIssuesTerm or compIssues needs to be provided)
compIssuesTerm number of complementary issues in term (either compIssuesTerm or compIssues needs to be provided)
extendedChecks do some extended checks (optional, default: false)
simulation check, if the request is possible, but don't execute it. (true/false default: false)
createLetter if true SAP will send a confirmation letter to the customer (optional,true/false default: false)

Request Body

Response

(Use only with appropriate Backendintegration in the ccb Suite)
This service initiate the change payment process in the backend (ccb suit)

Path mapping(internal): /net/dsb/avs3/PaymentDetails/changePayment-1.0.0
Fuba: /DSB/_ISM_E_CHANGE_PAYMNT_VBEL

URL

POST: /rest/{client}/subscriptions/{orderNumber}/paymentdetails?sp={sp}&so={so}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

Request Body

Response

(Use only with appropriate Backendintegration in the ccb Suite)
This service initiate the book payment process in the backend (ccb suit)

Path mapping(internal): /net/dsb/avs3/PaymentDetails/bookPayment-1.0.0
Fuba: /DSB/_ISM_E_BOOK_PAYMENT

URL

POST: /rest/{client}/subscriptions/{orderNumber}/bookPayment?sp={sp}&so={so}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

Request Body

Response

This service creates a holiday break.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/createHolidayBreak-2.0.0
Fuba: /DSB/_ISM_E_HOLIDAYBREAK
Corresponding SOAP Service: createHolidayBreak.

URL

POST: /rest/{client}/subscriptions/{orderNumber}/holidayBreak?sp={sp}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

Request Body

Response

BETA This service

1. cancels / stops a subscription's holiday break.

or

2. changes an active interruption (extends or shortens)

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/undoHolidayBreak-1.0.0
SAP REST: /UNDO_HOLIDAYBREAK

URL

POST: /rest/{client}/subscriptions/{orderNumber}/holidayBreak/undo?sp={sp}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

1. If you want to undo the interruption (only if the interruption has not started yet) then “dateOfBreakTo” must be empty and “dateType” is not needed either.

Request Body

2. If an active interruption is to be extended or shortened, then dateOfBreakTo and dateType must be set. If no value is set for date type then value (1 - On Sale Date) is used as default. Based on the desired dateOfBreakTo date, the appropriate end date of the interruption is determined.

Request Body

Response

This service creates a holiday redirect.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/createHolidayRedirect-1.0.0
Fuba: /DSB/_ISM_E_HOLIDAYREDIRECT
Corresponding SOAP Service: createHolidayRedirect]].

URL

POST: /rest/{client}/subscriptions/{orderNumber}/holidayRedirect?sp={sp}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

Request Body

Response

This service

1. cancels / stops a subscriptions holiday redirect.

or

2. changes (extends or shortens) an active redirect

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/undoHolidayRedirect-1.0.0
SAP REST: /UNDO_HOLIDAYREDIRECT

URL

POST: /rest/{client}/subscriptions/{orderNumber}/holidayRedirect/undo?sp={sp}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

1. If you want to undo the redirect (this is only possible if the redirect cycle has not started yet) then “dateOfRedirectTo” must be empty and “dateType” is not needed either.

Request Body

2. If an active redirect is to be extended or shortened, then “dateOfRedirectTo” and “dateType” must be set. If no value is set for date type then value (1 - On Sale Date) is used as default. Based on the desired “dateOfRedirectTo” date, the appropriate end date of the interruption is determined.

Request Body

Response

BETA This service changes the recipient for a given subscription order number.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/changeBp-1.0.0
Fuba: /DSB/_ISM_E_CHANGE_KUNWE

URL

POST: /rest/{client}/subscriptions/{orderNumber}/changeBp?sp={sp}

ParameterType/LengthDescription
client C/3client
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

Request Body

Element Definitions

Parameter Type/Length Description
bpNumberD/10 Existing bpNumber of new recipient
validFromD/10 Date from when the new recipient is valid(yyyy-mm-dd)

++++ Response

This service changes the mix type of a subscription.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/changeMixType-1.0.0
Fuba: /DSB/_ISM_E_BATCHSCHNITTSTELL

URL

POST: /rest/{client}/subscriptions/{orderNumber}/mixtype?sp={sp}&so={so}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)

Request Body

Response

(Use only with appropriate Backendintegration in the ccb Suite)
This service initiates different backend(ccb suite) actions with the sorry Interface.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/sorry-1.0.0
Fuba: /DSB/_ISM_E_SORRY

URL

POST /rest/{clientId}/subscriptions/{orderNumber}/sorry?sp={sp}&so={so}&issueNrFrom={issueNrFrom}&issueNrTo={issueNrTo}

ParameterType/LengthDescription
client C/3Client number
orderNumber C/10Subscription Order Number
sp C/3service provider. (mandatory if the user account can use different service provider values)
so C/4sales organization. (mandatory if the user account can use different sales organization values)
issueNrFrom C/9Issue number from (mandatory)
issueNrTo C/9Issue number to (mandatory)

Request Body

Response


This service allows to increase a renewal subscriptions price. !Internal purposes only!

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/priceIncrease-1.0.0
SAP REST: /DO_PRICE_INCREASE

URL

POST: /rest/{client}/subscriptions/{orderNumber}/priceIncrease?sp={sp}&bookImmediately={bookImmediately}&showErrorDialog={showErrorDialog}

Parameter Type/Length Description
client C/3client
orderNumber C/10subscription
sp C/3service provider. (mandatory if the user account can use different service provider values)
bookImmediately bool book immediately? (Default: true)
showErrorDialog bool Show error messages, if not they will be logged (Default: true)
createContact bool Creates an contact. If contact details in JSON body are empty an default contact will be created. Otherwise only the specific one. !! Only available if bookImmediately = true!! (Default: false)

Request Body

Response

BETA Get cancellation details of a subscription.

Path mapping(internal): /net/dsb/avs3/SubscriptionOrder/getCancellationInfo-1.0.0

URL

GET: /rest/{client}/subscriptions/{orderNumber}/cancellationInfo?sp={sp}&cancellationDate={cancellationDate}

ParameterType/LLengthDescription
client C/3client ID
orderNumber C/10subscription order number
sp C/3service provider. (mandatory if the user account can use different service provider values)
cancellationDate D desired cancellation date (YYYY-MM-DD) BETA

Response

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/getRights-1.0.0

URL

GET: /rest/{client}/subscriptions/{orderNumber}/rights

Parameter Description
client C/3client
orderNumber C/10subscription
sp C/3service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)

Response

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/updateRights-1.0.0

URL

POST: /rest/{client}/subscriptions/{orderNumber}/rights

Parameter Description
client C/3client
orderNumber C/10subscription
sp C/3service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
type insert, replace or delete

Request

This services requests the state of a new order.

Path mapping(intern): /net/dsb/avs3/SubscriptionOrder/getOrderState-1.0.0
Fuba: /GET_EXT_ORDER_STATUS

URL

POST rest/{client}/subscriptions/{orderNumber}/state

ParameterTyp/LängeBeschreibung
client C/3client
orderNumber C/20 external order number
sp C/3service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
searchAllStacks B true: search order in all stacks; false (default): search only in stacks of last three months

Response

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information