put https://api.accelevents.com/rest/event/$/attendee/$/acceptRequest
This API is used to accept a connection request received from another user.
To call this API you will need a connection request of the user otherwise it will give an error.
To call this API, you need to pass eventurl, user id, and authorisation token in the request API.
For the authorisation token, you need to call login API.
Here is the description of response fields.
Field | Description |
---|---|
type | It contains a type of message. |
message | It contains a response message. |
Here is the description of the error codes.
Response Status Code | Error Code | Description |
---|---|---|
401 | 4010101 | Not authorized to access. |
404 | 4040200 | Event not found. |
404 | 4043001 | Connection request not found. |
404 | 4043002 | Connection request already accepted. |
404 | 4043003 | Connection request already rejected. |
406 | 4068005 | Attendee can not connect to self. |