GET | /supplementary/{supplementaryid} |
---|
export class ResponseBase
{
public ResponseStatus: ResponseStatus;
public constructor(init?: Partial<ResponseBase>) { (Object as any).assign(this, init); }
}
export class SupplementarySimple
{
public Id: number;
public TenderUserTenderRoundId: number;
public IsViewed: boolean;
public ViewingDateTime?: string;
public IsSubmitted: boolean;
public SubmissionDateTime?: string;
public constructor(init?: Partial<SupplementarySimple>) { (Object as any).assign(this, init); }
}
export class BrowseFileResponseBase
{
public Id: number;
public FileContentId: number;
public FileName: string;
public Size: number;
public constructor(init?: Partial<BrowseFileResponseBase>) { (Object as any).assign(this, init); }
}
export enum SupplementaryFileDirection
{
Request = 0,
Response = 1,
}
export class SupplementaryFileDetails extends BrowseFileResponseBase
{
public SupplementaryId: number;
public SupplementaryDocumentTypeId: number;
public SupplementaryDocumentType: string;
public Direction: SupplementaryFileDirection;
public constructor(init?: Partial<SupplementaryFileDetails>) { super(init); (Object as any).assign(this, init); }
}
export class SupplementaryDetails extends SupplementarySimple
{
public TenderId: number;
public TenderUserId: number;
public UserId: number;
public TenderRoundId: number;
public ViewedById?: number;
public SubmittedById?: number;
public Meta: { [index: string]: string; };
public SupplementaryFiles: SupplementaryFileDetails[];
public constructor(init?: Partial<SupplementaryDetails>) { super(init); (Object as any).assign(this, init); }
}
export class BrowseSupplementaryResponse extends ResponseBase
{
public Supplementary: SupplementaryDetails;
public constructor(init?: Partial<BrowseSupplementaryResponse>) { super(init); (Object as any).assign(this, init); }
}
export class BrowseSupplementaryByVeoliaAdmin implements IGet
{
public SupplementaryId: number;
public constructor(init?: Partial<BrowseSupplementaryByVeoliaAdmin>) { (Object as any).assign(this, init); }
}
TypeScript BrowseSupplementaryByVeoliaAdmin DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /supplementary/{supplementaryid} HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Supplementary":{"TenderId":0,"TenderUserId":0,"UserId":0,"TenderRoundId":0,"ViewedById":0,"SubmittedById":0,"Meta":{"String":"String"},"SupplementaryFiles":[{"SupplementaryId":0,"SupplementaryDocumentTypeId":0,"SupplementaryDocumentType":"String","Direction":0,"Id":0,"FileContentId":0,"FileName":"String","Size":0}],"Id":0,"TenderUserTenderRoundId":0,"IsViewed":false,"ViewingDateTime":"0001-01-01T00:00:00.0000000","IsSubmitted":false,"SubmissionDateTime":"0001-01-01T00:00:00.0000000"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}