Requires any of the roles: | User, SupplierAdmin |
GET | /tender/{tenderid}/user/{userid}/round/{tenderroundid}/question |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Portal.ServiceDto
Namespace Global
Namespace Portal.ServiceDto
Public Partial Class BrowseAllQuestionFile
Inherits TenderUserTenderRoundBase
Implements IGet
End Class
Public Partial Class BrowseAllQuestionResponse
Inherits ResponseBase
Public Sub New()
QuestionFiles = New List(Of QuestionFileDetails)
End Sub
Public Overridable Property QuestionFiles As List(Of QuestionFileDetails)
End Class
Public Partial Class BrowseFileResponseBase
Public Overridable Property Id As Integer
Public Overridable Property FileContentId As Integer
Public Overridable Property FileName As String
Public Overridable Property Size As Long
End Class
Public Partial Class QuestionFileDetails
Inherits BrowseFileResponseBase
Public Overridable Property TenderUserTenderRoundId As Integer
Public Overridable Property SubmittedById As Nullable(Of Integer)
Public Overridable Property SubmissionDateTime As Nullable(Of Date)
Public Overridable Property IsSubmitted As Boolean
End Class
Public Partial Class ResponseBase
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class TenderUserTenderRoundBase
Public Overridable Property TenderId As Integer
Public Overridable Property UserId As Integer
Public Overridable Property TenderRoundId As Integer
End Class
End Namespace
End Namespace
VB.NET BrowseAllQuestionFile DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tender/{tenderid}/user/{userid}/round/{tenderroundid}/question HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"QuestionFiles":[{"TenderUserTenderRoundId":0,"SubmittedById":0,"SubmissionDateTime":"0001-01-01T00:00:00.0000000","IsSubmitted":false,"Id":0,"FileContentId":0,"FileName":"String","Size":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}