latestOpenAPI 3.0.32026-08-137683171.1 KB

be08f4f706f5

Missions

Add sites to mission

Adds sites to an existing mission. The server expands cluster IDs into individual sites, creates SiteVisit rows for each new site, and creates or updates ClusterVisit records. Sites already in the mission are ignored.

post/missions/{missionId}/sites

Headers

Idempotency-Keystring uuid

Idempotency key for POST requests. If a transaction with the same key already exists for the org, the server returns the original response without re-executing. Keys are valid for 48 hours.

Request body

siteIdsstring[]
clusterIdsstring[]

Response

Success

transactionIdstring uuid required