The Class GetSubscriptionResponseDto.
| name | data type | description |
|---|---|---|
| subscription | SubscriptionDto | The subscription. |
| actionStatus | ActionStatus | The status response of the web service response. |
Example
{
"subscription" : {
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"code" : "...",
"description" : "...",
"versionNumber" : 12345,
"updatedCode" : "...",
"nextVersion" : 12345,
"previousVersion" : 12345,
"userAccount" : "...",
"offerTemplate" : "...",
"subscriptionDate" : 12345,
"terminationDate" : 12345,
"endAgreementDate" : 12345,
"status" : "RESILIATED",
"statusDate" : 12345,
"validityDate" : 12345,
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"accesses" : {
"access" : [ { }, { } ]
},
"services" : {
"serviceInstance" : [ { }, { } ]
},
"products" : {
"products" : [ { }, { } ]
},
"productInstances" : [ {
"id" : 12345,
"applicationDate" : 12345,
"auditableField" : [ { }, { } ],
"quantity" : 12345.0,
"code" : "...",
"orderNumber" : "...",
"productChargeInstance" : [ { }, { } ],
"description" : "...",
"customFields" : { },
"updatedCode" : "..."
}, {
"id" : 12345,
"applicationDate" : 12345,
"auditableField" : [ { }, { } ],
"quantity" : 12345.0,
"code" : "...",
"orderNumber" : "...",
"productChargeInstance" : [ { }, { } ],
"description" : "...",
"customFields" : { },
"updatedCode" : "..."
} ],
"productsToInstantiate" : [ {
"productCode" : "...",
"quantity" : 12345.0,
"deliveryDate" : 12345,
"attributeInstances" : [ { }, { } ],
"customFields" : { }
}, {
"productCode" : "...",
"quantity" : 12345.0,
"deliveryDate" : 12345,
"attributeInstances" : [ { }, { } ],
"customFields" : { }
} ],
"terminationReason" : "...",
"orderNumber" : "...",
"minimumAmountEl" : "...",
"minimumLabelEl" : "...",
"minimumChargeTemplate" : "...",
"subscribedTillDate" : 12345,
"renewed" : true,
"renewalNotifiedDate" : 12345,
"renewalRule" : {
"initialTermType" : "CALENDAR",
"renewalTermType" : "CALENDAR",
"initialyActiveFor" : 12345,
"initialyActiveForUnit" : "DAY",
"calendarInitialyActiveFor" : { },
"autoRenew" : true,
"daysNotifyRenewal" : 12345,
"endOfTermAction" : "TERMINATE",
"terminationReasonCode" : "...",
"renewFor" : 12345,
"calendarRenewFor" : { },
"renewForUnit" : "MONTH",
"extendAgreementPeriodToSubscribedTillDate" : true
},
"billingCycle" : "...",
"seller" : "...",
"autoEndOfEngagement" : true,
"ratingGroup" : "...",
"electronicBilling" : true,
"email" : "...",
"mailingType" : "...",
"emailTemplate" : "...",
"ccedEmails" : "...",
"discountPlanForInstantiation" : [ {
"disabled" : true,
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "DAY",
"customFields" : { },
"discountPlanItem" : [ { }, { } ],
"expressionEl" : "...",
"discountPlanType" : "INVOICE",
"status" : "ACTIVE",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ { }, { } ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
}, {
"disabled" : true,
"id" : 12345,
"auditableField" : [ { }, { } ],
"code" : "...",
"description" : "...",
"startDate" : 12345,
"updatedCode" : "...",
"endDate" : 12345,
"defaultDuration" : 12345,
"durationUnit" : "MONTH",
"customFields" : { },
"discountPlanItem" : [ { }, { } ],
"expressionEl" : "...",
"discountPlanType" : "QUOTE",
"status" : "INACTIVE",
"statusDate" : 12345,
"initialQuantity" : 12345,
"usedQuantity" : 12345,
"applicationLimit" : 12345,
"applicationFilterEL" : "...",
"incompatibleDiscountPlans" : [ { }, { } ],
"applicableEntities" : [ { }, { } ],
"applicableOnOverriddenPrice" : true,
"sequence" : 12345,
"applicableOnDiscountedPrice" : true
} ],
"discountPlanForTermination" : [ "...", "..." ],
"discountPlanInstance" : [ {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : { },
"status" : "EXPIRED",
"statusDate" : 12345,
"applicationCount" : 12345
}, {
"discountPlan" : "...",
"billingAccount" : "...",
"subscription" : "...",
"startDate" : 12345,
"endDate" : 12345,
"customFields" : { },
"status" : "APPLIED",
"statusDate" : 12345,
"applicationCount" : 12345
} ],
"paymentMethod" : {
"paymentMethodType" : "CASH",
"id" : 12345,
"disabled" : true,
"alias" : "...",
"preferred" : true,
"customerAccountCode" : "...",
"info1" : "...",
"info2" : "...",
"info3" : "...",
"info4" : "...",
"info5" : "...",
"bankCoordinates" : { },
"mandateIdentification" : "...",
"mandateDate" : 12345,
"cardType" : "MASTERCARD",
"owner" : "...",
"monthExpiration" : 12345,
"yearExpiration" : 12345,
"tokenId" : "...",
"cardNumber" : "...",
"issueNumber" : "...",
"userId" : "...",
"email" : "...",
"referenceDocumentCode" : "...",
"customFields" : { }
},
"customerService" : "...",
"salesPersonName" : "..."
},
"actionStatus" : {
"status" : "FAIL",
"errorCode" : { },
"message" : "...",
"entityId" : 12345,
"entityCode" : "...",
"nrAffected" : 12345,
"json" : "..."
}
}