POST api/Invoice/AddInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Order_Id | string |
None. |
|
SubAmount | string |
None. |
|
Discount | string |
None. |
|
Discount_Details | string |
None. |
|
GrandTotal | string |
None. |
|
InvoiceStatus_Id | integer |
None. |
|
InvoiceStatus | string |
None. |
|
Coupon_Id | integer |
None. |
|
DeliveryCharges | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Order_Id": "sample string 2", "SubAmount": "sample string 3", "Discount": "sample string 4", "Discount_Details": "sample string 5", "GrandTotal": "sample string 6", "InvoiceStatus_Id": 7, "InvoiceStatus": "sample string 8", "Coupon_Id": 9, "DeliveryCharges": "sample string 10" }
application/octet-stream
Sample:
{"$id":"1","Id":1,"Order_Id":"sample string 2","SubAmount":"sample string 3","Discount":"sample string 4","Discount_Details":"sample string 5","GrandTotal":"sample string 6","InvoiceStatus_Id":7,"InvoiceStatus":"sample string 8","Coupon_Id":9,"DeliveryCharges":"sample string 10"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.