Get an additional module contract
DeprecatedRequired Scopes: `MEMBERSHIP_SELF_SERVICE_ADDITIONAL_MODULE_CONTRACT_READ` Get an additional module contract via additional module contract id
Endpoint
/v1/memberships/{contractId}/self-service/additional-module-contracts/{additionalModuleContractId} Path Parameters
contractId required integer (int64) Unique ID of the main contract
additionalModuleContractId required integer (int64) Unique ID of the additional module contract
Responses
Response Body application/json
Represents an additional module contract with extended data fields
name required Name of the additional module contract
"drink flat" price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" startDate string(date) required Start date of the additional module contract
"2022-01-15" endDate string(date) End date of the additional module contract
"2022-01-15" cancelationDate string(date) Cancelation date of the additional module contract
"2022-01-15" lastPossibleCancelationDate string(date) Last possible cancelation date of the additional module contract
"2022-01-15" cancelationReason Represents the reason of a contract cancelation
"Illness" contractCancelationStatus Cancelation status of the contract cancelation
CANCELED | The contract was canceled by the customer. |
PENDING_VERIFICATION | The cancelation is pending verification. |
PENDING_WITHDRAWAL_VERIFICATION | The cancelation withdrawal is pending verification. |
"PENDING_VERIFICATION" contractCancelationCanBeWithdrawn required Whether a contract cancelation for the additional module contract can be withdrawn
true trialPeriod Represents the trial period of an additional module contract
term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" startDate string(date) Trial period start date of an additional module contract
"2022-01-15" rateCodes array[object] Rate codes of this contract
name The name of the rate code
"Standard Rate" identifier Unique identifier for the rate code.
"RC12345" availableCancelationDates array[string(date)] Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child"