Method MicroloanUpload
This one method can be used to initially associate new microloans with a given microlender (known as Origination) or to update existing associated microloans (known as Servicing). SBA_MicroloanOrigination.xsd currently defines 38 data elements. In contrast, SBA_MicroloanServicing.xsd currently defines only 10 elements, primarily related to status and repayment.
SOAP Component: | https://catweb.sba.gov/microloan/ws/microloan.wsdl. |
SOAP Method: | SharedEntryPoint, only input is structure Inputs |
Or: | SharedEntryString, only input is JSON string InputString that decodes to a structure |
REST Component: | /rest/microloan/flexible/ |
REST METHOD: | /rest/microloan/flexible/SharedEntryPoint , only input is structure Inputs |
Or: | /rest/microloan/flexible/SharedEntryString, only input is JSON string InputString |
Keys of the Input Structure: | |
Mandatory. Must be “MicroloanUpload”. | |
Mandatory. CLS login’s username with update permissions in Microloan for microlender. | |
Mandatory. CLS login’s password with update permissions in Microloan for microlender. | |
Mandatory. PIN generated by Generate_PIN using the same login. | |
Mandatory. XML in SBA_MicroloanOrigination or SBA_MicroloanServicing format. | |
Mandatory. “Origination” or “Servicing”. Must match RequestData XML’s type. | |
Mandatory. The microlender’s email addess. | |
Keys of the Output Structure: | |
Should be nullstring. If not, a generally-worded error message. | |
Should be nullstring. If not, a more helpful error message, but scarier to some users. | |
“Yes”, “No”, number of days till expiration or “TBD” (prior to validating login). | |
XML in SBA_MicroloanResponse.xsd format. |
For examples of calling flexible, structured methods, see Flexible Structure of Inputs
Origination XML can contain any number of microloans, but each one can contain only one borrower (the primary borrower), the primary borrower’s race code and the code for the purpose of the loan. If the microloan meets these restrictions it can be uploaded as SBA_MicroloanOrigination XML.