AIM Web Services

<back to all web services

GetSchedulingTypesRequest

GetSchedulingTypes
Requires active-e Lesson Scheduling Service

The following routes are available for this service:
GET/api/GetSchedulingTypes
GetSchedulingTypesRequest Parameters:
NameParameterData TypeRequiredDescription
TypeIdqueryintegerNoType ID to look up. If sent, all other parameters will be ignored.
GroupingIdqueryintegerNoIf sent, only types in the sent grouping will be returned.
InstructorIdqueryintegerNoIf sent, only types taught by the sent instructor will be returned.
LocationIdqueryintegerNoIf sent, only types taught at the sent location will be returned.
MembershipTypequeryintegerNoIf sent, should be Private or Group. If Private, only Private Lesson Types will be returned. If Group, only Group Lesson Types will be returned.
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
GetSchedulingTypesResponse Parameters:
NameParameterData TypeRequiredDescription
TypesformList<TypeInfo>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
TypeInfo Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DescformstringNo
LengthformintNo
TopicformstringNo
RecurranceTypeformstringNo
MembershipTypeformstringNo
RateformdecimalNo
GroupingIdformlong?No
GroupingDescformstringNo

To override the Content-type in your clients, use the 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.

GET /api/GetSchedulingTypes HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Types":[{"Id":0,"Desc":"String","Length":0,"Topic":"String","RecurranceType":"String","MembershipType":"String","Rate":0,"GroupingId":0,"GroupingDesc":"String"}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}