This REST API will call the KFS SOAP web service, transform the response to json, and return the json to Kuali Build.
Input from KB
- chart code
- account code
Sample Response from the KFS web service
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns1:getAccountByPrimaryIdResponse xmlns:ns1="KFS"> <ns1:return> <ns2:accountEffectiveDate xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">1998-08-03T00:00:00-10:00</ns2:accountEffectiveDate> <ns2:accountFiscalOfficerEntityId xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">10125278</ns2:accountFiscalOfficerEntityId> <ns2:accountFiscalOfficerFullName xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">Kuo, Mason</ns2:accountFiscalOfficerFullName> <ns2:accountFiscalOfficerSystemIdentifier xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">10465</ns2:accountFiscalOfficerSystemIdentifier> <ns2:accountManagerEntityId xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">10125278</ns2:accountManagerEntityId> <ns2:accountManagerFullName xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">Kuo, Mason</ns2:accountManagerFullName> <ns2:accountManagerSystemIdentifier xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">10465</ns2:accountManagerSystemIdentifier> <ns2:accountName xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">TFSF-ACADEMIC AFFAIRS</ns2:accountName> <ns2:accountNumber xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">2232332</ns2:accountNumber> <ns2:accountsSupervisoryEntityId xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">27622735</ns2:accountsSupervisoryEntityId> <ns2:accountsSupervisoryFullName xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">Roney, Kristen</ns2:accountsSupervisoryFullName> <ns2:accountsSupervisorySystemsIdentifier xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">898164</ns2:accountsSupervisorySystemsIdentifier> <ns2:active xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">true</ns2:active> <ns2:chartOfAccountsCode xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">HI</ns2:chartOfAccountsCode> <ns2:dagspayrollaccount xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">S312TF0000E6F</ns2:dagspayrollaccount> <ns2:organizationCode xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">VCAA</ns2:organizationCode> <ns2:uhAccountStatusCode xsi:nil="true" xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns2:uhCoaCrosswalkIdent xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">0000E6F</ns2:uhCoaCrosswalkIdent> <ns2:uhFoCode xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">056</ns2:uhFoCode> <ns2:uhFundApprn xmlns:ns2="http://businessobject.coa.kfs.its.hawaii.edu">S312T</ns2:uhFundApprn> </ns1:return> </ns1:getAccountByPrimaryIdResponse> </soap:Body> </soap:Envelope>