POST api/region/favourites/add

Request Information

URI Parameters

None.

Body Parameters

AddFavouriteRegionCommandDataContract
NameDescriptionTypeAdditional information
RegionId

integer

None.

GlobalRegion

boolean

None.

Request Formats

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddFavouriteRegionCommandDataContract'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.