POST api/v1/updateorder
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
data | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "e_id": 1, "user_id": 2, "id_branch": 3, "number_table": 4, "number_bill": 5, "accid": 6, "lati": 7.1, "longi": 8.1, "type_d": 9, "status": 10, "order": [ { "id_material": 1, "name_material": "sample string 2", "note": "sample string 3", "quantity": 4.1, "price": 5.1, "id_category": 6, "status": 7 }, { "id_material": 1, "name_material": "sample string 2", "note": "sample string 3", "quantity": 4.1, "price": 5.1, "id_category": 6, "status": 7 } ] }
text/xml
Sample:
<oreder_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/creative_api"> <accid>6</accid> <e_id>1</e_id> <id_branch>3</id_branch> <lati>7.1</lati> <longi>8.1</longi> <number_bill>5</number_bill> <number_table>4</number_table> <order> <oreder_data_details> <id_category>6</id_category> <id_material>1</id_material> <name_material>sample string 2</name_material> <note>sample string 3</note> <price>5.1</price> <quantity>4.1</quantity> <status>7</status> </oreder_data_details> <oreder_data_details> <id_category>6</id_category> <id_material>1</id_material> <name_material>sample string 2</name_material> <note>sample string 3</note> <price>5.1</price> <quantity>4.1</quantity> <status>7</status> </oreder_data_details> </order> <status>10</status> <type_d>9</type_d> <user_id>2</user_id> </oreder_data>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "data": null, "rowcount": 1, "status": true, "msg_error": "sample string 3" }
text/xml
Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/creative_api"> <data i:nil="true" /> <msg_error>sample string 3</msg_error> <rowcount>1</rowcount> <status>true</status> </outdata>