POST api/Invoice/Post
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
invoiceApi | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "allSaleman": true, "allEmpoyee": true, "emplyeeName": { "label": "sample string 1", "value": 2 }, "salemanName": { "label": "sample string 1", "value": 2 }, "typeSearch": { "label": "sample string 1", "value": 2 }, "startDate": "2025-04-03T13:52:15.4175979-07:00", "endDate": "2025-04-03T13:52:15.4175979-07:00", "startNumber": 5, "endNumber": 6, "typePayed": { "label": "sample string 1", "value": 2 }, "empBranch": { "emp": 1, "branch": 2 }, "invoiceType": { "label": "sample string 1", "value": 2 } }
application/xml, text/xml
Sample:
<InvoiceApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationAPI.Models"> <allEmpoyee>true</allEmpoyee> <allSaleman>true</allSaleman> <empBranch> <branch>2</branch> <emp>1</emp> </empBranch> <emplyeeName> <label>sample string 1</label> <value>2</value> </emplyeeName> <endDate>2025-04-03T13:52:15.4175979-07:00</endDate> <endNumber>6</endNumber> <invoiceType> <label>sample string 1</label> <value>2</value> </invoiceType> <salemanName> <label>sample string 1</label> <value>2</value> </salemanName> <startDate>2025-04-03T13:52:15.4175979-07:00</startDate> <startNumber>5</startNumber> <typePayed> <label>sample string 1</label> <value>2</value> </typePayed> <typeSearch> <label>sample string 1</label> <value>2</value> </typeSearch> </InvoiceApi>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
[ { "itemName": "sample string 1", "totalQuatity": 2.1, "medPrice": 3.1, "total": 4.1, "cashQuatity": 5.1, "creditQuatity": 6.1, "cashPrice": 7.1, "creditPrice": 8.1, "costPrice": 9.1, "expenses": 10.1, "winPrice": 11.1, "returnPrice": 12.1, "salemanName": "sample string 13" }, { "itemName": "sample string 1", "totalQuatity": 2.1, "medPrice": 3.1, "total": 4.1, "cashQuatity": 5.1, "creditQuatity": 6.1, "cashPrice": 7.1, "creditPrice": 8.1, "costPrice": 9.1, "expenses": 10.1, "winPrice": 11.1, "returnPrice": 12.1, "salemanName": "sample string 13" }, { "itemName": "sample string 1", "totalQuatity": 2.1, "medPrice": 3.1, "total": 4.1, "cashQuatity": 5.1, "creditQuatity": 6.1, "cashPrice": 7.1, "creditPrice": 8.1, "costPrice": 9.1, "expenses": 10.1, "winPrice": 11.1, "returnPrice": 12.1, "salemanName": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfReturnInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationAPI.Models"> <ReturnInvoice> <cashPrice>7.1</cashPrice> <cashQuatity>5.1</cashQuatity> <costPrice>9.1</costPrice> <creditPrice>8.1</creditPrice> <creditQuatity>6.1</creditQuatity> <expenses>10.1</expenses> <itemName>sample string 1</itemName> <medPrice>3.1</medPrice> <returnPrice>12.1</returnPrice> <salemanName>sample string 13</salemanName> <total>4.1</total> <totalQuatity>2.1</totalQuatity> <winPrice>11.1</winPrice> </ReturnInvoice> <ReturnInvoice> <cashPrice>7.1</cashPrice> <cashQuatity>5.1</cashQuatity> <costPrice>9.1</costPrice> <creditPrice>8.1</creditPrice> <creditQuatity>6.1</creditQuatity> <expenses>10.1</expenses> <itemName>sample string 1</itemName> <medPrice>3.1</medPrice> <returnPrice>12.1</returnPrice> <salemanName>sample string 13</salemanName> <total>4.1</total> <totalQuatity>2.1</totalQuatity> <winPrice>11.1</winPrice> </ReturnInvoice> <ReturnInvoice> <cashPrice>7.1</cashPrice> <cashQuatity>5.1</cashQuatity> <costPrice>9.1</costPrice> <creditPrice>8.1</creditPrice> <creditQuatity>6.1</creditQuatity> <expenses>10.1</expenses> <itemName>sample string 1</itemName> <medPrice>3.1</medPrice> <returnPrice>12.1</returnPrice> <salemanName>sample string 13</salemanName> <total>4.1</total> <totalQuatity>2.1</totalQuatity> <winPrice>11.1</winPrice> </ReturnInvoice> </ArrayOfReturnInvoice>