C# Class Foretagsplatsen.Api.Resources.CompanyAgencyUserResource

Rest resource for agency users attached to a company https://web.foretagsplatsen.se/Api/Company/{businessIdentityCode}/AgencyUser/{username}/
Afficher le fichier Open project: foretagsplatsen/Foretagsplatsen-DotNet-API

Méthodes publiques

Méthode Description
Attach ( string username ) : void

Attach a detached agency user to a company

CompanyAgencyUserResource ( ApiClient apiClient, CompanyInfo company ) : System
Detach ( string username ) : void

Detach an attached agency user from a company

Get ( string username ) : UserInfo

Get an agency user that is attached to a company

List ( ) : List

Get a list of agency users attached to a company

Private Methods

Méthode Description
GetCollectionUrl ( ) : string

Url for the companys' agency user collection resource

GetCompanyAgencyUserUrl ( string username ) : string

Url for the companys' agency user resource

Method Details

Attach() public méthode

Attach a detached agency user to a company
public Attach ( string username ) : void
username string
Résultat void

CompanyAgencyUserResource() public méthode

public CompanyAgencyUserResource ( ApiClient apiClient, CompanyInfo company ) : System
apiClient ApiClient
company Foretagsplatsen.Api.Entities.CompanyInfo
Résultat System

Detach() public méthode

Detach an attached agency user from a company
public Detach ( string username ) : void
username string username to detach
Résultat void

Get() public méthode

Get an agency user that is attached to a company
public Get ( string username ) : UserInfo
username string username of the agency user to get
Résultat Foretagsplatsen.Api.Entities.UserInfo

List() public méthode

Get a list of agency users attached to a company
public List ( ) : List
Résultat List