Server

<back to all web services

PostCreateCustomerEditor

Users
Requires Authentication
The following routes are available for this service:
POST/api/v1/users/customerEditor

export class PostCreateCustomerEditorResponse
{
    public userId: string;
    public responseStatus: ResponseStatus;

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

export class PostCreateCustomerEditor implements IHasBearerToken
{
    // @ApiMember(IsRequired=true, ParameterType="body")
    public bearerToken: string;

    // @ApiMember(IsRequired=true, ParameterType="body")
    public email: string;

    // @ApiMember(IsRequired=true, ParameterType="body")
    public customerGuid: string;

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

TypeScript PostCreateCustomerEditor 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.

POST /api/v1/users/customerEditor HTTP/1.1 
Host: stoetzer-servdesk.eras-online.de 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"bearerToken":"String","email":"String","customerGuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"userId":"String","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}