[#1061] membership bug

Migrated from Redmine #1061 | Author: Mohammed Thoufiq M
Status: Feedback | Priority: Immediate, there is BUG! | Created: 2023-06-07


Trying to book a service which connected to memebership through book api even though the client has membership against him still the api throwing “Membership is required to book this service”, in response is iam missing anything in body

the following is body of book api:
{
“jsonrpc”: “2.0”,
“method”: “book”,
“params”: [
“25”,
“24”,
“{{booking_date}}”,
“10:00:00”,
{
“client_id”: {{client_id}},
“client_sign”: “{{client_signature}}”
},
{
“handle_invoice”: true,
“39ce0f9cfeba836db00250c52179c5d0”: “test_notes”,
“require_confirm”: true
},
0
],
“id”: {{client_id}}
}

Dmytro Bondarev wrote:

Hi, please pass client membership id in additions in client_membership_id field

“params”: [
“25”,
“24”,
“{{booking_date}}”,
“10:00:00”, {
“client_id”: {{client_id}},
“client_sign”: “{{client_signature}}”
}, {
“handle_invoice”: true,
“39ce0f9cfeba836db00250c52179c5d0”: “test_notes”,
“require_confirm”: true,
“client_membership_id”: 123
},
0
],