POST Api/v{apiVersion}/Areas/FromList/AsGeoJson

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "125f29fa-ca9e-4e2b-a637-f054d9e3c40f",
  "79473c20-5b87-43c6-a546-3f3b0ea05373"
]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>125f29fa-ca9e-4e2b-a637-f054d9e3c40f</guid>
  <guid>79473c20-5b87-43c6-a546-3f3b0ea05373</guid>
</ArrayOfguid>

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 'IList`1'.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0]"

125f29fa-ca9e-4e2b-a637-f054d9e3c40f
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1]"

79473c20-5b87-43c6-a546-3f3b0ea05373
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

FeatureCollection
NameDescriptionTypeAdditional information
type

GeoJSONObjectType

None.

features

Collection of Feature

None.

bbox

Collection of decimal number

None.

crs

ICRSObject

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Cannot write a null value for property 'features'. Property requires a value. Path ''.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Cannot write a null value for property 'features'. Property requires a value. Path ''.

application/xml, text/xml

Sample:
<FeatureCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeoJSON.Net.Feature">
  <BoundingBoxes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/GeoJSON.Net">
    <d2p1:double>1.1</d2p1:double>
    <d2p1:double>2.1</d2p1:double>
  </BoundingBoxes>
  <CRS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/GeoJSON.Net" />
</FeatureCollection>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Type"

FeatureCollection
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="BoundingBoxes[0]"

1,1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="BoundingBoxes[1]"

2,1
--MultipartDataMediaFormatterBoundary1q2w3e--