C# Class WorldSurveyKit.Controllers.OrgUserMappingController

Inheritance: ApiController
Afficher le fichier Open project: ntheile/World-Survey-Kit

Méthodes publiques

Méthode Description
DeleteOrgUserMappings ( int id ) : HttpResponseMessage

DELETE's a user from an org by passing in the id primary key from the OrgUserMapping Table

GetOrgUserMappings ( int id ) : HttpResponseMessage

GET's all the users from the orgID that is passed in

PostOrgUserMappings ( OrgUserMappings orgusermappings ) : HttpResponseMessage

CREATE's a new user for an org

PutOrgUserMappings ( int id, Delta orgusermappings ) : HttpResponseMessage

UPDATES a user by his OrgUserMapping Id that is passed in. You could use this api to make a user an admin. Can be used for partial updates

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

DeleteOrgUserMappings() public méthode

DELETE's a user from an org by passing in the id primary key from the OrgUserMapping Table
public DeleteOrgUserMappings ( int id ) : HttpResponseMessage
id int
Résultat System.Net.Http.HttpResponseMessage

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetOrgUserMappings() public méthode

GET's all the users from the orgID that is passed in
public GetOrgUserMappings ( int id ) : HttpResponseMessage
id int
Résultat System.Net.Http.HttpResponseMessage

PostOrgUserMappings() public méthode

CREATE's a new user for an org
public PostOrgUserMappings ( OrgUserMappings orgusermappings ) : HttpResponseMessage
orgusermappings WorldSurveyKit.Models.OrgUserMappings
Résultat System.Net.Http.HttpResponseMessage

PutOrgUserMappings() public méthode

UPDATES a user by his OrgUserMapping Id that is passed in. You could use this api to make a user an admin. Can be used for partial updates
public PutOrgUserMappings ( int id, Delta orgusermappings ) : HttpResponseMessage
id int
orgusermappings Delta
Résultat System.Net.Http.HttpResponseMessage