POST api/Store/AddCustomerAcknowledgement?isFromStartTrip={isFromStartTrip}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isFromStartTrip

boolean

Default value is False

Body Parameters

AddCustomerAcknowledgement
NameDescriptionTypeAdditional information
BusinessId

integer

None.

LoginUserId

integer

None.

OrderId

integer

None.

Customerid

integer

None.

Phone

string

None.

Otp

integer

None.

source

string

None.

CashAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "LoginUserId": 2,
  "OrderId": 3,
  "Customerid": 4,
  "Phone": "sample string 5",
  "Otp": 6,
  "source": "sample string 7",
  "CashAmount": 8.0
}

application/xml, text/xml

Sample:
<AddCustomerAcknowledgement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessId>1</BusinessId>
  <CashAmount>8</CashAmount>
  <Customerid>4</Customerid>
  <LoginUserId>2</LoginUserId>
  <OrderId>3</OrderId>
  <Otp>6</Otp>
  <Phone>sample string 5</Phone>
  <source>sample string 7</source>
</AddCustomerAcknowledgement>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddCustomerAcknowledgement'.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2024/09/19 18:23:16",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>