BNSOnWebPlugin/DigitalDataBNSPlugin/Libraries/Windream/typings/Windream.WebService.Annotations.d.ts
2023-06-15 09:52:03 +02:00

60 lines
1.3 KiB
TypeScript

import
{
ResponseContainerDTO,
IdLocationNameIdentityDTO,
IdLocationNameIdentityResponseDTO
} from "./Windream.WebService";
export interface IAnnotationsControllerDTO
{
GetAnnotations(parameter: GetAnnotationsDTO): GetAnnotationsResponseContainerDTO;
Create(parameter: CreateAnnotationDTO): CreateAnnotationResponseContainerDTO;
}
export interface AnnotationContentDTO
{
Title: String;
Text: String;
}
export interface AnnotationDTO extends AnnotationContentDTO
{
CreationDate: String;
Creator: String;
CreatedByRequestingUser: Boolean;
Id: number;
}
export interface AnnotationResponseDTO
{
CreationDate: String;
Creator: String;
CreatedByRequestingUser: Boolean;
Id: number;
Title: String;
Text: String;
}
export interface CreateAnnotationDTO
{
Item: IdLocationNameIdentityDTO;
Annotation: AnnotationContentDTO;
}
export interface CreateAnnotationResponseContainerDTO extends ResponseContainerDTO
{
Annotation: AnnotationResponseDTO;
Item: IdLocationNameIdentityResponseDTO;
}
export interface GetAnnotationsDTO
{
Item: IdLocationNameIdentityDTO;
}
export interface GetAnnotationsResponseContainerDTO extends ResponseContainerDTO
{
Annotations: AnnotationResponseDTO[];
Item: IdLocationNameIdentityResponseDTO;
}