StudentMarketings

APIDescription
POST api/StudentMarketings/PostStudentMarketing

Post many to many studentmarketing

Product

APIDescription
GET api/Product/GetProducts

Gets list of all products

GET api/Product/GetProduct?productId={productId}

Gets product by productId

Student

APIDescription
GET api/Student/GetStudents?franchiseeId={franchiseeId}

Gets list of franchisees students

GET api/Student/GetStudent?studentId={studentId}&franchiseeId={franchiseeId}

Gets single student by id

POST api/Student/PostStudent

Creates a new student

Franchisee

APIDescription
GET api/Franchisee/GetFranchisee?email={email}

Gets franchisee by email

GET api/Franchisee/GetFranchisee?FranchiseeId={FranchiseeId}

Returns a Franchisee object

Marketings

APIDescription
GET api/Marketings/GetMarketings

Gets list of marketings

Enrolment

APIDescription
GET api/Enrolment/GetEnrolements?franchiseeId={franchiseeId}

Gets list of enrolements for franchisee

GET api/Enrolment/GetEnrolement?enrolementId={enrolementId}&franchiseeId={franchiseeId}

Gets enrolement by id

POST api/Enrolment/PostEnrolement

Creates an enrolement

Venues

APIDescription
GET api/Venues/GetActiveVenuesByFranchisee?franchiseeId={franchiseeId}

Get all active venues for franchisee

GET api/Venues/GetActiveVenuesByCountry?countryId={countryId}

Get all active venues for country

GET api/Venues/GetActiveVenuesByState?stateId={stateId}

Get all active venues for state

GET api/Venues/GetActiveVenues

Get all active venues

Term

APIDescription
GET api/Term/GetTerms?franchiseeId={franchiseeId}

Gets terms given FranchiseeId

GET api/Term/GetTerm?termId={termId}&franchiseeId={franchiseeId}

Gets a term given termId

Program

APIDescription
GET api/Program/GetProgramsByVenueTerm?venueId={venueId}&termId={termId}

Lists all programs for a venue and term

GET api/Program/GetProgram?programId={programId}&franchiseeId={franchiseeId}

Returns a program given a programId

State

APIDescription
GET api/State/GetStates

Returns a list of states for Australia and New Zealand including country object

Country

APIDescription
GET api/Country/GetCountries

Returns a list of countries including state objects