GameCenter Web Api

<back to all web services

SearchOpponentsByStateAndLetterAndSchoolAndLevel

The following routes are available for this service:
GET/search/opponents/{teamId}/states/{stateCode}/schools/{letter}/teams/{schoolId}/Levels

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/SearchOpponentsByStateAndLetterAndSchoolAndLevel HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/json
Content-Length: length

{"level":"String","letter":"String","schoolId":0,"stateCode":"String","teamId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Results":{"Nodes":[{"Detail":"String","Disclosure":false,"Identifier":0,"IsTeamResult":false,"Reason":"String","Selector":"String","TeamAcronym":"String","TeamName":"String","TeamSeasonId":0,"Title":"String","Url":"String"}],"SearchBarWatermark":"String","Title":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}