Participants

All participants with pagination numbers

GET /api/participants/(int: offset)/(int: limit)

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json; charset=UTF-8

[
      {
        "response_code": 1000,
        "data": {
          "participants": [
            {
              "id": "2",
              "full_name": "Jude Bautista",
              "designation": "Fuckboy",
              "employee_no": "44444",
              "email": "jamesjudebautista@gmail.com",
              "photo": null,
              "mobile_no": "",
              "gender": "M"
            }
          ]
        },
        "system": {
          "created_at": "2017-01-10 09:38:03",
          "signature": "62fa8f4c5aecdfdcdf85a0c450b379662a77281a",
          "message": "Success"
        }
      }
]

Update participant details by Id

PUT /api/participants/(int: participantId)/update
Parameters:
  • employee_no (string) – the employee_no
  • designation (string) – the designation
  • email (string) – the email
  • first_name (string) – the first_name
  • last_name (string) – the last_name
  • photo (string) – the photo
  • mobile_no (string) – the mobile_no
  • gender (string) – the gender

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json; charset=UTF-8

[
      {
        "response_code": 1000,
        "data": {
          "participant": {
            "id": "2",
            "employee_no": "123456",
            "designation": "Developer",
            "email": "jcarpizo@yondu.com",
            "first_name": "Jasper",
            "last_name": "Carpizo",
            "photo": "https://scontent-hkg3-1.xx.fbcdn.net/v/t1.0-0/p206x206/12289493_1655940557995715_5617969189008227279_n.jpg?_nc_eui2=v1%3AAeENNRebJbs7raTxQFtLG9dnkj6pGQMEs6eTB0zJqCCysbNKHfFscyiEP6Lzqbqvdj1Jc8kfiqZMBk6klUvGtBV3weXgwnu5lF7Xq7-S5ZGc6Q&oh=c31240cd859f45865aeb2e547acbcbe5&oe=5920F1C5",
            "mobile_no": "12345678910",
            "gender": "M",
            "created_at": "2015-11-20 10:11:15",
            "created_by": "1",
            "modified_at": "2016-10-28 16:46:21",
            "modified_by": "11",
            "deleted_at": "0000-00-00 00:00:00",
            "deleted_by": "0",
            "is_deleted": "0",
            "google_id": "108162336891357443445"
          }
        },
        "system": {
          "created_at": "2017-01-10 09:44:00",
          "signature": "fe69d4dde0c32042625473f028e7ce5f9dbb8cd2",
          "message": "Success"
        }
      }
]