POST api/Transaction/SaleInsertUpdateMobile
Request Information
URI Parameters
None.
Body Parameters
SaleInvoiceModelName | Description | Type | Additional information |
---|---|---|---|
Action | string |
None. |
|
ClientId | integer |
None. |
|
SoldBy | string |
None. |
|
SupplierId | integer |
None. |
|
OrderDt | string |
None. |
|
DeliveryDt | string |
None. |
|
DispatchMode | string |
None. |
|
AcceptedBy | string |
None. |
|
DiscountType | string |
None. |
|
Discount | decimal number |
None. |
|
GrandTotal | decimal number |
None. |
|
NetAmount | decimal number |
None. |
|
ProductsXMLString | string |
None. |
|
InvNo | string |
None. |
|
Products | Collection of ProductModel |
None. |
|
FabId | integer |
None. |
|
QUANTITY_LEFT | decimal number |
None. |
|
TEST_REPORT | string |
None. |
|
FAB_TYPE | string |
None. |
|
QUALITY | decimal number |
None. |
|
COUNT | string |
None. |
|
CONSTRUCTION | string |
None. |
|
HSN | string |
None. |
|
GSM | decimal number |
None. |
|
COLOR | string |
None. |
|
UOM | string |
None. |
|
QUANTITY | decimal number |
None. |
|
WIDTH | string |
None. |
|
LENGTH | string |
None. |
|
SELL_PRICE | decimal number |
None. |
|
TOTAL | decimal number |
None. |
|
TaxableAmt | decimal number |
None. |
|
NET_AMOUNT | decimal number |
None. |
|
ProductsXML | string |
None. |
|
IsMultipleProducts | boolean |
None. |
|
IsSingleProduct | boolean |
None. |
|
SessionId | string |
None. |
|
UserId | integer |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Action": "sample string 1", "ClientId": 2, "SoldBy": "sample string 3", "SupplierId": 1, "OrderDt": "sample string 4", "DeliveryDt": "sample string 5", "DispatchMode": "sample string 6", "AcceptedBy": "sample string 7", "DiscountType": "sample string 8", "Discount": 1.0, "GrandTotal": 1.0, "NetAmount": 1.0, "ProductsXMLString": "sample string 20", "InvNo": "sample string 10", "Products": [ { "FabId": 1, "QUALITY": 2.0, "FAB_TYPE": 3, "COUNT": 4, "CONSTRUCTION": 5, "HSN": 6, "GSM": 7, "COLOR": 8, "UOM": 9, "QUANTITY": 10, "WIDTH": "sample string 11", "LENGTH": "sample string 12", "SELL_PRICE": 13.0, "TOTAL": 14.0, "TaxableAmt": 15.0, "TEST_REPORT": "sample string 16" }, { "FabId": 1, "QUALITY": 2.0, "FAB_TYPE": 3, "COUNT": 4, "CONSTRUCTION": 5, "HSN": 6, "GSM": 7, "COLOR": 8, "UOM": 9, "QUANTITY": 10, "WIDTH": "sample string 11", "LENGTH": "sample string 12", "SELL_PRICE": 13.0, "TOTAL": 14.0, "TaxableAmt": 15.0, "TEST_REPORT": "sample string 16" } ], "FabId": 1, "QUANTITY_LEFT": 1.0, "TEST_REPORT": "sample string 11", "FAB_TYPE": "sample string 12", "QUALITY": 1.0, "COUNT": "sample string 13", "CONSTRUCTION": "sample string 14", "HSN": "sample string 15", "GSM": 1.0, "COLOR": "sample string 16", "UOM": "sample string 17", "QUANTITY": 1.0, "WIDTH": "sample string 18", "LENGTH": "sample string 19", "SELL_PRICE": 1.0, "TOTAL": 1.0, "TaxableAmt": 1.0, "NET_AMOUNT": 1.0, "ProductsXML": "sample string 20", "IsMultipleProducts": true, "IsSingleProduct": false, "SessionId": "sample string 21", "UserId": 22, "PageIndex": 23, "PageSize": 24 }
application/xml, text/xml
Sample:
<SaleInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Transaction"> <Action i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Common" /> <ClientId xmlns="http://schemas.datacontract.org/2004/07/MODEL.Common">0</ClientId> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/MODEL.Common">23</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/MODEL.Common">24</PageSize> <SessionId xmlns="http://schemas.datacontract.org/2004/07/MODEL.Common">sample string 21</SessionId> <UserId xmlns="http://schemas.datacontract.org/2004/07/MODEL.Common">22</UserId> <AcceptedBy>sample string 7</AcceptedBy> <Action>sample string 1</Action> <COLOR>sample string 16</COLOR> <CONSTRUCTION>sample string 14</CONSTRUCTION> <COUNT>sample string 13</COUNT> <ClientId>2</ClientId> <DeliveryDt>sample string 5</DeliveryDt> <Discount>1</Discount> <DiscountType>sample string 8</DiscountType> <DispatchMode>sample string 6</DispatchMode> <FAB_TYPE>sample string 12</FAB_TYPE> <FabId>1</FabId> <GSM>1</GSM> <GrandTotal>1</GrandTotal> <HSN>sample string 15</HSN> <InvNo>sample string 10</InvNo> <LENGTH>sample string 19</LENGTH> <NET_AMOUNT>1</NET_AMOUNT> <NetAmount>1</NetAmount> <OrderDt>sample string 4</OrderDt> <Products> <ProductModel> <COLOR>8</COLOR> <CONSTRUCTION>5</CONSTRUCTION> <COUNT>4</COUNT> <FAB_TYPE>3</FAB_TYPE> <FabId>1</FabId> <GSM>7</GSM> <HSN>6</HSN> <LENGTH>sample string 12</LENGTH> <QUALITY>2</QUALITY> <QUANTITY>10</QUANTITY> <SELL_PRICE>13</SELL_PRICE> <TEST_REPORT>sample string 16</TEST_REPORT> <TOTAL>14</TOTAL> <TaxableAmt>15</TaxableAmt> <UOM>9</UOM> <WIDTH>sample string 11</WIDTH> </ProductModel> <ProductModel> <COLOR>8</COLOR> <CONSTRUCTION>5</CONSTRUCTION> <COUNT>4</COUNT> <FAB_TYPE>3</FAB_TYPE> <FabId>1</FabId> <GSM>7</GSM> <HSN>6</HSN> <LENGTH>sample string 12</LENGTH> <QUALITY>2</QUALITY> <QUANTITY>10</QUANTITY> <SELL_PRICE>13</SELL_PRICE> <TEST_REPORT>sample string 16</TEST_REPORT> <TOTAL>14</TOTAL> <TaxableAmt>15</TaxableAmt> <UOM>9</UOM> <WIDTH>sample string 11</WIDTH> </ProductModel> </Products> <ProductsXML>sample string 20</ProductsXML> <ProductsXMLString>sample string 20</ProductsXMLString> <QUALITY>1</QUALITY> <QUANTITY>1</QUANTITY> <QUANTITY_LEFT>1</QUANTITY_LEFT> <SELL_PRICE>1</SELL_PRICE> <SoldBy>sample string 3</SoldBy> <SupplierId>1</SupplierId> <TEST_REPORT>sample string 11</TEST_REPORT> <TOTAL>1</TOTAL> <TaxableAmt>1</TaxableAmt> <UOM>sample string 17</UOM> <WIDTH>sample string 18</WIDTH> </SaleInvoiceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |