Follow

Get All Regions

Returns a list of all regions.

 

Attributes 

Attribute

Value

Path

/v3/regions

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/regions HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

 

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": "Finnmark",

        "Latitude": "69.968740000",

            "Longitude": "23.271550000",

               "PolygonBoundsCoordinates": "70.739401,22.302246|71.21917,25.444336|71.197937,27.180176|

                                                                     71.012939,28.828125|70.436799,31.289063|69.794136,30.893555|

                                                                     69.545558,30.871582|69.649446,30.19043|69.388049,30.014648"

        }, {

            "Id": 2,

            "Name": "Telemark",

        "Latitude": "58.869300000",

            "Longitude": "9.414940000",

               "PolygonBoundsCoordinates": "58.938673,9.838257|59.164668,9.821777|59.179974,9.893188|

                                                                     59.216542,9.865723|59.258686,9.876709|59.328811,9.766846|

                                                                     59.415566,9.777832|59.418361,9.629517|59.488157,9.547119|

                                                                     59.499311,9.453735|59.549459,9.503174|59.682821,9.398804"

        }

]

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.