-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
According to the API documentation, the Day attribute is supposed to not be mandatory when AutoGiroPaymentPeriod is set to 0, i.e. a one-time deposit.
This turns out to not work as expected as I get the following warning with the SOAP request below: Value must be between 1 and 31. The external account in BFS admin is still created, but the error is a bit annoying.
Removing tem:Day altogether in the SOAP request gives the same error. Also, since Day should be able to be omitted, the property should probably nullable.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:CreateRecurringOrderTemplatesAutogiro>
<tem:req>
<tem:Credentials>
<tem:UserName>omitted</tem:UserName>
<tem:Password>omitted</tem:Password>
</tem:Credentials>
<tem:identify>omitted</tem:identify>
<tem:Entities>
<tem:RecurringOrderTemplateAutoGiro>
<tem:Account>3e639ecc-fe26-4eac-af04-e81af8427050</tem:Account>
<tem:CashAmount>10000</tem:CashAmount>
<tem:TransferReceiver>31ef2c8c-3b7b-4526-bf5c-f6f592fdf6c5</tem:TransferReceiver>
<tem:AutoGiroPaymentPeriod>0</tem:AutoGiroPaymentPeriod>
<tem:BusinessDate>2020-06-30</tem:BusinessDate>
<tem:Day>0</tem:Day>
</tem:RecurringOrderTemplateAutoGiro>
</tem:Entities>
</tem:req>
</tem:CreateRecurringOrderTemplatesAutogiro>
</soapenv:Body>
</soapenv:Envelope>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels