POST v1/core/channels/{chnId}/apps/{appname}/bulkget

Return all the keys and values for the list of keys supplied Note: If a key doesn't exist then no entry will be present in the return value for that key. This endpoint will always return Http 200 unless an unforeseeable error occurs The maximum number of keys that can be supplied is 100

Request Information

Parameters

NameDescriptionAdditional information
chnId

Define this parameter in the request URI.

appname

Define this parameter in the request URI.

keys
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2",
  "sample string 3"
]

text/javascript

Sample:
["sample string 1","sample string 2","sample string 3"]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
  <string>sample string 3</string>
</ArrayOfstring>

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 'List`1'.

application/bson

Sample:
J0sample string 11sample string 22sample string 3

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":[{"Key":"sample string 1","Value":"sample string 2"},{"Key":"sample string 1","Value":"sample string 2"},{"Key":"sample string 1","Value":"sample string 2"}],"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfArrayOfKeyValuePairOfstringstringR8RmUPp7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfArrayOfKeyValuePairOfstringstringR8RmUPp7>

application/bson

Sample:
SuccessData�09Keysample string 1Valuesample string 219Keysample string 1Valuesample string 229Keysample string 1Valuesample string 2ErrorCodeErrorDescriptionsample string 3Metasample string 4