POST api/Services/ActiveInActivePurchase
Request Information
URI Parameters
None.
Body Parameters
Tbl_PurchaseName | Description | Type | Additional information |
---|---|---|---|
PurchaseId | integer |
None. |
|
PurchaseNo | 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. |
Request Formats
application/json, text/json
Sample:
{ "PurchaseId": 1, "PurchaseNo": "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:06:41.943069+05:30", "UpdatedBy": 15, "UpdatedDate": "2024-12-23T04:06:41.943069+05:30" }
text/html, multipart/form-data
Sample:
{"PurchaseId":1,"PurchaseNo":"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:06:41.943069+05:30","UpdatedBy":15,"UpdatedDate":"2024-12-23T04:06:41.943069+05:30"}
application/xml, text/xml
Sample:
<Tbl_Purchase 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:06:41.943069+05:30</CreatedDate> <FAT>9.1</FAT> <IsActive>true</IsActive> <IsDelete>true</IsDelete> <MemberId>5</MemberId> <Price>10.1</Price> <PriceListId>1</PriceListId> <ProductId>4</ProductId> <PurchaseId>1</PurchaseId> <PurchaseNo>sample string 2</PurchaseNo> <QTY>6.1</QTY> <RouteId>1</RouteId> <StoreId>3</StoreId> <SupplierId>1</SupplierId> <TotalAmount>1.1</TotalAmount> <UpdatedBy>15</UpdatedBy> <UpdatedDate>2024-12-23T04:06:41.943069+05:30</UpdatedDate> </Tbl_Purchase>
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>