- kisse_id (required)
Response
200 OK
on success404 Not Found
if the kisse does not exist
{
"kisse_id": "af23ce8",
"people": ["Adam", "Bertil", "Cesar"],
"description": "Ski trip",
"expenses": [
{"Name": "Adam", "Amount": 10, "Description": "Food"},
{"Name": "Adam", "Amount": 50, "Description": "Drink"},
{"Name": "Bertil", "Amount": 100, "Description": "Misc"}
]
}
POST /person
Arguments
- kisse_id
- name
Response
409 Conflict
if the person name is not unique within the kisse201 Created
on success
{
"message": "Person created",
"data": {
"person_id": "ab23ce8"
}
}
GET /person
Arguments
- kisse_id
- person_id
Response
200 OK
on success404 Not Found
if the person does not exist
{
"person_id": "cb67a",
"name": "Kalle"
}