Saturday, 12 December 2015

XML : XML Parsing using C# from API Response

i am getting response from an API like this

  <OrbiscomResponse IssuerId="5" ReturnCode="Success" Version="12.2">  <CreateApprovedPurchaseResponse PurchaseId="87654321" Status="A">          <CPN AVV="123" Expiry="1407" Id="123456789" PAN="5555444433332222"</CPN>      </CreateApprovedPurchaseResponse>  </OrbiscomResponse>    

I want to save the PurchaseId,AVV,Expiry,PAN into my local database. Kindly let me know how can i retrieve the data related with these values from XML using C#.

No comments:

Post a Comment