Follow

TagValues

Returns a list of tagValues for a given tag code. E.g. all Age range values for the Age Range tag ('AR').

 

Attributes 

Attribute

Value

Path

/v3/tagValues

Support Formats

JSON, XML

HTTP Method

GET

Secure

Yes

Rate Limited

No

Cache Timeout

TBC

HTTP Codes

·        200 - OK

·        400 - Bad Request. 

·        500 - Internal Server Error. 

 

Request

The following table contains the details of a typical HTTP Request for this service:

Type

Value

Header

POST /v3/tagValues HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

Query
Param 

?tagCode=(tag.Code)

 Notes:

  1. Tag Code is required

 

Successful Response

The following table contains the details of a typical successful HTTP Request for this service.

Type

Value

Header

HTTP/1.1 200 OK

Content-Type: application/json

Cache-Control: no-store

Pragma: no-cache

Body

[

   {

    "referenceCode": "55-79",

    "name": "55-79",

    "tagCode": "AR",

    "sortOrder": 7,

    "additionalData1": 79

}, {

    "referenceCode": "18-24",

    "name": "18 - 24",

    "tagCode": "AR",

    "sortOrder": 2,

    "additionalData1": 24

}, {

    "referenceCode": "25-34",

    "name": "25 - 34",

    "tagCode": "AR",

    "sortOrder": 3,

    "additionalData1": 34

}, {

    "referenceCode": "45-54",

    "name": "45 - 54",

    "tagCode": "AR",

    "sortOrder": 6,

    "additionalData1": 54

}, {

    "referenceCode": "80",

    "name": "80+",

    "tagCode": "AR",

    "sortOrder": 8,

    "additionalData1": 999

}, {

    "referenceCode": "35-44",

    "name": "35 - 44",

    "tagCode": "AR",

    "sortOrder": 5,

    "additionalData1": 44

}]

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.