POST api/ClearCart

Request Information

URI Parameters

None.

Body Parameters

ClearCartRequest
NameDescriptionTypeAdditional information
SessionKey

string

Required

Request Formats

application/json, text/json

Sample:
{
  "SessionKey": "sample string 1"
}

application/xml, text/xml

Sample:
<ClearCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Order">
  <SessionKey>sample string 1</SessionKey>
</ClearCartRequest>

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 'ClearCartRequest'.

Response Information

Resource Description

ApiSuccessOfClearCartResult
NameDescriptionTypeAdditional information
Success

boolean
Data

ClearCartResult

Response Formats

application/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "pNZE8JTxd+G9iLrxcu7CzNJv7hrcy3vLmPTut+7j21IYlieqgIrGmwbBGLwLhgZ4pKhAjte7Vuq8L5XgoYsZerj3IWr7kqBC2Mwhu0JJuck="
  }
}

text/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "OAoLePbRnTJD0Tm/iKYCltiUdHPFQdOh0Z0IaFlf/6EBqwfEROMnZFtqPK1ou1HHEPXC+hLkCLIxPKkRC2Y/iIXsE8utRhSFrvS3Mt3SxBk="
  }
}

application/xml, text/xml

Sample:
<ApiSuccessOfClearCartResultlnV6n2FW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Order">
    <d2p1:SessionKey>sample string 1</d2p1:SessionKey>
  </Data>
</ApiSuccessOfClearCartResultlnV6n2FW>