| POST | /api/v1/users/customerReader |
|---|
export class PostCreateCustomerReaderResponse
{
public userId: string;
public responseStatus: ResponseStatus;
public constructor(init?: Partial<PostCreateCustomerReaderResponse>) { (Object as any).assign(this, init); }
}
export class PostCreateCustomerReader 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<PostCreateCustomerReader>) { (Object as any).assign(this, init); }
}
TypeScript PostCreateCustomerReader DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/v1/users/customerReader HTTP/1.1
Host: faabrechnungen-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"}}}