POST api/{projectID}/SendBasketToOrder

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectID

integer

Required

Body Parameters

SendBasketToOrderRequest
NameDescriptionTypeAdditional information
userId

string

None.

addressId

string

None.

orderNotes

string

None.

paymentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "addressId": "sample string 2",
  "orderNotes": "sample string 3",
  "paymentType": "sample string 4"
}

application/xml, text/xml

Sample:
<SendBasketToOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
  <addressId>sample string 2</addressId>
  <orderNotes>sample string 3</orderNotes>
  <paymentType>sample string 4</paymentType>
  <userId>sample string 1</userId>
</SendBasketToOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BasicResponse
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

successMessage

string

None.

errorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "successMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<BasicResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
  <errorMessage>sample string 3</errorMessage>
  <isSuccess>true</isSuccess>
  <successMessage>sample string 2</successMessage>
</BasicResponse>