PUT api/Pricing/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PricingModels| Name | Description | Type | Additional information |
|---|---|---|---|
| PR_Id | integer |
None. |
|
| P_Id | integer |
Required |
|
| 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. |
|
| PartnerPricing | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PR_Id": 1,
"P_Id": 2,
"PA_Id": 3,
"PR_FromDate": "2025-10-26T21:34:37.1870736+05:30",
"PR_ToDate": "2025-10-26T21:34:37.1870736+05:30",
"PR_CustomerPrice": 6.0,
"PR_CustomerDiscount": 1.0,
"PR_StockiestPrice": 7.0,
"PR_StockiestDiscount": 1.0,
"PR_VAT": 8.0,
"PR_VATInclusive": 9.0,
"PR_Shippment": 10.0,
"PR_ShippmentInclusive": 11.0,
"PR_MRP_Case": 12.0,
"PR_VGSL_BUY_PRICE": 13.0,
"PR_VAT_RATE": 14.0,
"PR_UserId_FK": 15,
"PR_TS": "2025-10-26T21:34:37.1890729+05:30",
"PR_Inactive": "A",
"PR_TS_LastEdited": "2025-10-26T21:34:37.1890729+05:30",
"PR_TS_Edited_Uid_FK": 19,
"PartnerPricing": "sample string 20"
}
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>3</PA_Id> <PR_CustomerDiscount>1</PR_CustomerDiscount> <PR_CustomerPrice>6</PR_CustomerPrice> <PR_FromDate>2025-10-26T21:34:37.1870736+05:30</PR_FromDate> <PR_Id>1</PR_Id> <PR_Inactive>65</PR_Inactive> <PR_MRP_Case>12</PR_MRP_Case> <PR_Shippment>10</PR_Shippment> <PR_ShippmentInclusive>11</PR_ShippmentInclusive> <PR_StockiestDiscount>1</PR_StockiestDiscount> <PR_StockiestPrice>7</PR_StockiestPrice> <PR_TS>2025-10-26T21:34:37.1890729+05:30</PR_TS> <PR_TS_Edited_Uid_FK>19</PR_TS_Edited_Uid_FK> <PR_TS_LastEdited>2025-10-26T21:34:37.1890729+05:30</PR_TS_LastEdited> <PR_ToDate>2025-10-26T21:34:37.1870736+05:30</PR_ToDate> <PR_UserId_FK>15</PR_UserId_FK> <PR_VAT>8</PR_VAT> <PR_VATInclusive>9</PR_VATInclusive> <PR_VAT_RATE>14</PR_VAT_RATE> <PR_VGSL_BUY_PRICE>13</PR_VGSL_BUY_PRICE> <P_Id>2</P_Id> <PartnerPricing>sample string 20</PartnerPricing> </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.