POST api/region/favourites/add

Add a region to your list of favourites Processes this region API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The add favourite region command data contract supplied with the request.

AddFavouriteRegionCommandDataContract
NameDescriptionTypeAdditional information
RegionId

The unique identifier of the related region resource.

integer

None.

GlobalRegion

Indicates whether global region is true.

boolean

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "RegionId": 1,
  "GlobalRegion": true
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.