GameCenter Web Api

<back to all web services

GetSchoolsByConference

The following routes are available for this service:
GET/conferences/{ConferenceId}/school/{sport}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetSchoolsByConference HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/json
Content-Length: length

{"conferenceId":0,"sport":"Football"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Schools":[{"SchoolId":0,"SchoolName":"String","SchoolMascot":"String","Description":"String","CreatedOn":"String","UpdatedOn":"String","State":"String","Conference":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}