POST api/admin/park/edit/address

Request Information

URI Parameters

None.

Body Parameters

ParkAddressEntity
NameDescriptionTypeAdditional information
ParkId

integer

None.

Address1

string

None.

Address2

string

None.

Town

string

None.

County

string

None.

PostCode

string

None.

CountryId

integer

None.

ContinentId

integer

None.

AddressFullString

string

None.

AddressString

string

None.

LatitudeDecimal

string

None.

LongtitudeDecimal

string

None.

WhatThreeWords

string

None.

PlusCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ParkId": 1,
  "Address1": "sample string 2",
  "Address2": "sample string 3",
  "Town": "sample string 4",
  "County": "sample string 5",
  "PostCode": "sample string 6",
  "CountryId": 7,
  "ContinentId": 8,
  "AddressFullString": "sample string 9",
  "AddressString": "sample string 10",
  "LatitudeDecimal": "sample string 11",
  "LongtitudeDecimal": "sample string 12",
  "WhatThreeWords": "sample string 13",
  "PlusCode": "sample string 14"
}

application/xml, text/xml

Sample:
<ParkAddressEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThemeParkEntities.Park">
  <Address1>sample string 2</Address1>
  <Address2>sample string 3</Address2>
  <AddressFullString>sample string 9</AddressFullString>
  <AddressString>sample string 10</AddressString>
  <ContinentId>8</ContinentId>
  <CountryId>7</CountryId>
  <County>sample string 5</County>
  <LatitudeDecimal>sample string 11</LatitudeDecimal>
  <LongtitudeDecimal>sample string 12</LongtitudeDecimal>
  <ParkId>1</ParkId>
  <PlusCode>sample string 14</PlusCode>
  <PostCode>sample string 6</PostCode>
  <Town>sample string 4</Town>
  <WhatThreeWords>sample string 13</WhatThreeWords>
</ParkAddressEntity>

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 'ParkAddressEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.