Skip to content

Commit e9f0cca

Browse files
authored
Update README.md
1 parent a51c3c4 commit e9f0cca

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,30 @@ Expose the following end points
6161
* POST /data/customer/new - Adds a new customer
6262
* You can use the following as test data
6363

64-
Coming soon!!!
64+
```
65+
{
66+
"custname": "John",
67+
"custcity": "Port Angeles",
68+
"workingarea": "Washington",
69+
"custcountry": "USA",
70+
"grade": "1",
71+
"openingamt": 70000,
72+
"receiveamt": 7000,
73+
"paymentamt": 777,
74+
"outstandingamt": 0,
75+
"phone": "5555555555",
76+
"agent": {
77+
"agentcode": 8
78+
},
79+
"orders": [
80+
{
81+
"ordamount": 7777,
82+
"advanceamount": 777,
83+
"ordersescription": "SOD"
84+
}
85+
]
86+
}
87+
```
6588

6689
* PUT /data/customer/update/{custcode} - Updates the customer based off of custcode
6790
* DELETE /data/customer/delete/{custcode} - Deletes the customer based off of custcode

0 commit comments

Comments
 (0)