Home

Pre-Registration-Booking (1.0)

Download OpenAPI specification:Download

License: Mosip

Pre-Registration-Booking Service

booking-controller

Booking Controller

Cancel an booked appointment

Cancel an booked appointment

path Parameters
preRegistrationId
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Booking Appointment

Booking Appointment

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
object (MultiBookingRequest)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "request": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Discard Booking

Discard Booking

query Parameters
preRegistrationId
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Fetch Appointment details

Fetch Appointment details

path Parameters
preRegistrationId
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Cancel an booked appointment

Cancel an booked appointment

path Parameters
preRegistrationId
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Booking Appointment

Booking Appointment

path Parameters
preRegistrationId
required
string
Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
object (BookingRequestDTO)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "request": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Get Pre-Registartion ids By Booked Date Time And Registration center id

Get Pre-Registartion ids By Booked Date Time And Registration center id

path Parameters
registrationCenterId
required
string
query Parameters
from_date
required
string
to_date
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Get Pre-Registartion ids By Booked Date Time And Registration center id

Get Pre-Registartion ids By Booked Date Time And Registration center id

path Parameters
registrationCenterId
required
string
query Parameters
from_date
required
string
to_date
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}

Fetch availability Data

Fetch availability Data

path Parameters
registrationCenterId
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "responsetime": "string",
  • "response": {
    },
  • "errors": [
    ]
}
Home