department-of-veterans-affairs / connect_vbms

VBMS SOAP API client
Other
17 stars 9 forks source link

Add GetDispositions request #188

Closed shanear closed 6 years ago

shanear commented 6 years ago

Add a request that calls the new GetDispositions endpoint on the ClaimsService V5.

Here are example request/repsonses:

getDispositions(claimId)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v5="http://vbms.vba.va.gov/external/ClaimService/v5">
   <soapenv:Header/>
   <soapenv:Body>
      <v5:getDispositions>
         <v5:claimId>600097563</v5:claimId>
      </v5:getDispositions>
   </soapenv:Body>
</soapenv:Envelope>

Response Body getDispositions:

<env:Body wsu:Id="id-6" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
      <getDispositionsResponse xmlns="http://vbms.vba.va.gov/external/ClaimService/v5" xmlns:aw="http://vbms.vba.va.gov/cdm/award/v4" xmlns:claim="http://vbms.vba.va.gov/cdm/claim/v5" xmlns:com="http://vbms.vba.va.gov/cdm/common/v5" xmlns:doc="http://vbms.vba.va.gov/cdm/document/v5" xmlns:ns2="http://vbms.vba.va.gov/external/ClaimService/v5" xmlns:part="http://vbms.vba.va.gov/cdm/participant/v5">
         <ns2:dispositionAssociations claimId="600097563" contentionId="175506" disposition="Granted"/>
         <ns2:dispositionAssociations claimId="600097563" contentionId="167016" disposition="Granted"/>
         <ns2:dispositionAssociations claimId="600097563" contentionId="175513" disposition="DTA - Fed Recs"/>
         <ns2:dispositionAssociations claimId="600097563" contentionId="167015" disposition="DTA - PMRs"/>
      </getDispositionsResponse>
   </env:Body>

blocks https://github.com/department-of-veterans-affairs/caseflow/issues/6186

leikkisa commented 6 years ago

Colin is very interested in testing this. He is going to send us some file numbers, and we are going to create ratings on them. Then Colin will add the dispositions to the file numbers, and after that we'll be able to test this get dispositions end point.

kahlouie commented 6 years ago

Work is all done on the connect_vbms side and sitting in a pr (#196). Just waiting on UAT data to be populated to test against UAT.