NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
Associate a guardian to a minor.
post
/spms/v1/guardians/child/{childId}
This is to associate a guardian to a minor profile
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : schema
Type:
Show Source
array
-
Array of:
object guardianIdsList
The object returned in Oracle Standard when function is executed successfully
Nested Schema : guardianIdsList
Type:
object
The object returned in Oracle Standard when function is executed successfully
Show Source
Nested Schema : guardianIds
Type:
Show Source
array
-
Array of:
integer
This value is the id value obtained from the guardiansExample:
12345
Response
Supported Media Types
- application/json
204 Response
Successful assign guardian to a minor.
400 Response
Invalid parameter(s) passed in
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
401 Response
Unauthorized
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
403 Response
Forbidden
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
404 Response
Not Found
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
409 Response
Conflict - minor and Guardian are already associated
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
500 Response
Application error
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1