Portal

<back to all web services

BrowseSupplierAllUser

The following routes are available for this service:
GET/supplier/{supplierid}/user

export class ResponseBase
{
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<ResponseBase>) { (Object as any).assign(this, init); }
}

export enum ApplicationUserStatus
{
    Registered = 0,
    ConfirmedByUser = 1,
    SupplierUserRegistered = 2,
    AwaitingSupplierConfirmation = 3,
    AwaitingVeoliaConfirmation = 4,
    Active = 5,
    Rejected = 6,
    Deleted = 7,
}

export class UserSimple
{
    public Id: number;
    public Email: string;
    public DisplayName: string;
    public MobilePhoneNumber: string;
    public MobilePhoneNumberCountryCode: string;
    public PhoneNumber: string;
    public PhoneNumberCountryCode: string;
    public PhoneNumberExtension: string;
    public OrganizationUnit: string;
    public Position: string;
    public Role: string;
    public Status: ApplicationUserStatus;

    public constructor(init?: Partial<UserSimple>) { (Object as any).assign(this, init); }
}

export class BrowseSupplierAllUserResponse extends ResponseBase
{
    public Users: UserSimple[];

    public constructor(init?: Partial<BrowseSupplierAllUserResponse>) { super(init); (Object as any).assign(this, init); }
}

export class BrowseSupplierAllUser implements IGet
{
    public SupplierId: number;

    public constructor(init?: Partial<BrowseSupplierAllUser>) { (Object as any).assign(this, init); }
}

TypeScript BrowseSupplierAllUser DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /supplier/{supplierid}/user HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Users":[{"Id":0,"Email":"String","DisplayName":"String","MobilePhoneNumber":"String","MobilePhoneNumberCountryCode":"String","PhoneNumber":"String","PhoneNumberCountryCode":"String","PhoneNumberExtension":"String","OrganizationUnit":"String","Position":"String","Role":"String","Status":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}