POST api/Invoice/SaveInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceRequestName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of InvoiceItem |
None. |
|
InvoiceFlag | string |
None. |
|
Status | string |
None. |
|
ProfileId | integer |
None. |
|
PaymentType | string |
None. |
|
TotalCount | integer |
None. |
|
TotalAmount | decimal number |
None. |
|
InvoiceId | integer |
None. |
|
CurrentDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Items": [ { "OrderId": 1, "ItemCategoryId": 2, "ItemId": 3, "Count": 4, "Rate": 5.0, "PlateType": "sample string 6" }, { "OrderId": 1, "ItemCategoryId": 2, "ItemId": 3, "Count": 4, "Rate": 5.0, "PlateType": "sample string 6" } ], "InvoiceFlag": "sample string 1", "Status": "sample string 2", "ProfileId": 3, "PaymentType": "sample string 4", "TotalCount": 5, "TotalAmount": 6.0, "InvoiceId": 7, "CurrentDate": "sample string 8" }
application/xml, text/xml
Sample:
<InvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <CurrentDate>sample string 8</CurrentDate> <InvoiceFlag>sample string 1</InvoiceFlag> <InvoiceId>7</InvoiceId> <Items> <InvoiceItem> <Count>4</Count> <ItemCategoryId>2</ItemCategoryId> <ItemId>3</ItemId> <OrderId>1</OrderId> <PlateType>sample string 6</PlateType> <Rate>5</Rate> </InvoiceItem> <InvoiceItem> <Count>4</Count> <ItemCategoryId>2</ItemCategoryId> <ItemId>3</ItemId> <OrderId>1</OrderId> <PlateType>sample string 6</PlateType> <Rate>5</Rate> </InvoiceItem> </Items> <PaymentType>sample string 4</PaymentType> <ProfileId>3</ProfileId> <Status>sample string 2</Status> <TotalAmount>6</TotalAmount> <TotalCount>5</TotalCount> </InvoiceRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.