POST api/MerchantApp/GetAllProductsForApp

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfListOfVU_SPC_AppProducts
NameDescriptionTypeAdditional information
ReturnValue

Collection of VU_SPC_AppProducts

None.

ReturnType

string

None.

IsSuccess

boolean

None.

Message

string

None.

Schema

string

None.

UTCDate

date

None.

Token

string

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnValue": [
    {
      "PackSizeID": 1,
      "PackSizeSKU": "sample string 2",
      "RoleID": 3,
      "RoleName": "sample string 4",
      "RoleType": "sample string 5",
      "Price": 6.0,
      "DistPlayerID": 7,
      "DistPlayerName": "sample string 8",
      "MerchantID": 9,
      "ProductBrandName": "sample string 10",
      "CurrencyCode": "sample string 11",
      "NoofBaseUnit": 12,
      "QtyAvailable": 13
    },
    {
      "PackSizeID": 1,
      "PackSizeSKU": "sample string 2",
      "RoleID": 3,
      "RoleName": "sample string 4",
      "RoleType": "sample string 5",
      "Price": 6.0,
      "DistPlayerID": 7,
      "DistPlayerName": "sample string 8",
      "MerchantID": 9,
      "ProductBrandName": "sample string 10",
      "CurrencyCode": "sample string 11",
      "NoofBaseUnit": 12,
      "QtyAvailable": 13
    }
  ],
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-27T20:04:11.2652555+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfArrayOfVU_SPC_AppProducts6_SqRF9q0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonComponents.BusinessObjects.CommonTypes">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <ResponseCode>sample string 7</ResponseCode>
  <ReturnValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.SPC">
    <d2p1:VU_SPC_AppProducts>
      <d2p1:CurrencyCode>sample string 11</d2p1:CurrencyCode>
      <d2p1:DistPlayerID>7</d2p1:DistPlayerID>
      <d2p1:DistPlayerName>sample string 8</d2p1:DistPlayerName>
      <d2p1:MerchantID>9</d2p1:MerchantID>
      <d2p1:NoofBaseUnit>12</d2p1:NoofBaseUnit>
      <d2p1:PackSizeID>1</d2p1:PackSizeID>
      <d2p1:PackSizeSKU>sample string 2</d2p1:PackSizeSKU>
      <d2p1:Price>6</d2p1:Price>
      <d2p1:ProductBrandName>sample string 10</d2p1:ProductBrandName>
      <d2p1:QtyAvailable>13</d2p1:QtyAvailable>
      <d2p1:RoleID>3</d2p1:RoleID>
      <d2p1:RoleName>sample string 4</d2p1:RoleName>
      <d2p1:RoleType>sample string 5</d2p1:RoleType>
    </d2p1:VU_SPC_AppProducts>
    <d2p1:VU_SPC_AppProducts>
      <d2p1:CurrencyCode>sample string 11</d2p1:CurrencyCode>
      <d2p1:DistPlayerID>7</d2p1:DistPlayerID>
      <d2p1:DistPlayerName>sample string 8</d2p1:DistPlayerName>
      <d2p1:MerchantID>9</d2p1:MerchantID>
      <d2p1:NoofBaseUnit>12</d2p1:NoofBaseUnit>
      <d2p1:PackSizeID>1</d2p1:PackSizeID>
      <d2p1:PackSizeSKU>sample string 2</d2p1:PackSizeSKU>
      <d2p1:Price>6</d2p1:Price>
      <d2p1:ProductBrandName>sample string 10</d2p1:ProductBrandName>
      <d2p1:QtyAvailable>13</d2p1:QtyAvailable>
      <d2p1:RoleID>3</d2p1:RoleID>
      <d2p1:RoleName>sample string 4</d2p1:RoleName>
      <d2p1:RoleType>sample string 5</d2p1:RoleType>
    </d2p1:VU_SPC_AppProducts>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfArrayOfVU_SPC_AppProducts6_SqRF9q0>