POST api/NOTIFICATIONS?qrCode={qrCode}¬ifyType={notifyType}&foreigns={foreigns}
Insert a single record into NOTIFICATIONS and sends a Push Notification to child's CUSTODIANS
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| qrCode |
Obligatory. The QR Code of the child |
string |
Required |
| notifyType |
Obligatory. Specifies the notification's type ID that will be sent to child's CUSTODIANS. Its value will contain the TYPE_ID from NOTIFICATION_TYPES |
integer |
Required |
| foreigns |
Optional. Default value is true. True=> Include nested foreign objects within reply. False=> Do NOT Include nested foreign objects within reply |
boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
NOTIFICATIONS_CMD_RESPONSE| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | Status |
None. |
|
| DATA | Collection of NOTIFICATIONS |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": {
"Success": true,
"Code": "0",
"DetailedMessage": "sample string 3",
"Message": "sample string 2"
},
"DATA": [
{
"CREATE_DATE": "2025-12-07T09:10:00.5682172Z",
"FK_CREATOR": 4,
"FK_NOTIFY_TYPE": 2,
"NOTIFY_ID": 1,
"CHILDREN": {
"ACTIVE": true,
"CHILD_ID": 1,
"NOTES": "sample string 6",
"CHILD_SCODE": "sample string 4",
"CHILD_QR_CODE": "sample string 3",
"CHILD_NAME": "sample string 2"
},
"NOTIFICATION_TYPES": {
"TYPE_ID": 1,
"TYPE_TITLE": "sample string 2"
},
"FK_CHILD": 1,
"NOTIFY_DETAILS": "sample string 3"
},
{
"CREATE_DATE": "2025-12-07T09:10:00.5682172Z",
"FK_CREATOR": 4,
"FK_NOTIFY_TYPE": 2,
"NOTIFY_ID": 1,
"CHILDREN": {
"ACTIVE": true,
"CHILD_ID": 1,
"NOTES": "sample string 6",
"CHILD_SCODE": "sample string 4",
"CHILD_QR_CODE": "sample string 3",
"CHILD_NAME": "sample string 2"
},
"NOTIFICATION_TYPES": {
"TYPE_ID": 1,
"TYPE_TITLE": "sample string 2"
},
"FK_CHILD": 1,
"NOTIFY_DETAILS": "sample string 3"
}
]
}
