pwrd by

Meeting registrations

Information on registrations for a meeting

Accept header for requests to Meeting registrations

application/vnd.procurios.meeting2+json; version=2

All registrations

GET /l/meeting2_api/meetings/registration

Get the list of all registrations for any meeting

Parameters

Parameter Type Description
page int The api will provide 25 results per page
since datetime Only get results created or updated since yyyy-mm-ddThh:mm:ss
relationIds int[] Limit the results to the given relationIds, as a single integer, comma-separated list of integers, or array of integers

Examples

[]
200
{
    "registrations": [
        {
            "registrationId": 10,
            "meetingId": 11,
            "ticketId": null,
            "relationId": 99,
            "registrationDate": "2020-12-02T01:02:03"
        }
    ]
}

Schema

GET /l/meeting2_api/meetings/42/registration/schema

Get a JSON schema for a meeting registration

Examples

[]
200
{
    "$schema": "http:\/\/json-schema.org\/draft-07\/schema#",
    "title": "Registration for Demo meeting",
    "type": "object",
    "properties": {
        "relationId": {
            "title": "Relation ID",
            "description": "The unique ID for the person registering",
            "type": "integer"
        },
        "ticketId": {
            "title": "Ticket ID",
            "description": "The ticket the person wants to register with",
            "type": "integer"
        },
        "remark": {
            "title": "Remark",
            "type": "string"
        }
    },
    "required": [
        "relationId"
    ]
}

Registrations

GET /l/meeting2_api/meetings/42/registration

Get the list of registrations for the meeting

Examples

[]
200
{
    "registrations": [
        {
            "registrationId": 10,
            "ticketId": null,
            "relationId": 99
        }
    ]
}

Create a new registration

POST /l/meeting2_api/meetings/42/registration

Create a new registration

Examples

{
    "relationId": 99
}
200
{
    "registrationId": 32
}

Registration

GET /l/meeting2_api/meetings/42/registration/10

Get a registration

Examples

[]
200
{
    "relationId": 99,
    "ticketId": null,
    "remark": null
}

Registration

DELETE /l/meeting2_api/meetings/42/registration/10

Cancel a registration; does not remove the registration!

Examples

[]
200
[]
[]
400
{
    "errors": "Cancelling is not allowed for this meeting"
}