Skip to content

Crow314/entry-notificator

Repository files navigation

寺子屋deおんらいん

API

Child

POST /children

Register child

{
  "first_name": "太郎",
  "family_name": "山田",
  "birth_date": "2009-09-10",
  "address": {
    "postal_code": "639-1080",
    "prefecture_code": 29,
    "city": "大和郡山市",
    "street": "矢田町22番地",
    "room": ""
  },
  "contact": {
    "email": "yamada@example.com",
    "phone_number": "090-0000-0000"
  }
}

See 全国地方公共団体コード#都道府県コード for prefecture_code

Card

POST /cards

Register id card for the child

{
  "child_id": "aae61ee1-40a3-44c4-829a-49c68e227082",
  "token": "0101020c2927e5df",
  "token_type": "FeliCa"
}

Attendance

POST /places/:place_id/attendances

Change entry status of the child

{
  "token": "0101020c2927e5df",
  "token_type": "FeliCa"
}

Supporter

POST /supporters

Register supporter

{
  "first_name": "留太",
  "family_name": "高専",
  "birth_date": "1989-01-08",
  "email": "kosen@example.com",
  "address": {
    "postal_code": "193-0834",
    "prefecture_code": 13,
    "city": "八王子市",
    "street": "東浅川町701-2",
    "room": ""
  }
}

See 全国地方公共団体コード#都道府県コード for prefecture_code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published