PUT api/Pricing/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
PricingModelsName | Description | Type | Additional information |
---|---|---|---|
PR_Id | integer |
None. |
|
PA_Id | integer |
Required |
|
PR_FromDate | date |
Required |
|
PR_ToDate | date |
Required |
|
PR_CustomerPrice | decimal number |
Required |
|
PR_CustomerDiscount | decimal number |
None. |
|
PR_StockiestPrice | decimal number |
Required |
|
PR_StockiestDiscount | decimal number |
None. |
|
PR_VAT | decimal number |
None. |
|
PR_VATInclusive | decimal number |
None. |
|
PR_Shippment | decimal number |
None. |
|
PR_ShippmentInclusive | decimal number |
None. |
|
PR_MRP_Case | decimal number |
Required |
|
PR_VGSL_BUY_PRICE | decimal number |
Required |
|
PR_VAT_RATE | decimal number |
Required |
|
PR_UserId_FK | integer |
None. |
|
PR_TS | date |
None. |
|
PR_Inactive | character |
None. |
|
PR_TS_LastEdited | date |
None. |
|
PR_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PR_Id": 1, "PA_Id": 2, "PR_FromDate": "2025-01-09T00:40:51.6805736+05:30", "PR_ToDate": "2025-01-09T00:40:51.6805736+05:30", "PR_CustomerPrice": 5.0, "PR_CustomerDiscount": 1.0, "PR_StockiestPrice": 6.0, "PR_StockiestDiscount": 1.0, "PR_VAT": 7.0, "PR_VATInclusive": 8.0, "PR_Shippment": 9.0, "PR_ShippmentInclusive": 10.0, "PR_MRP_Case": 11.0, "PR_VGSL_BUY_PRICE": 12.0, "PR_VAT_RATE": 13.0, "PR_UserId_FK": 14, "PR_TS": "2025-01-09T00:40:51.6805736+05:30", "PR_Inactive": "A", "PR_TS_LastEdited": "2025-01-09T00:40:51.6805736+05:30", "PR_TS_Edited_Uid_FK": 18 }
application/xml, text/xml
Sample:
<PricingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <PA_Id>2</PA_Id> <PR_CustomerDiscount>1</PR_CustomerDiscount> <PR_CustomerPrice>5</PR_CustomerPrice> <PR_FromDate>2025-01-09T00:40:51.6805736+05:30</PR_FromDate> <PR_Id>1</PR_Id> <PR_Inactive>65</PR_Inactive> <PR_MRP_Case>11</PR_MRP_Case> <PR_Shippment>9</PR_Shippment> <PR_ShippmentInclusive>10</PR_ShippmentInclusive> <PR_StockiestDiscount>1</PR_StockiestDiscount> <PR_StockiestPrice>6</PR_StockiestPrice> <PR_TS>2025-01-09T00:40:51.6805736+05:30</PR_TS> <PR_TS_Edited_Uid_FK>18</PR_TS_Edited_Uid_FK> <PR_TS_LastEdited>2025-01-09T00:40:51.6805736+05:30</PR_TS_LastEdited> <PR_ToDate>2025-01-09T00:40:51.6805736+05:30</PR_ToDate> <PR_UserId_FK>14</PR_UserId_FK> <PR_VAT>7</PR_VAT> <PR_VATInclusive>8</PR_VATInclusive> <PR_VAT_RATE>13</PR_VAT_RATE> <PR_VGSL_BUY_PRICE>12</PR_VGSL_BUY_PRICE> </PricingModels>
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.