GET Api/Basket/GetBasketListById?MerchantCode={MerchantCode}&id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MerchantCode

string

Required

id

string

Required

Body Parameters

None.

Response Information

Resource Description

CustomResponseObjectOfIEnumerableOfBasket
NameDescriptionTypeAdditional information
CustomResponseState

boolean

None.

CustomResponseMessage

string

None.

CustomObject

Collection of Basket

None.

CustomRedirectionUri

string

None.

GlobalRequestToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomResponseState": true,
  "CustomResponseMessage": "sample string 2",
  "CustomObject": [
    {
      "BasketProtectedGuid": "sample string 1",
      "Id": "sample string 2",
      "MerchantCode": "sample string 3",
      "Name": "sample string 4",
      "Category1": "sample string 5",
      "Category2": "sample string 6",
      "ItemType": "sample string 7",
      "UnitPrice": 8.0,
      "Count": 9,
      "Price": 10.0,
      "WorkspaceGuid": "sample string 11",
      "RegistrationDate": "2024-03-03T14:45:27.527455+03:00",
      "Instance": "sample string 13",
      "PublicIdentificationGuid": "sample string 14",
      "ClientGuid": "sample string 15",
      "AffiliateTestId": "sample string 16",
      "AffiliateID": "sample string 17"
    },
    {
      "BasketProtectedGuid": "sample string 1",
      "Id": "sample string 2",
      "MerchantCode": "sample string 3",
      "Name": "sample string 4",
      "Category1": "sample string 5",
      "Category2": "sample string 6",
      "ItemType": "sample string 7",
      "UnitPrice": 8.0,
      "Count": 9,
      "Price": 10.0,
      "WorkspaceGuid": "sample string 11",
      "RegistrationDate": "2024-03-03T14:45:27.527455+03:00",
      "Instance": "sample string 13",
      "PublicIdentificationGuid": "sample string 14",
      "ClientGuid": "sample string 15",
      "AffiliateTestId": "sample string 16",
      "AffiliateID": "sample string 17"
    }
  ],
  "CustomRedirectionUri": "sample string 3",
  "GlobalRequestToken": "sample string 4"
}

text/html

Sample:
{"CustomResponseState":true,"CustomResponseMessage":"sample string 2","CustomObject":[{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-03-03T14:45:27.527455+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"},{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-03-03T14:45:27.527455+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"}],"CustomRedirectionUri":"sample string 3","GlobalRequestToken":"sample string 4"}

application/xml, text/xml

Sample:
<CustomResponseObjectOfArrayOfBasketlALm2WVN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto">
  <CustomObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/we.net.dto.apiobjects.global">
    <d2p1:Basket>
      <d2p1:AffiliateID>sample string 17</d2p1:AffiliateID>
      <d2p1:AffiliateTestId>sample string 16</d2p1:AffiliateTestId>
      <d2p1:BasketProtectedGuid>sample string 1</d2p1:BasketProtectedGuid>
      <d2p1:Category1>sample string 5</d2p1:Category1>
      <d2p1:Category2>sample string 6</d2p1:Category2>
      <d2p1:ClientGuid>sample string 15</d2p1:ClientGuid>
      <d2p1:Count>9</d2p1:Count>
      <d2p1:Id>sample string 2</d2p1:Id>
      <d2p1:Instance>sample string 13</d2p1:Instance>
      <d2p1:ItemType>sample string 7</d2p1:ItemType>
      <d2p1:MerchantCode>sample string 3</d2p1:MerchantCode>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:Price>10</d2p1:Price>
      <d2p1:PublicIdentificationGuid>sample string 14</d2p1:PublicIdentificationGuid>
      <d2p1:RegistrationDate>2024-03-03T14:45:27.527455+03:00</d2p1:RegistrationDate>
      <d2p1:UnitPrice>8</d2p1:UnitPrice>
      <d2p1:WorkspaceGuid>sample string 11</d2p1:WorkspaceGuid>
    </d2p1:Basket>
    <d2p1:Basket>
      <d2p1:AffiliateID>sample string 17</d2p1:AffiliateID>
      <d2p1:AffiliateTestId>sample string 16</d2p1:AffiliateTestId>
      <d2p1:BasketProtectedGuid>sample string 1</d2p1:BasketProtectedGuid>
      <d2p1:Category1>sample string 5</d2p1:Category1>
      <d2p1:Category2>sample string 6</d2p1:Category2>
      <d2p1:ClientGuid>sample string 15</d2p1:ClientGuid>
      <d2p1:Count>9</d2p1:Count>
      <d2p1:Id>sample string 2</d2p1:Id>
      <d2p1:Instance>sample string 13</d2p1:Instance>
      <d2p1:ItemType>sample string 7</d2p1:ItemType>
      <d2p1:MerchantCode>sample string 3</d2p1:MerchantCode>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:Price>10</d2p1:Price>
      <d2p1:PublicIdentificationGuid>sample string 14</d2p1:PublicIdentificationGuid>
      <d2p1:RegistrationDate>2024-03-03T14:45:27.527455+03:00</d2p1:RegistrationDate>
      <d2p1:UnitPrice>8</d2p1:UnitPrice>
      <d2p1:WorkspaceGuid>sample string 11</d2p1:WorkspaceGuid>
    </d2p1:Basket>
  </CustomObject>
  <CustomRedirectionUri>sample string 3</CustomRedirectionUri>
  <CustomResponseMessage>sample string 2</CustomResponseMessage>
  <CustomResponseState>true</CustomResponseState>
  <GlobalRequestToken>sample string 4</GlobalRequestToken>
</CustomResponseObjectOfArrayOfBasketlALm2WVN>