Skip to main content

Create Student Emergency Contact

POST 

/students/:communityId/emergency-contact

This endpoint creates a new emergency contact for a student.

If the emergency contact to be created is an existing community member then you only need to provide the communityId of the community member along with the contactType 'community'. If the emergency contact to be created is not an existing community member then you need to provide the details of the contact along with the contactType 'non-community'.

Request

Path Parameters

    communityId uuidrequired

    The unique identifier of the community member.

Body

    oneOf
    contactType stringrequired
    contactCommunityId uuidrequired

Responses

Schema
    code stringrequired

    Status Code

    data object
    id uuidrequired
    contactCommunityId uuidnullablerequired
    contactOrder integerrequired
    name stringrequired
    schoolId stringnullablerequired
    relationship objectnullablerequired
    id uuidrequired
    description stringrequired
    code stringrequired
    phones object[]required
  • Array [
  • phone stringrequired
    phoneOrder numberrequired

    Possible values: [1, 2]

    Can only be for Phone (1) and Alt Phone (2)

    id uuidrequired
  • ]
  • email stringnullablerequired
    address stringnullablerequired
Loading...