Follow

Get Venues

Returns a list of venues for a particular organization.

 

Attributes 

Attribute

Value

Path

/v3/organisations/{id}/venues

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

GET /v3/organisations/563/venues HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

Query Params

?systemType=(int)

 Notes: SystemType

                 GCM = 0,

             MSISDN = 2,

             FacebookId = 3,

             FacebookToken = 4,

             Communiq = 5,

             ApplePushNotification = 6,

             Blackberry = 7,

             WindowsNotificationService = 8,

             CRM_1 = 9,

             CMS_1 = 10,

             Felica = 11,

             Internal = 12,

             VMobExtID = 13,

             Azme = 14

 

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

[

   {

      "id":1,

      "name":"East Side Store",

      "externalId" : null

   },

   {

      "id":17,

      "name":"Central City 1",

      "externalId" : null

   },

   {

      "id":18,

      "name":"Central City 2",

      "externalId" : null

   },

   {

      "id":19,

      "name":"South City Store",

      "externalId" : null

   }

]

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.