Link to home
Start Free TrialLog in
Avatar of Zolf
ZolfFlag for United Arab Emirates

asked on

Creating Class for client data

Hi there,

I have this data structure coming from the client side and want to save this data in the db. I need help to create the class for this data structure specially the productsarray. Thanks!!

Request Body: 
{
"entrydate":"1399/08/17",
"receiptno":"77",
"warehouse":1,
"supplier":1,
"productsarray":[{"rawmaterialid":8,"qty":"800"},{"rawmaterialid":3,"qty":"700"}],"id":null
}

Open in new window

Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

It should encapsulate what - a delivery, an order ..?
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:)