POST api/Food/CartPayment
Request Information
URI Parameters
None.
Body Parameters
CartPaymentDtoName | Description | Type | Additional information |
---|---|---|---|
OrderID | string |
None. |
|
CashTypeDetil | CashType |
None. |
|
Transcation | TranscationType |
None. |
|
TranscationDesc | string |
None. |
|
TransAmount | decimal number |
None. |
|
TranscationID | string |
None. |
|
Category | CategoryType |
None. |
|
AccDetails | string |
None. |
|
ReferNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderID": "sample string 1", "CashTypeDetil": 0, "Transcation": 0, "TranscationDesc": "sample string 2", "TransAmount": 3.1, "TranscationID": "sample string 4", "Category": 0, "AccDetails": "sample string 5", "ReferNumber": "sample string 6" }
application/xml, text/xml
Sample:
<CartPaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO"> <AccDetails>sample string 5</AccDetails> <CashTypeDetil>PrePaid</CashTypeDetil> <Category>NONE</Category> <OrderID>sample string 1</OrderID> <ReferNumber>sample string 6</ReferNumber> <TransAmount>3.1</TransAmount> <Transcation>AwaitingPayment</Transcation> <TranscationDesc>sample string 2</TranscationDesc> <TranscationID>sample string 4</TranscationID> </CartPaymentDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDtoOfObjectName | Description | Type | Additional information |
---|---|---|---|
Status_cd | boolean |
None. |
|
Data | Object |
None. |
|
status_Desc | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status_cd": true, "Data": {}, "status_Desc": "sample string 3" }
application/xml, text/xml
Sample:
<ResponseDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO"> <Data /> <Status_cd>true</Status_cd> <status_Desc>sample string 3</status_Desc> </ResponseDtoOfanyType>