Merge pull request 'updated customer v1' (#42) from feature/1700-part-2-update-V1 into develop

Reviewed-on: #42
Reviewed-by: Bas Boterman <b.boterman@htm.nl>
This commit is contained in:
Mirjam Herald 2025-05-19 11:30:24 +00:00
commit 3d68dfb7eb

View File

@ -45,7 +45,6 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateDirectDebitMandateType:
@ -56,10 +55,6 @@ paths:
value:
directDebitMandate:
billingInformationId: 2
updateMandateAddressId:
value:
directDebitMandate:
mandateAddressId: 3
updateMandateReference:
value:
directDebitMandate:
@ -129,17 +124,10 @@ paths:
updateFullBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
updateIssuerCountry:
value:
billingInformation:
issuerCountry: DE
updateIban:
value:
billingInformation:
@ -148,10 +136,6 @@ paths:
value:
billingInformation:
bic: DEUT
updateSwift:
value:
billingInformation:
swift: UpdatedSwift
updateAscription:
value:
billingInformation:
@ -160,10 +144,6 @@ paths:
value:
billingInformation:
alias: Updated Alias
updateBillingAddressId:
value:
billingInformation:
billingAddressId: 3
required: true
responses:
'201':
@ -218,21 +198,16 @@ paths:
fullFinancialInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
minimumBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
required: true
responses:
'201':
@ -289,16 +264,12 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
minimumdirectDebitMandate:
value:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
required: true
responses:
@ -358,38 +329,32 @@ paths:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
created: "2024-06-02T15:03:460"
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
created: "2024-06-02T15:03:460"
directDebitMandate:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN Transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateTimestamp: '2024-01-01T00:00:00.00'
updateTimestamp: '2024-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: CANCELLED
updateTimestamp: '2024-01-01T00:00:00.00'
updateTimestamp: '2024-01-01T00:00:00.000'
missingBillingInformation:
value:
customerNumber: 1000003
@ -398,35 +363,31 @@ paths:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
missingDebitMandateInformation:
value:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
created: "2024-06-02T15:03:460"
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
created: "2024-06-02T15:03:460"
directDebitMandate: []
minimumFinancialInformation:
value:
@ -500,7 +461,6 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateDirectDebitMandateType:
@ -511,10 +471,6 @@ paths:
value:
directDebitMandate:
billingInformationId: 2
updateMandateAddressId:
value:
directDebitMandate:
mandateAddressId: 3
updateMandateReference:
value:
directDebitMandate:
@ -591,17 +547,10 @@ paths:
updateFullBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
updateIssuerCountry:
value:
billingInformation:
issuerCountry: DE
updateIban:
value:
billingInformation:
@ -610,10 +559,6 @@ paths:
value:
billingInformation:
bic: DEUT
updateSwift:
value:
billingInformation:
swift: UpdatedSwift
updateAscription:
value:
billingInformation:
@ -687,17 +632,14 @@ paths:
fullFinancialInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
minimumBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
ascription: Dit is een Test
alias: Alias Test
@ -765,16 +707,12 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
minimumdirectDebitMandate:
value:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
required: true
responses:
@ -841,38 +779,34 @@ paths:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
updateTimestamp: '2024-01-01T00:00:00.00'
created: '2024-01-01T00:00:00.000'
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
updateTimestamp: '2024-01-01T00:00:00.00'
created: '2024-01-01T00:00:00.000'
directDebitMandate:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateTimestamp: '2024-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: CANCELLED
updateTimestamp: '2024-01-01T00:00:00.000'
missingBillingInformation:
value:
customerNumber: 1000003
@ -881,35 +815,31 @@ paths:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
missingDebitMandateInformation:
value:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
created: "2024-06-02T15:03:460"
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
created: "2024-06-02T15:03:460"
directDebitMandate: []
minimumFinancialInformation:
value:
@ -1112,8 +1042,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -1121,8 +1050,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -1199,8 +1127,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -1208,8 +1135,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -1537,8 +1463,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -1546,8 +1471,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -1753,7 +1677,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
- street: Beeklaan
houseNumber: 30
@ -1761,7 +1684,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: false
addressTypeId: 2
phones:
- number: '6123456789'
@ -2604,7 +2526,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
addMinimumAddress:
value:
@ -2614,7 +2535,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
responses:
'201':
@ -2826,7 +2746,6 @@ paths:
city: Den Haag
country: NL
addressTypeId: 2
isPreferred: true
updateStreet:
value:
address:
@ -2854,11 +2773,7 @@ paths:
updateAddressTypeId:
value:
address:
addressTypeId: 3
updateIsPreferred:
value:
address:
isPreferred: false
addressTypeId: 1
responses:
'202':
description: Successful updated the customer profile
@ -3111,8 +3026,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -3120,8 +3034,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -3328,7 +3241,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
- street: Beeklaan
houseNumber: 30
@ -3336,7 +3248,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: false
addressTypeId: 2
phones:
- number: '6123456789'
@ -4114,7 +4025,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
addMinimumAddress:
value:
@ -4124,7 +4034,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
responses:
'201':
@ -4350,7 +4259,6 @@ paths:
city: Den Haag
country: NL
addressTypeId: 2
isPreferred: true
updateStreet:
value:
address:
@ -4378,7 +4286,7 @@ paths:
updateAddressTypeId:
value:
address:
addressTypeId: 3
addressTypeId: 1
updateIsPreferred:
value:
address:
@ -4696,8 +4604,6 @@ components:
type: string
country:
type: string
isPreferred:
type: boolean
addressType:
type: string
getPhone:
@ -4761,7 +4667,6 @@ components:
- billingInformationId
- created
- directDebitMandateTypeName
- mandateAddressId
- mandateReference
type: object
properties:
@ -4769,10 +4674,6 @@ components:
type: string
billingInformationId:
type: integer
mandateAddressId:
type: integer
created:
type: string
mandateReference:
type: string
directDebitMandatePost:
@ -4787,8 +4688,6 @@ components:
type: string
billingInformationId:
type: integer
mandateAddressId:
type: integer
mandateReference:
type: string
mandateState:
@ -4811,8 +4710,6 @@ components:
type: integer
billingInformationId:
type: integer
mandateAddressId:
type: integer
created:
type: string
mandateReference:
@ -4826,52 +4723,41 @@ components:
- alias
- ascription
- bic
- billingAddressId
- billingInformationId
- iban
- issuerCountry
- swift
- created
type: object
properties:
billingInformationId:
type: integer
issuerCountry:
type: string
iban:
type: string
bic:
type: string
swift:
type: string
ascription:
type: string
alias:
type: string
billingAddressId:
type: integer
created:
type: string
billingInformationPostEntity:
required:
- alias
- ascription
- billingAddressId
- iban
- issuerCountry
type: object
properties:
issuerCountry:
type: string
iban:
type: string
bic:
type: string
swift:
type: string
ascription:
type: string
alias:
type: string
billingAddressId:
type: integer
created:
type: string
billingInformationPost:
type: object
properties:
@ -4880,20 +4766,14 @@ components:
billingInformationPatchEntity:
type: object
properties:
issuerCountry:
type: string
iban:
type: string
bic:
type: string
swift:
type: string
ascription:
type: string
alias:
type: string
billingAddressId:
type: integer
billingInformationPatch:
type: object
properties:
@ -5095,8 +4975,6 @@ components:
type: string
country:
type: string
isPreferred:
type: boolean
addressTypeId:
type: integer
addressPatchEntity:
@ -5116,8 +4994,6 @@ components:
type: string
addressTypeId:
type: integer
isPreferred:
type: boolean
phonePostEntity:
required:
- countryCode