Behavior expected:
The relationship id is get by access token
Response body expected:
[
{
"id": Long
"date": String,
"time": String
"local": String
"title": String
"description": String
"iconId": Long
"relationshipId": Long
"authorId": Long
}
]
400 - BAD REQUEST- Invalid parameters(null parameters).404 - NOT FOUND- Relationship not exists.
Request body expected:
{
"date": String,
"time": String
"local": String
"title": String
"description": String
"iconId": Long
"relationshipId": Long
"authorId": Long
}
400 - BAD REQUEST- Invalid parameters(null parameters).404 - NOT FOUND- Relationship not exists.
Request body expected:
{
"id": Long
"date": String,
"time": String
"local": String
"title": String
"description": String
"iconId": Long
"relationshipId": Long
"authorId": Long
}
400 - BAD REQUEST- Invalid parameters(null parameters).404 - NOT FOUND- Relationship not exists.409 - CONFLICT- Date not exists.
Request body expected:
{
"dateId": Long
}
400 - BAD REQUEST- Invalid parameters(null parameters).404 - NOT FOUND- Relationship not exists.409 - CONFLICT- Date not exists.
Response body expected:
[
{
"id": Long
"date": String
"local": String
"title": String
"description": String
"iconId": Long
"relationshipId": Long
"authorId": Long
}
]
400 - BAD REQUEST- Invalid parameters(null parameters).409 - CONFLICT- Date not exists.