Follow

Get Region

Returns a region for a given region Id.

 

Attributes 

Attribute

Value

Path

/v3/regions/{id}

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/regions/1 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"

}

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.