Portal

<back to all web services

EditUser

Requires Authentication
The following routes are available for this service:
PUT/user/{userid}

export class ResponseBase
{
    public ResponseStatus: ResponseStatus;

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

export class ModifyEntityResponse extends ResponseBase
{
    public Id: number;

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

export class EditUser implements IPut
{
    public UserId: number;
    public PhoneNumber: string;
    public DisplayName: string;
    public PhoneNumberExtension?: string;
    public PhoneNumberCountryCodeId?: number;
    public MobilePhoneNumber?: string;
    public MobilePhoneNumberCountryCodeId?: number;
    public OrganizationUnit: string;
    public Position: string;

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

TypeScript EditUser DTOs

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

HTTP + CSV

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

PUT /user/{userid} HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"UserId":0,"PhoneNumber":"String","DisplayName":"String","PhoneNumberExtension":"String","PhoneNumberCountryCodeId":0,"MobilePhoneNumber":"String","MobilePhoneNumberCountryCodeId":0,"OrganizationUnit":"String","Position":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Id":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}