POST api/Payment/Guest
Request Information
URI Parameters
None.
Body Parameters
GuestPaymentModelsName | Description | Type | Additional information |
---|---|---|---|
UnRegisteredUserEdiaryCartProducts | Collection of EdiaryCartProductModels |
Required |
|
CustomerGuestDetails | CustomerGuestDetailsModels |
Required |
|
PaymentMode | string |
Required |
|
TotalAmount | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{ "UnRegisteredUserEdiaryCartProducts": [ { "P_Id": 1, "P_Quantity": 2, "P_PackSize": 3, "P_PackSizeId": 4, "Is_A_Deal": true }, { "P_Id": 1, "P_Quantity": 2, "P_PackSize": 3, "P_PackSizeId": 4, "Is_A_Deal": true } ], "CustomerGuestDetails": { "CD_GuestId": 1, "CD_EmailId": "sample string 2", "CD_MobileNumber": 3, "CD_Bill_Name": "sample string 4", "CD_Bill_Country": "sample string 5", "BillStateSpeedSearch": { "ST_Id": 1, "ST_StateID": "sample string 2", "ST_StateName": "sample string 3" }, "BillDistrictSpeedSearch": { "DI_Id": 1, "DI_DistrictId": "sample string 2", "DI_District": "sample string 3" }, "BillTalukSpeedSearch": { "TA_Id": 1, "TA_TalukId": "sample string 2", "TA_Taluk": "sample string 3" }, "BillVillageSpeedSearch": { "VI_Id": 1, "VI_VillageId": "sample string 2", "VI_Village": "sample string 3" }, "CD_Bill_Address": "sample string 6", "CD_Bill_PinCode": 7, "CD_Bill_Landmark": "sample string 8", "CD_Ship_Name": "sample string 9", "CD_Ship_Country": "sample string 10", "ShipStateSpeedSearch": { "ST_Id": 1, "ST_StateID": "sample string 2", "ST_StateName": "sample string 3" }, "ShipDistrictSpeedSearch": { "DI_Id": 1, "DI_DistrictId": "sample string 2", "DI_District": "sample string 3" }, "ShipTalukSpeedSearch": { "TA_Id": 1, "TA_TalukId": "sample string 2", "TA_Taluk": "sample string 3" }, "ShipVillageSpeedSearch": { "VI_Id": 1, "VI_VillageId": "sample string 2", "VI_Village": "sample string 3" }, "CD_Ship_Address": "sample string 11", "CD_Ship_PinCode": 12, "CD_Ship_Landmark": "sample string 13", "CD_Ship_Email": "sample string 14", "CD_Ship_MobileNumber": 15, "CD_Coupon_Code": "sample string 16", "CD_Ship_Type": 17, "CD_UserId_FK": 18, "CD_TS": "2025-01-09T00:33:10.534263+05:30", "CD_Inactive": "A", "CD_TS_LastEdited": "2025-01-09T00:33:10.534263+05:30", "CD_TS_Edited_Uid_FK": 22 }, "PaymentMode": "sample string 1", "TotalAmount": 2.0 }
application/xml, text/xml
Sample:
<GuestPaymentModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <CustomerGuestDetails> <BillDistrictSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:DI_District>sample string 3</d3p1:DI_District> <d3p1:DI_DistrictId>sample string 2</d3p1:DI_DistrictId> <d3p1:DI_Id>1</d3p1:DI_Id> </BillDistrictSpeedSearch> <BillStateSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:ST_Id>1</d3p1:ST_Id> <d3p1:ST_StateID>sample string 2</d3p1:ST_StateID> <d3p1:ST_StateName>sample string 3</d3p1:ST_StateName> </BillStateSpeedSearch> <BillTalukSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:TA_Id>1</d3p1:TA_Id> <d3p1:TA_Taluk>sample string 3</d3p1:TA_Taluk> <d3p1:TA_TalukId>sample string 2</d3p1:TA_TalukId> </BillTalukSpeedSearch> <BillVillageSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:VI_Id>1</d3p1:VI_Id> <d3p1:VI_Village>sample string 3</d3p1:VI_Village> <d3p1:VI_VillageId>sample string 2</d3p1:VI_VillageId> </BillVillageSpeedSearch> <CD_Bill_Address>sample string 6</CD_Bill_Address> <CD_Bill_Country>sample string 5</CD_Bill_Country> <CD_Bill_Landmark>sample string 8</CD_Bill_Landmark> <CD_Bill_Name>sample string 4</CD_Bill_Name> <CD_Bill_PinCode>7</CD_Bill_PinCode> <CD_Coupon_Code>sample string 16</CD_Coupon_Code> <CD_EmailId>sample string 2</CD_EmailId> <CD_GuestId>1</CD_GuestId> <CD_Inactive>65</CD_Inactive> <CD_MobileNumber>3</CD_MobileNumber> <CD_Ship_Address>sample string 11</CD_Ship_Address> <CD_Ship_Country>sample string 10</CD_Ship_Country> <CD_Ship_Email>sample string 14</CD_Ship_Email> <CD_Ship_Landmark>sample string 13</CD_Ship_Landmark> <CD_Ship_MobileNumber>15</CD_Ship_MobileNumber> <CD_Ship_Name>sample string 9</CD_Ship_Name> <CD_Ship_PinCode>12</CD_Ship_PinCode> <CD_Ship_Type>17</CD_Ship_Type> <CD_TS>2025-01-09T00:33:10.534263+05:30</CD_TS> <CD_TS_Edited_Uid_FK>22</CD_TS_Edited_Uid_FK> <CD_TS_LastEdited>2025-01-09T00:33:10.534263+05:30</CD_TS_LastEdited> <CD_UserId_FK>18</CD_UserId_FK> <ShipDistrictSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:DI_District>sample string 3</d3p1:DI_District> <d3p1:DI_DistrictId>sample string 2</d3p1:DI_DistrictId> <d3p1:DI_Id>1</d3p1:DI_Id> </ShipDistrictSpeedSearch> <ShipStateSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:ST_Id>1</d3p1:ST_Id> <d3p1:ST_StateID>sample string 2</d3p1:ST_StateID> <d3p1:ST_StateName>sample string 3</d3p1:ST_StateName> </ShipStateSpeedSearch> <ShipTalukSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:TA_Id>1</d3p1:TA_Id> <d3p1:TA_Taluk>sample string 3</d3p1:TA_Taluk> <d3p1:TA_TalukId>sample string 2</d3p1:TA_TalukId> </ShipTalukSpeedSearch> <ShipVillageSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d3p1:VI_Id>1</d3p1:VI_Id> <d3p1:VI_Village>sample string 3</d3p1:VI_Village> <d3p1:VI_VillageId>sample string 2</d3p1:VI_VillageId> </ShipVillageSpeedSearch> </CustomerGuestDetails> <PaymentMode>sample string 1</PaymentMode> <TotalAmount>2</TotalAmount> <UnRegisteredUserEdiaryCartProducts> <EdiaryCartProductModels> <Is_A_Deal>true</Is_A_Deal> <P_Id>1</P_Id> <P_PackSize>3</P_PackSize> <P_PackSizeId>4</P_PackSizeId> <P_Quantity>2</P_Quantity> </EdiaryCartProductModels> <EdiaryCartProductModels> <Is_A_Deal>true</Is_A_Deal> <P_Id>1</P_Id> <P_PackSize>3</P_PackSize> <P_PackSizeId>4</P_PackSizeId> <P_Quantity>2</P_Quantity> </EdiaryCartProductModels> </UnRegisteredUserEdiaryCartProducts> </GuestPaymentModels>
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.