Unable to update Fee Status through RestAPI

Hello Dears,

I am working of fee collection from various gateways to School Module.

I have updated paid amount but unable to update outstanding_amount and docstatus. Please guide me.

localhost:8000/api/resource/Fees/FEE00006?data={“paid_amount”: “10”, “outstanding_amount”: “0”, “docstatus”: “1” }

Amount_paid works but other 2 are not working.

Regards,

{
“data”: {
“naming_series”: “FEE.”,
“creation”: “2017-12-04 13:01:28.321431”,
“owner”: “administrator”,
“modified_by”: “administrator”,
“paid_amount”: 10,
“program”: “C++”,
“student_name”: “My Name”,
“due_date”: “2017-12-31”,
“doctype”: “Fees”,
“outstanding_amount”: 10,
“student”: “STUD00002”,
“docstatus”: 0,
“total_amount”: 10,
“name”: “FEE00006”,
“idx”: 0,
“modified”: “2017-12-04 14:56:31.890410”,
“components”: [
{
“fees_category”: “Course Fee”,
“modified_by”: "myemail@myemail.com",
“name”: “dd845876a9”,
“parent”: “FEE00006”,
“amount”: 10,
“creation”: “2017-12-04 13:01:28.321431”,
“modified”: “2017-12-04 14:56:31.890410”,
“doctype”: “Fee Component”,
“idx”: 1,
“parenttype”: “Fees”,
“owner”: "myemail@myemail.com",
“docstatus”: 0,
“parentfield”: “components”
}
]
}
}