Submit occupant issue
curl --request POST \
--url https://api.plansync.dev/api/v1/occupant/{token}/submit \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>'})
};
fetch('https://api.plansync.dev/api/v1/occupant/{token}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/v1/occupant/{token}/submit"
payload = { "title": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"issueId": "<string>"
}Public Portals
Submit occupant issue
POST
/
api
/
v1
/
occupant
/
{token}
/
submit
Submit occupant issue
curl --request POST \
--url https://api.plansync.dev/api/v1/occupant/{token}/submit \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>'})
};
fetch('https://api.plansync.dev/api/v1/occupant/{token}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/v1/occupant/{token}/submit"
payload = { "title": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"issueId": "<string>"
}