Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

How to read Json Data Posted from One WCF Service to Another WCF Service

$
0
0

Hi Team,

There would Incoming Json Lets say below is the Json Data Would be posted to my Our WCF Service.

{

   "JobRequest":[

   {

   "Sourceid": 0,

   "Locationid": 0,

   "FeedDate": "2018-02-02T10:43:41.536Z",

   "RequestedBy": "string ",

   "PONumber": "string",

   "IncidentNumber": "string",

     "Priority":0,

   "JobTypeisPickup":0

   }

   ],

"Pickup":[

   {

   "EarliestDate": "2018-02-02T10:43:41.536Z",

   "LatestDate": "2018-02-02T10:43:41.536Z",

   "TimeofDay": "string"

   }

   ],

"Delivery":[

   {

   "DeliverySentDate": "2018-02-02T10:43:41.536Z",

   "EstimatedArrivalDate": "2018-02-02T10:43:41.536Z",

   "TrackingNumber": "string"

   }

   ],

   "EquipmentDetails":[

   {

   "EquipmentType": "string",

   "EstimatedQty": 0,

   }

   {

   "EquipmentNotes": "string",

   "EquipmentLocation":"string",

   "IsPacked": 0 ,

    "NumberOfPallets":0,

    "LocationtoPalletize":"string"

      }

   ],

   "PartDetails":[

   {

   "PartNo": "string",

   "QtyExpected": 0

   }

   ],

   "Attachments":[

   {

   "FileName": "string",

   "Filetype": "string",

   "Filebytes": "string"

   }

   ]

}.

So Now my question is how to read the the data from the WCF Service .  How should i Create Request Object Class in this case .


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>