↔️API
User authentication
One of the given parameter is not valid
No content
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
POST /session/auth/login HTTP/1.1
Host: mec.openg2p.net
Accept: */*
No content
One of the given parameter is not valid
No content
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
POST /session/auth/logout HTTP/1.1
Host: mec.openg2p.net
Accept: */*
No content
Individual Registration
Search for partners
:param partner_search_param: An instance of partner.search.param
:return: List of partner.info
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
GET /api/v1/registry/individual/ HTTP/1.1
Host: mec.openg2p.net
Accept: */*
[
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": false,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"gender": "text",
"birthdate": "2025-09-16",
"age": "text",
"birth_place": "text"
}
]
Create a new Individual
:param individual_info: An instance of the individual info
:return: An instance of partner info
false
none
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
POST /api/v1/registry/individual/ HTTP/1.1
Host: mec.openg2p.net
Content-Type: application/json
Accept: */*
Content-Length: 487
{
"name": "text",
"ids": [
{
"id_type": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"registration_date": "2025-09-16",
"is_group": false,
"phone_numbers": [
{
"phone_no": "text",
"date_collected": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": [
{}
],
"program_memberships": [
{
"name": "text",
"enrollment_date": "2025-09-16"
}
],
"notification_preference": "none",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"gender": "text",
"birthdate": "2025-09-16",
"birth_place": "text"
}
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": false,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"gender": "text",
"birthdate": "2025-09-16",
"age": "text",
"birth_place": "text"
}
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
GET /api/v1/registry/individual/{id} HTTP/1.1
Host: mec.openg2p.net
Accept: */*
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": false,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"gender": "text",
"birthdate": "2025-09-16",
"age": "text",
"birth_place": "text"
}
Search for partners
:param partner_search_param: An instance of partner.search.param
:return: List of partner.info
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
GET /api/v1/registry/individual/search HTTP/1.1
Host: mec.openg2p.net
Accept: */*
[
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": false,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"gender": "text",
"birthdate": "2025-09-16",
"age": "text",
"birth_place": "text"
}
]
Update Individual Identification
:param reg_id: An instance of the partner.reg_id
:return: An instance of partner.reg_id
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
PATCH /api/v1/registry/individual/updateIdentification HTTP/1.1
Host: mec.openg2p.net
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"id_type": "text",
"value": "text",
"expiry_date": "2025-09-16",
"partner_id": 1
}
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16",
"partner_id": 1
}
Group Registration
Search for partners
:param partner_search_param: An instance of partner.search.param
:return: List of partner.short.info
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
GET /api/v1/registry/group/ HTTP/1.1
Host: mec.openg2p.net
Accept: */*
[
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": true,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none"
}
]
Create a new Group
:param group_info: An instance of the group info
:return: An instance of partner.info
true
none
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
POST /api/v1/registry/group/ HTTP/1.1
Host: mec.openg2p.net
Content-Type: application/json
Accept: */*
Content-Length: 927
{
"name": "text",
"ids": [
{
"id_type": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"registration_date": "2025-09-16",
"is_group": true,
"phone_numbers": [
{
"phone_no": "text",
"date_collected": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": [
{}
],
"program_memberships": [
{
"name": "text",
"enrollment_date": "2025-09-16"
}
],
"notification_preference": "none",
"members": [
{
"name": "text",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"ids": [
{
"id_type": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"registration_date": "2025-09-16",
"phone_numbers": [
{
"phone_no": "text",
"date_collected": "2025-09-16"
}
],
"email": "text",
"address": "text",
"gender": "text",
"birthdate": "2025-09-16",
"birth_place": "text",
"kind": [
{
"name": "text"
}
],
"is_group": false,
"additional_g2p_info": [
{}
],
"program_memberships": [
{
"name": "text",
"enrollment_date": "2025-09-16"
}
],
"notification_preference": "none"
}
],
"kind": "text",
"is_partial_group": true
}
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": true,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"group_membership_ids": [
{
"id": 1,
"individual": {
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": false,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"gender": "text",
"birthdate": "2025-09-16",
"age": "text",
"birth_place": "text"
},
"kind": [
{
"name": "text"
}
]
}
],
"kind_as_str": "text",
"is_partial_group": true
}
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
GET /api/v1/registry/group/{id} HTTP/1.1
Host: mec.openg2p.net
Accept: */*
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": true,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"group_membership_ids": [
{
"id": 1,
"individual": {
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": false,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none",
"given_name": "text",
"addl_name": "text",
"family_name": "text",
"gender": "text",
"birthdate": "2025-09-16",
"age": "text",
"birth_place": "text"
},
"kind": [
{
"name": "text"
}
]
}
],
"kind_as_str": "text",
"is_partial_group": true
}
Search for partners
:param partner_search_param: An instance of partner.search.param
:return: List of partner.short.info
One of the given parameter is not valid
The user is not authorized. Authentication is required
You don't have the permission to access the requested resource.
Requested resource not found
GET /api/v1/registry/group/search HTTP/1.1
Host: mec.openg2p.net
Accept: */*
[
{
"id": 1,
"name": "text",
"reg_ids": [
{
"id": 1,
"id_type_as_str": "text",
"value": "text",
"expiry_date": "2025-09-16"
}
],
"is_group": true,
"registration_date": "2025-09-16",
"phone_number_ids": [
{
"id": 1,
"phone_no": "text",
"phone_sanitized": "text",
"date_collected": "2025-09-16",
"disabled": "2025-09-16"
}
],
"email": "text",
"address": "text",
"additional_g2p_info": "",
"program_membership_ids": [
{
"program_id": 1,
"state": "text",
"enrollment_date": "2025-09-16",
"exit_date": "2025-09-16"
}
],
"notification_preference": "none"
}
]
Last updated