POST api/DealsMarketing
Request Information
URI Parameters
None.
Body Parameters
DealsModelsName | Description | Type | Additional information |
---|---|---|---|
D_Id | integer |
None. |
|
ProductSpeedSearch | ProductSpeedSearchModels |
Required |
|
PackSizeSpeedSearch | PackSizeSpeedSearchModels |
Required |
|
D_FromDate | date |
Required |
|
D_ToDate | date |
Required |
|
D_MinOQ | decimal number |
Required |
|
D_Discount | decimal number |
Required |
|
D_UserId_FK | integer |
None. |
|
D_TS | date |
None. |
|
D_Inactive | character |
None. |
|
D_TS_LastEdited | date |
None. |
|
D_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "D_Id": 1, "ProductSpeedSearch": { "P_Id": 1, "P_ProductCode": "sample string 2", "P_Name": "sample string 3" }, "PackSizeSpeedSearch": { "PA_Id": 1, "PA_Size": "sample string 2", "PA_PackUOM": "sample string 3", "PR_CustomerPrice": 4.0 }, "D_FromDate": "2025-01-09T01:03:07.2068685+05:30", "D_ToDate": "2025-01-09T01:03:07.2068685+05:30", "D_MinOQ": 4.0, "D_Discount": 5.0, "D_UserId_FK": 6, "D_TS": "2025-01-09T01:03:07.2068685+05:30", "D_Inactive": "A", "D_TS_LastEdited": "2025-01-09T01:03:07.2068685+05:30", "D_TS_Edited_Uid_FK": 10 }
application/xml, text/xml
Sample:
<DealsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <D_Discount>5</D_Discount> <D_FromDate>2025-01-09T01:03:07.2068685+05:30</D_FromDate> <D_Id>1</D_Id> <D_Inactive>65</D_Inactive> <D_MinOQ>4</D_MinOQ> <D_TS>2025-01-09T01:03:07.2068685+05:30</D_TS> <D_TS_Edited_Uid_FK>10</D_TS_Edited_Uid_FK> <D_TS_LastEdited>2025-01-09T01:03:07.2068685+05:30</D_TS_LastEdited> <D_ToDate>2025-01-09T01:03:07.2068685+05:30</D_ToDate> <D_UserId_FK>6</D_UserId_FK> <PackSizeSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:PA_Id>1</d2p1:PA_Id> <d2p1:PA_PackUOM>sample string 3</d2p1:PA_PackUOM> <d2p1:PA_Size>sample string 2</d2p1:PA_Size> <d2p1:PR_CustomerPrice>4</d2p1:PR_CustomerPrice> </PackSizeSpeedSearch> <ProductSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:P_Id>1</d2p1:P_Id> <d2p1:P_Name>sample string 3</d2p1:P_Name> <d2p1:P_ProductCode>sample string 2</d2p1:P_ProductCode> </ProductSpeedSearch> </DealsModels>
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.