IS_ON_CAMPUS

Returns a value of 'Y' if the internet address supplied is a BYU On Campus Address.

More information: https://it.byu.edu
Contact Info: api@byu.edu

Base URL: /domains/erp/sa/is_on_campus

Version: v1

Default response content-types: application/json
Schemes: https

Summary

Path Operation Description
/{internet_address} GET

Paths

GET /{internet_address}

internet_address

Internet Address

path string

Uses default content-types: application/json

200 OK

Service request is OK and a response has been generated.

Example for application/json
{
"internet_address_check": {
"internet_address": "128.187.3.3",
"on_campus_address": "Y"
}
}
400 Bad Request

There appears to be a syntax error in the composition of the service request. The response structure may contain information about the error.

Example for application/json
{
"internet_address_check": {
"error": "invalid internet address",
"internet_address": "128.187.3."
}
}

Schema definitions

error: string , x ∈ { invalid internet address }

internet_address: object

value: string , must match ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$

internet_address_check: object

on_campus_address: on_campus_address
internet_address: internet_address
error: error

on_campus_address: string , x ∈ { N , Y }

response: object[]

Service Path: 
/domains/erp/sa/is_on_campus
Domain or University API: 
/domains/erp/sa/is_on_campus

Community

 

Don't see your question listed here? Ask!