Designation
An applicant applies to one or more programs through designations. Programs render a decision for the designation.
This is a prototype resource.
A prototype resource is experimental, and major changes are likely. In time, a prototype resource may or may not advance to production.
Attributes
| Name | Type | Description | Example |
|---|---|---|---|
| designation:decision | nullable object | null |
|
| designation:decision:id | integer | Unique identifier of this decision. | 42 |
| designation:decision:name | string | Human-readable name for this decision. | "Offer Accepted" |
| designation:decisions_href | string | Hypertext reference for valid decisions. pattern: /api/v1/user_identities/\d+/decisions |
"/api/v1/user_identities/1/decisions" |
| designation:href | string | Hypertext reference to this resource. pattern: /api/v1/user_identities/\d+/programs/\d+/applicants_by_cas_id/\d+/designation |
"/api/v1/user_identities/1/programs/2/applicants_by_cas_id/3/designation" |
| designation:local_status | nullable object | For programs using WebAdMIT to manage their admissions process, a local status is a way for those programs to enter their workflow into WebAdMIT. Typically, these programs will tie a decision to a local status. Decisions are used for reporting at a national level (or school-wide level for UniCAS), but local statuses are for an individual program's process. | null |
| designation:local_status:id | integer | Unique identifier of this local status. | 123456 |
| designation:local_status:title | string | Human-readable title for this local status. | "Deposit Made" |
Designation Show
Display the designation for the applicant with the given applicant CAS ID and program ID.
GET /api/v1/user_identities/:user_identity_id/programs/:program_id/applicants_by_cas_id/:applicant_cas_id/designation
Curl Example
$ curl -n https://api.webadmit.org/api/v1/user_identities/:user_identity_id/programs/:program_id/applicants_by_cas_id/:applicant_cas_id/designation \
-H "x-api-key: 0123456789abcdef0123456789abcdef"
Response Example
HTTP/1.1 200 OK
{
"designation": {
"href": "/api/v1/user_identities/1/programs/2/applicants_by_cas_id/3/designation",
"decisions_href": "/api/v1/user_identities/1/decisions",
"decision": {
"id": 42,
"name": "Offer Accepted"
},
"local_status": {
"id": 123456,
"title": "Deposit Made"
}
}
}
Designation Update
Update the designation with the given applicant CAS ID and program ID. WARNING: The decision provided to this endpoint is used even if it conflicts with the local status. It is possible to change a decision so that it does not match the local status. (Example: a local status of "Offer Accepted" and a decision of "Withdrawn".)
PATCH /api/v1/user_identities/:user_identity_id/programs/:program_id/applicants_by_cas_id/:applicant_cas_id/designation
Optional Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| designation:decision_id | nullable integer | The unique identifier for the decision to set. | 43 |
Curl Example
$ curl -n -X PATCH https://api.webadmit.org/api/v1/user_identities/:user_identity_id/programs/:program_id/applicants_by_cas_id/:applicant_cas_id/designation \
-d '{
"designation": {
"decision_id": 43
}
}' \
-H "Content-Type: application/json" \
-H "x-api-key: 0123456789abcdef0123456789abcdef"
Response Example
HTTP/1.1 200 OK
{
"href": "/api/v1/user_identities/1/programs/2/applicants_by_cas_id/4/designation",
"decisions_href": "/api/v1/user_identities/1/decisions",
"decision": {
"id": 43,
"name": "Matriculated"
},
"local_status": null
}
Errors
Response Example
HTTP/1.1 422 Unprocessable Entity
{
"errors": {
"schema": [
"The property '#/designation/decision_id' of type String did not match the following type: integer"
]
}
}
The request body did not match the expected request schema. Please check your parameters and try again.
HTTP/1.1 422 Unprocessable Entity
{
"errors": {
"decision_id": [
"Can't set the decision_id when the local_status is not null"
]
}
}
You'll get this error when you're trying to set a decision_id to a designation which already has a local status assigned. If you want to be able to force the decision_id please contact Liaison to turn on the "Disassociate Decision Codes from Local Status" feature which will allow you to set the decision even if the local_status is present.
Not Found
Response Example
HTTP/1.1 404 Not Found
{
"message": "Not Found"
}
While 404 Not Found is most often associated with resources that don't exist when making a GET request, please note that 404 Not Found is also the response during POST, PUT, and PATCH requests if any resources specified by parameters cannot be found.
Unauthorized
Response Example
HTTP/1.1 401 Unauthorized
(Empty response body.)