POST api/Map/AddReadOnlyMap

Request Information

URI Parameters

None.

Body Parameters

ReadOnlyMapLookupModel
NameDescriptionTypeAdditional information
Title

string

None.

mapId

integer

None.

includeMapActivities

boolean

None.

includeAllActivities

boolean

None.

readOnlyGUID

globally unique identifier

None.

expireDate

date

None.

UserId

globally unique identifier

None.

DistrictId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "mapId": 2,
  "includeMapActivities": true,
  "includeAllActivities": true,
  "readOnlyGUID": "3bfcbab5-1ded-45ff-877d-fad90f5cafda",
  "expireDate": "2025-10-25T23:13:31.989453+00:00",
  "UserId": "82a83b61-0029-4fbc-8d68-1b00c6a92569",
  "DistrictId": 8
}

application/xml, text/xml

Sample:
<ReadOnlyMapLookupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CurriculumCrafterRestServices.Models">
  <DistrictId>8</DistrictId>
  <Title>sample string 1</Title>
  <UserId>82a83b61-0029-4fbc-8d68-1b00c6a92569</UserId>
  <expireDate>2025-10-25T23:13:31.989453+00:00</expireDate>
  <includeAllActivities>true</includeAllActivities>
  <includeMapActivities>true</includeMapActivities>
  <mapId>2</mapId>
  <readOnlyGUID>3bfcbab5-1ded-45ff-877d-fad90f5cafda</readOnlyGUID>
</ReadOnlyMapLookupModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>