POST api/Services/ActiveInActiveSale
Request Information
URI Parameters
None.
Body Parameters
Tbl_SaleName | Description | Type | Additional information |
---|---|---|---|
SaleId | integer |
None. |
|
SaleNo | string |
None. |
|
StoreId | integer |
None. |
|
ProductId | integer |
None. |
|
MemberId | integer |
None. |
|
SupplierId | integer |
None. |
|
RouteId | integer |
None. |
|
PriceListId | integer |
None. |
|
QTY | decimal number |
None. |
|
CLR | decimal number |
None. |
|
CNF | decimal number |
None. |
|
FAT | decimal number |
None. |
|
Price | decimal number |
None. |
|
TotalAmount | decimal number |
None. |
|
IsActive | boolean |
None. |
|
IsDelete | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
UpdatedBy | integer |
None. |
|
UpdatedDate | date |
None. |
|
ReceivedAmount | decimal number |
None. |
|
PaymentMode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SaleId": 1, "SaleNo": "sample string 2", "StoreId": 3, "ProductId": 4, "MemberId": 5, "SupplierId": 1, "RouteId": 1, "PriceListId": 1, "QTY": 6.1, "CLR": 7.1, "CNF": 8.1, "FAT": 9.1, "Price": 10.1, "TotalAmount": 1.1, "IsActive": true, "IsDelete": true, "CreatedBy": 13, "CreatedDate": "2024-12-23T04:19:20.3385982+05:30", "UpdatedBy": 15, "UpdatedDate": "2024-12-23T04:19:20.3385982+05:30", "ReceivedAmount": 1.1, "PaymentMode": 1 }
text/html, multipart/form-data
Sample:
{"SaleId":1,"SaleNo":"sample string 2","StoreId":3,"ProductId":4,"MemberId":5,"SupplierId":1,"RouteId":1,"PriceListId":1,"QTY":6.1,"CLR":7.1,"CNF":8.1,"FAT":9.1,"Price":10.1,"TotalAmount":1.1,"IsActive":true,"IsDelete":true,"CreatedBy":13,"CreatedDate":"2024-12-23T04:19:20.3385982+05:30","UpdatedBy":15,"UpdatedDate":"2024-12-23T04:19:20.3385982+05:30","ReceivedAmount":1.1,"PaymentMode":1}
application/xml, text/xml
Sample:
<Tbl_Sale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataBase"> <CLR>7.1</CLR> <CNF>8.1</CNF> <CreatedBy>13</CreatedBy> <CreatedDate>2024-12-23T04:19:20.3385982+05:30</CreatedDate> <FAT>9.1</FAT> <IsActive>true</IsActive> <IsDelete>true</IsDelete> <MemberId>5</MemberId> <PaymentMode>1</PaymentMode> <Price>10.1</Price> <PriceListId>1</PriceListId> <ProductId>4</ProductId> <QTY>6.1</QTY> <ReceivedAmount>1.1</ReceivedAmount> <RouteId>1</RouteId> <SaleId>1</SaleId> <SaleNo>sample string 2</SaleNo> <StoreId>3</StoreId> <SupplierId>1</SupplierId> <TotalAmount>1.1</TotalAmount> <UpdatedBy>15</UpdatedBy> <UpdatedDate>2024-12-23T04:19:20.3385982+05:30</UpdatedDate> </Tbl_Sale>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponceName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Data": {} }
text/html, multipart/form-data
Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}
application/xml, text/xml
Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers"> <Data /> <Message>sample string 2</Message> <Status>sample string 1</Status> </APIResponce>