8 Service APIs
8.1 Administrative APIs
create a new event, in eventList with given eventDetails, returns new event id or failure error code
post
Query parameters
requestorIdstringRequiredExample:
healthngoadmin1requestTokenstringRequiredExample:
OrganizerResponses
200
success
application/json
ResponsestringExample:
ID of created event
eventId:12345400
Invalid request
403
No permission
404
one or more specified inputs not found
default
Unexpected error
post
/event/newchanges values of specific details (as given by eventDetails) of given event (selected by eventFilter) in eventList and returns success or error code
put
Query parameters
requestorIdstringRequiredExample:
healthngoadmin1requestTokenstringRequiredExample:
OrganizereventIdstringRequiredExample:
12345Responses
200
success, event updated
No content
400
Invalid request
403
No permission
404
one or more specified inputs not found
default
Unexpected error
put
/event/modificationsNo content
Query parameters
requestorIdstringRequiredExample:
healthngoadmin1requestTokenstringRequiredExample:
OrganizereventIdstringRequiredExample:
12345Responses
200
success, event cancelled
No content
400
Invalid request
403
No permission
404
one or more specified inputs not found
default
Unexpected error
delete
/eventNo content
8.2 User APIs
Last updated
Was this helpful?